/spotter-app

Simple Sinatra app built on top of the Foodspotting API

Primary LanguageRuby

Foodspotting Simple Spotter

Introduction

This is a Sinatra application that will authenticate, view and post sightings to Foodspotting using the v1 rest API

Get familiar with the Foodspotting v1 API documentation

http://www.foodspotting.com/api

Usage

Register your application to get an API Key

http://www.foodspotting.com/clients/new

Sinatra application url: http://localhost:4567
Sinatra callback url: http://localhost:4567/callback

Add your API key & secret to simple_spotter.rb

API_KEY = '<YOUR_KEY>'
API_SECRET = '<YOUR_SECRET>'

Install Sinatra

sudo gem install sinatra

Run the sinatra app

ruby simple_spotter.rb

Open http://localhost:4567 in your favorite browser

Credits

Built by the amazing Kim Ahlström (@kimtaro)