Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple Sinatra app built on top of the Foodspotting API
branch: master

This branch is even with Foodspotting:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
views
README.md
simple_spotter.rb

README.md

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)

Something went wrong with that request. Please try again.