Pew is a simple, lightweight Python wrapper for the EVE Online API.
Install from https://github.com/crsmithdev/Pew
- Be simple to use and extend
- Provide easy object access to API results
- Import Pew:
from pew import Pew
- Instantiate with your API id / API key:
pew = Pew(12345, 'abcdefg')
- Call an API method:
result = pew.acct_characters()
- Use the returned API object:
for c in result.characters:
print '[%s] %s' % (c.characterID, c.name)
- Some tests may not pass depending on the credentials you provide, their permissions and other factors (e.g., being in an NPC corp will cause most corp tests to fail).