Project

skittles

0.02
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
A Ruby implementation of the Foursquare v2 REST API. This library implements the Foursquare v2 API and the Foursquare Venues Project (beta) endpoints.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0

Runtime

~> 1.2.0
~> 1.17.2
~> 0.5.1
~> 1.1.0
 Project Readme

Skittles endorse

A Ruby implementation of the Foursquare v2 REST API.

Documentation

You can view detailed documentation of this library at http://rdoc.info/github/anthonator/skittles. We try to make sure that our documentation is up-to-date and thorough. However, we do recommend keeping the Foursquare developer documentation handy.

If you find a discrepency in our documentation please file an issue.

Usage

require 'rubygems'
require 'skittles'
  
Skittles.configure do |config|
  config.client_id     = '...'
  config.client_secret = '...'
  config.access_token  = '...'
end
  
begin
  Skittles.venue('211152')
rescue Skittles::Error => e
  puts "You recieved the #{e.type} error and a status code of #{e.code} which means #{e.detail}."
end