REST API v1

This version of the API is deprecated. Please use the current version of the API.

Format: JSON

All responses will be in JSON format. All api calls should take the format api.localtunity.com/v1/[resource]

Access Token In order to make authorized calls to Localtunity’s API, your application must first obtain an OAuth access token

Resource Description
POST token Returns an access token used to make authorized calls to the Localtunity API.

Businesses All businesses in the localtunity network. Location information included.

Resource Description
GET businesses Returns every business in the localtunity network. Relevent location information can be extracted from each business.
GET businesses/:id Returns a single business in the localtunity network with id equal to the ID parameter.
GET categories Returns a list of available business categories.
POST businesses Creates a business in the localtunity network.
PUT businesses/:id Updates a single business in the localtunity network with id equal to the ID parameter.
POST businesses/:id/upload-image Special endpoint that handles uploading images for businesses.
POST businesses/:id/reviews Allows for a consumer to post a review for a business.