README.rdoc in foursquare-0.3.0 vs README.rdoc in foursquare-0.3.1
- old
+ new
@@ -33,12 +33,12 @@
oauth.authorize_from_access(access_token, access_secret)
foursquare = Foursquare::Base.new(oauth)
foursquare.test
- foursquare.venues :geolat => geolat, :geolong => geolong, :limit => 10, :q => 'pizza'
- foursquare.tips :geolat => geolat, :geolong => geolong, :limit => 10
+ foursquare.venues :geolat => geolat, :geolong => geolong, :l => 10, :q => 'pizza'
+ foursquare.tips :geolat => geolat, :geolong => geolong, :l => 10
foursquare.checkins :geolat => geolat, :geolong => geolong
checkin = {
:vid => vid,
:shout => "this is what i'm up to",
@@ -65,11 +65,11 @@
new_checkin.class
=> Hashie::Mash
new_checkin
=> {:checkin => {...}}
- foursquare.history :limit => 10
- foursquare.api(:history, :limit => 10).checkins
+ foursquare.history :l => 10
+ foursquare.api(:history, :l => 10).checkins
foursquare.user :uid => user_id :badges => 0
foursquare.user # currently authenticated user
foursquare.friends :uid => 99999
foursquare.venue :vid => venue_id
foursquare.addvenue :name => name, :address => address, :city => city, ...
\ No newline at end of file