Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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