| Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Kaska102
Caldari
|
Posted - 2008.01.22 19:01:00 -
[1]
Edited by: Kaska102 on 22/01/2008 19:09:56 Kryik and I have been working on a new project to help speed up the development of applications using the EVE API. To that end we've created an EVE API Library using C# that does almost everything for you. Caching is handled inside the library so your application doesn't have to worry about hitting the EVE Servers too much. Also no XML knowledge is needed in order to retrieve the data stored.
API keys are not stored, and when used for caching they are hashed, so the data can not be retrieved. The library currently supports ALL api calls, even the portraits.
The code is open source and available here: http://code.google.com/p/libeveapi/
An example piece of code to get the character list:
CharacterList characterList = EveApi.GetAccountCharacters(userid, "apiKey"); foreach (CharacterListItem character in characterList.CharacterListItems) { string characterName = character.Name; int characterId = character.CharacterId; int corporationId = character.CorporationId; string corporationName = character.CorporationName; }
Feel free to post comments or questions here or on the google code page. Thanks everyone and I hope you all find this useful. Also a special thanks to everyone who worked on the EVE Dev wiki page, as that had invaluable information on it that we used to help construct the library.
|

Kaska102
Caldari
|
Posted - 2008.01.24 05:39:00 -
[2]
I don't have a non-English locale version of windows sitting around, what's the problem that comes up?
|

Kaska102
Caldari
|
Posted - 2008.01.26 06:30:00 -
[3]
Version 1.0.2 Has been released. Please see the changelog here: Changelog
The API can now act as a mini datastore, by serving up the old cached data if a network connection is not available.
As a reminder, with the API you DO NOT have to worry about the EVE API server caching rules, or deal with any XML processing yourself.
Only 1 dll file is needed, and it comes in at a small 76kb!
|

Kaska102
Caldari
|
Posted - 2008.01.27 07:00:00 -
[4]
New version 1.1 has been released tonight!
Changes with the new version: * All public member variables have been replaced with properties.
As always let us know if you would like to see any more features or find any bugs.
|

Kaska102
Caldari
|
Posted - 2008.01.28 20:15:00 -
[5]
Edited by: Kaska102 on 28/01/2008 20:15:28 We've fixed the localization issues, a new version will be released tonight.
|

Kaska102
Caldari
|
Posted - 2008.01.29 00:53:00 -
[6]
New version 1.1.1 is out which includes a fix for the localization issue.
We have also created a future plans page on the wiki, which can be found here.
|

Kaska102
Caldari
|
Posted - 2008.02.01 04:52:00 -
[7]
Yeah go ahead and send us a diff. Our emails are on the google code site.
|

Kaska102
Caldari
|
Posted - 2008.02.03 05:35:00 -
[8]
Edited by: Kaska102 on 03/02/2008 05:36:01 I just wanted to reply back real fast with the gpl vs lgpl comment. The reason we selected the GPL over lGPL license was for a couple reasons. We put a lot of time and hard work into the library so that other people could use it for their projects to help the community out. We aren't asking for money or isk or anything else for people to use the project, it was for the community. We fear that if it was lGPL people would take advantage of this generosity and create pay-for programs that use the library, which we don't feel would be beneficial to the community, and would take advantage of our work. Also the eve data export forbids being used in a commercial application (pay-for), so I don't see many people being able to make a good program without that data.
Also these programs use the FULL api key, many times, which can contain a lot of data, especially for a ceo or director. I know any program I want to use I want to be able to look through the code of the program and see what is happening with my key. With the library we take steps to encode the key and we don't send it anywhere else, and people can check that out for themselves.
Also on a more personal note, I love playing with code, I think it's one of the best ways to learn. Also if a program doesn't work just how you want it to you can easily take the code and make that one slight modification to it. I think its great for the community also because other people can add new features and additions to it easily. Many people here have suggested code changes to the library, and since it's open source the code changes can be easily made by then and then sent to us as diff's, or they can make the changes in their version of the library and keep it for their program.
Edit: Also.. Glad it works on mono/OSX, I hadn't gotten a chance to test it on my MBP yet.
|

Kaska102
Caldari
|
Posted - 2008.03.08 21:21:00 -
[9]
Just a quick bump for anyone looking for a C# library.
|
| |
|