public
Created

pyfoursquare API

  • Download Gist
pyfoursquare.py
Python
1 2 3 4 5 6 7 8 9 10 11
#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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.