Created
December 22, 2011 04:07
pyfoursquare API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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