No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
Gemfile
README.rdoc
sayso-api-client.gemspec

README.rdoc

SaySo API Client

Ruby gem to use the full SaySo API. Currently the SaySo API is closed and for partner use only. To request an API key please contact us at team@truvolabs.com.

For more info see:

Please read the full API documentation before using!

Install

Use the gem.

gem install sayso-api-client

Use in your Gemfile:

gem 'sayso-api-client', :require => 'sayso'

Usage

require 'sayso'
sayso = Sayso.new(:consumer_key => 'your_key', :consumer_secret => 'your_secret')
sayso.get("/places/search?what=restaurant&where=antwerpen")
sayso.get("/places/search", :what => 'restaurant', :where => 'antwerpen')
sayso.authorize_url # go here (=> "http://api.sayso.com/api1/oauth/authorize?oauth_token=some_token_hash")
sayso.authorize_access_token('verifier')
sayso.get("/users/current")

TODO

  • Tests

Please feel free to contribute and send me a pull request via Github!

Copyright © 2011 Joost Hietbrink, released under the MIT license