Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 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

Something went wrong with that request. Please try again.