July 03, 2006
New: Python API client library
We've just released a Python client library for our API. Here's how to use it:
import evdb
api = evdb.API('your API key here')
# If you need to log in:
# api.login('username', 'password')
events = api.call('/events/search', q='music', l='San Diego')
for event in events['events']['event']:
print "%s at %s" % (event['title'], event['venue_name'])
evdb.py requires simplejson and httplib2. If you have them installed, a simple python setup.py install should do the trick.
Share and Enjoy!
Posted by ted at July 3, 2006 02:10 PM
Post a comment
Thanks for signing in,
.
Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)