django-eve-proxy

An EVE API proxy Django app
Download

django-eve-proxy Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Price:
  • FREE
  • Publisher Name:
  • Gregory Taylor
  • Publisher web site:
  • http://code.google.com/u/squishywaffle/

django-eve-proxy Tags


django-eve-proxy Description

An EVE API proxy Django app django-eve-proxy is a Django plugin that allows you to host an EVE API proxy that is open to web requests or internal requests programatically. Honors EVE API cache expiration intervals and updates as needed (which means you don't have to worry about stuff like cachedUntil).Example Python Access # Query with no parameters. cached_doc = CachedDocument.objects.api_query('/eve/ErrorList.xml.aspx', params=None) # Print the results from EVE API as a string. print cached_doc.body # A query with parameters. cached_doc = CachedDocument.objects.api_query('/account/Characters.xml.aspx', params={ 'apiKey': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'userID': 'xxxxxxx' }) # Print the results from EVE API as a string. print cached_doc.bodyInstallation:To install, download the release from the Downloads section, run setup.py install as with any Python package, and add eve_proxy to your setting.py INSTALLED_APPS tuple. For those what would like to expose the HTTP proxy, you'll need to add an entry to your urls.py that points to eve_proxy.urls. Requirements: · Django · Python


django-eve-proxy Related Software