Skip to content

Instantly share code, notes, and snippets.

@marcelcaraciolo
Created December 22, 2011 04:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelcaraciolo/1508884 to your computer and use it in GitHub Desktop.
Save marcelcaraciolo/1508884 to your computer and use it in GitHub Desktop.
pyfoursquare API
#Now let's create an API
api = foursquare.API(auth)
#Now you can access the Foursquare API!
result = api.venues_search(query='Burburinho', ll='-8.063542,-34.872891')
#You can acess as a Model
print dir(result[0])
#Access all its attributes
print result[0].name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment