|
Author |
Thread Statistics | Show CCP posts - 9 post(s) |
Jaabaa
Minmatar Dental Drilling Corporation
|
Posted - 2007.06.22 20:56:00 -
[1]
OK, this is driving me nuts.
The userID is correct. the apiKey is correct.
The Java code:
Quote:
String url = "http://api.eve-online.com/account/Characters.xml.aspx" conn = open(url); .. .. .. conn.setRequestMethod(HttpConnection.POST); // Content-Type for POST to pass parameters conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded"); String data = URLEncode(params.trim()); System.out.println("ENC data = "+data); /*userID=xxxxxx&apiKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ OutputStreamWriter os = new OutputStreamWriter(conn.openOutputStream()); os.write(data); os.flush(); os.close();
Does what it should.
But all I get is "203: Authentication failure."
Using the exact same values in a minin HTML page works, so what gives ??
Am I missing something here ? |
Jaabaa
Minmatar Dental Drilling Corporation
|
Posted - 2007.06.25 00:10:00 -
[2]
Edited by: Jaabaa on 25/06/2007 00:13:07 My security issues with the new API.
1) The Wallet.
Why bother adding "/char/AccountBalance.xml.aspx" which requires the Full API Key, when you can get this with the limited key in "/char/CharacterSheet.xml.aspx" as taken from the example <balance>190210393.87</balance> ? Surely this is not anyone else's business.
2) The characters list.
The characters on an account "/account/Characters.xml.aspx" should only be accessible with the full key. It might even be a better idea to have a limited key per character, so that people can't guess at (and confirm) your alts on an account. |
Jaabaa
Minmatar Dental Drilling Corporation
|
Posted - 2007.07.08 14:54:00 -
[3]
Request for API extension:
I've started working on a Mobile Manager that uses the API for member tracking, etc.
Most of the code is there now, but now I'm Out Of Memory Exceptions, when trying to get journal and transactions.
The memory available on a mobile phone is very limited, so would it be possible to add and optional "maxRefs/limit" so that if you only want 100 entries you can set it (maxRefs=100 / limit=100), allowing the application to call the API more often to walk through the journal/transactions in block of 100. |
Jaabaa
Minmatar Dental Drilling Corporation
|
Posted - 2007.07.08 18:32:00 -
[4]
Originally by: Momfer Undersand
Example the Full Skill Database guzzles away a massive 150Kb on the Persistent storage engine (RMS) (Tiny on PC's Massive on mobile devices) Irony is that you need to download 230Kb but o well. :)
I hard coded all the skills and don't have them in RMS. I do the download on my PC and generate the skills.
And I don't have a problem with performance, only with memory, when the lists are too long. -- Jaabaa - CEO - Dental Drilling Corporation |
Jaabaa
Minmatar Dental Drilling Corporation
|
Posted - 2007.08.11 15:07:00 -
[5]
Originally by: Asura Siddartha I think I read the entire thread, but I may have missed it, and I apologize if I did...
Anyone else get bad character stats?
From both the API and clicking on the 'XML DATA' link in the myeve.eve-online character sheet, I get:
<attributes> <intelligence>9</intelligence> <memory>8</memory> <charisma>8</charisma> <perception>8</perception> <willpower>6</willpower> </attributes>
In-game and from the myeve.eve-online skilltree.asp page (and in EVEMON too!) I get the correct values of 18,17,8,18,15
Anyone know how to get the real values?
Those are your character's base values. You have to add your learning skill bonuses and any implants you may have to these values to get what you see in EVE. |
|
|
|