Cataloguing businesses with policies against Google Glass.
Ruby CSS JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec/models
test/unit
vendor/assets
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
TODO.txt
bower.json
config.ru
karma.conf.js
package.json

README.md

Deglassified

Cataloguing businesses with policies against Google Glass.

API Spec

List locations (Cities)

GET /api/locations

List businesses

GET /api/locations/{location_slug}

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

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.