Eveapwhy Python package
From EVEDev
[edit] What is it?
eveapwhy is a very easy to use python wrapper around the Eve API. Put simply it takes care of the http connections, and XML parsing so you can concentrate on making your next Eve app a great one!
To find out more please visit the eveapwhy project pages hosted on google code, you can find it here.
[edit] Quick example
To give you an idea of how simple eveapwhy is, the code below fetches a characters Wallet transactions, checks for 'buy' transactions, gets the price, and finally prints out the total:
import eveapwhy as api userId = 111111 characterID = 1111111111 apiKey = 11111111111111111111111 total = 0 transactions = api.char.WalletTransactions(userID, characterID, apiKey) for transaction in transactions: if transaction["transactionType"] == "buy": total += (int(transaction["price"] * int(transaction["quantity"])) print total
As you can see the modules and method names match the API, so finding your way around will be a breeze.
--Kanod 21:59, 8 January 2008 (CST)

