Skip to content

Commit

Permalink
Update API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Sullivan committed Mar 9, 2014
1 parent 6887dfe commit ba51c39
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions README.md
Expand Up @@ -14,19 +14,9 @@ Cataloguing businesses with policies against Google Glass.

All businesses for that location will be returned inside a `businesses` array.

#### Find businesses near latlng coords (yet to be implemented)
#### Find businesses near latlng coords

`GET /api/businesses?lat={latitude}&lng={longitude}&radius={radius_in_meters}`

Return all businesses within a search radius. Lat and lng are required, radius defaults to 1000 meters if omitted. Results are sorted by distance from specified lat/lng.

#### Create a business

`POST /api/businesses`

#### Create an account

#### Signing in

#### Signing out

0 comments on commit ba51c39

Please sign in to comment.