Pages: 1 2 3 4 5 6 7 8 9 10 11 12 .. 12 :: [one page] |
|
Author |
Thread Statistics | Show CCP posts - 9 post(s) |
TornSoul
BIG BIG is Beautiful
|
Posted - 2007.06.16 16:34:00 -
[1]
Edited by: TornSoul on 16/06/2007 16:46:29
Hmm not a single post on this yet - or did I miss it?
Handy link : EVE API Documentation Index (I assume it will be added to the left menu at sometime)
=====
Could you update the doc pages with the corresponding example input params for the listed output examples (should kill a few questions)
=====
EVE API - Journal Data
Could we please have a "afterRefID" option as well (should even reduce load a bit - if ppl use it...)
This would allow ppl to not (needlessly) request data that they've already got.
BIG Lottery [url |
Eigenvalue
|
Posted - 2007.06.16 18:11:00 -
[2]
TornSoul,
Thank you for posting this. This is truely awesome.
|
Femaref
Caldari examined Inc. G.U.A.R.D.
|
Posted - 2007.06.16 23:17:00 -
[3]
Thats ******* awesome!
|
Dal Rath
|
Posted - 2007.06.16 23:53:00 -
[4]
Any chance of a killmail API? That would allow for killboard software to pull in the info automatically rather than requiring pilots to cut-n-paste it in.
A hanger dump would be nice too. item id's, station id's and quantity.
S&I jobs API, player and corp.
Starbase fuel status, so we can wire up automated email notifications to corp members or such.
I'll also support the call for scoped authentication keys. Some web interface with checkboxes for info that you want the key to be valid for and a 'generate key' button... encode a bitmap of the validity into the key maybe? Also to allow a key to be valid for only some subset of the characters on an account.
One last request, which would need game code changes: an option in the client to send the API key as a header in IGB http requests. It's not foolproof authentication, but it would be relatively easy to implement and a lot better than the current situation. |
BigWhale
Gallente
|
Posted - 2007.06.17 06:31:00 -
[5]
> Resolving api.eve-online.com... failed: Unknown host
:(
-- R, U, Y are letters...
|
Gneiss Breaker
|
Posted - 2007.06.17 11:02:00 -
[6]
I'd love to see current market orders, not just done tx.
|
Ricky Baby
0utbreak
|
Posted - 2007.06.17 12:24:00 -
[7]
you would not need a afterRefID or a afterTransID as the idea is you get page 1 - store it in your code, get page 2 - add the data and so on. ================= The Thorax flies in much the same way it looks. it goes in, shoots it's load and then one way or another, its over. ================= |
TornSoul
BIG BIG is Beautiful
|
Posted - 2007.06.17 15:06:00 -
[8]
Originally by: BigWhale > Resolving api.eve-online.com... failed: Unknown host
:(
From the Patch notes These features will be deployed on Thursday 21 June, during the daily maintenance period, not during the deployment of Revelations on Tuesday
BIG Lottery [url |
TornSoul
BIG BIG is Beautiful
|
Posted - 2007.06.17 15:08:00 -
[9]
Edited by: TornSoul on 17/06/2007 15:14:09
Originally by: Ricky Baby you would not need a afterRefID or a afterTransID as the idea is you get page 1 - store it in your code, get page 2 - add the data and so on.
I didnt say *need*.
But it would be convinient - And would save some bandwidth as well.
And no, it's not just one page at a time, its 1000 records at a time (or 40 pages), as long as these dont go more than a week back in time.
As I wrote : "This would allow ppl to not (needlessly) request data that they've already got."
I pretty much expect many people to set up 3rd party programs to hammer their wallet export, every 5-15 minutes (I know I will), pretty much the same "problem" that has been with the skills page.
So an option to not get the same data over and over, would make a lot of sense (and make the webserver very happy I'm sure).
BIG Lottery [url |
Keiko Kobayashi
|
Posted - 2007.06.17 17:22:00 -
[10]
Edited by: Keiko Kobayashi on 17/06/2007 17:20:56 I have posted an extensive look at the new EVE API and how it could make better use of HTTP (REST) functionality on my weblog.
In summary, I think it would be best if the EVE API would use HTTP authentication and caching mechanisms instead of its own custom thing.
The address of the post is:
http://www.grauw.nl/blog/entry/417
Please read it. Comments are enabled on my blog.
Regards,
~Grauw
|
|
Paladin Vent
Aeria Gloris Inc United Legion
|
Posted - 2007.06.18 06:34:00 -
[11]
Edited by: Paladin Vent on 18/06/2007 06:35:58 I have some questions about one thing:
Is the placement of the constellation capital publicy available? Is it possible to determine the constellation capital using the current API? Is it possible to slightly modify the API to provide constellation capital info? E.g. an attribute capital="1" only appearing at capital systems.
Thanx.
|
Neko Sornan
eXceed Inc. INVICTUS.
|
Posted - 2007.06.18 08:20:00 -
[12]
Can we get an Export of the Market History Table too, please? (If this isn't an option please add an Export Button to the History Table like that for the Market Orders.) |
DeTox MinRohim
Madhatters Inc. M. PIRE
|
Posted - 2007.06.18 09:34:00 -
[13]
While we can't test this yet, it seems to be quite basic and Paypal-like stuff so...
Here goes a small php example of getting the stuff.
eveapi_phpexample.txt
If you see an error, go for it and tell, got this out before my first coffee. ------ This sig space is Read-only ! omgalink |
|
Eldo Davip
Forum Moderator Interstellar Services Department
|
Posted - 2007.06.18 10:47:00 -
[14]
I'll poke random community managers to poke random devs so we can get some info.
edit: I guess the message is in the patchnotes, I overlooked that. Damn you long patchnotes! ___
EvE +NLINE - T+TALHELLDEATH SUPPORTER
|
|
|
CCP Garthagk
|
Posted - 2007.06.18 14:30:00 -
[15]
Glued.
Few comments for now, to respond to some points --
- afterBlahID is a good idea, but the stored procedure I use on the database to get the data doesn't have this functionality, so at best it would be a cosmetic change and would have no impact on load (well, might save some bandwidth).
- The docs are not as full as I want, they're slowly getting worked on though. I'll try to get the requested information in ASAP, but this is patch week... kinda busy. I expect the documentation will be "good enough" for people who want to dive right in now, and those who want better docs can hang tight for me to get some breathing room.
(Or maybe someone wants to write better docs, I'm not opposed to accepting help in this regard. I hate writing documentation. )
- I've heard a few people ask for being able to separate their API functionality into multiple levels. Right now the plan is that we're going without it, and will see what the impact is. It's easy to add this sort of functionality, harder to remove it, so I'm starting on this end.
- I'll try to watch this thread. Toss me questions and I'll try to bat back. Also note we are using IRC, I've taken to hanging out in the #eve-dev channel on irc.coldfront.net if anybody cares.
-------------- Garthagk - CCP Web Cell
To err is human to really ***** up takes admins. -Hellmar |
|
ElfeGER
Black Nova Corp Band of Brothers
|
Posted - 2007.06.18 16:01:00 -
[16]
Edited by: El***ER on 18/06/2007 16:03:37 an export for conquerable stations would nice as well systemid,stationtype,capital status,corp,(alliance)
would it be possible to add a unique identifier to killmails so they can be fetched out of game (without getting truncated) as a dev posted a not truncated sisi killmail from a titan (the gallente one with 35m hp) which was +100kb
|
gfldex
Evolution Band of Brothers
|
Posted - 2007.06.18 16:12:00 -
[17]
Is it possible to get the data of the flatten map view? If you provide us with data like:
SystemID, x, y [(Integer), (float), (float)]
it would be fairly easy to provide all map related details in SVG that way.
Is the data that's behind "Systems I have visited" still in the DB? Would be cool to get hold of that. I know that you can get the data from chat logs but most ppl remove them ever now and then.
--
There are countless games in the world. There are at least as many ppl that dont like one or more rules of said games. That never stopped smart game designers from creating good games.
|
Miranda Duvall
Gallente OPM Holdings
|
Posted - 2007.06.18 16:29:00 -
[18]
I'd very much like an export of all my sell orders. Is that in the making?
Hangar export would be good also, but that has (slightly) less priority...
These two, combined with S&I export would give you a very fast way to calculate your (corps) worth and would be a great help to all IPO's out there
My Skills -Invention HowTo |
Flaming Candle
|
Posted - 2007.06.18 16:59:00 -
[19]
Originally by: gfldex Is it possible to get the data of the flatten map view? If you provide us with data like:
SystemID, x, y [(Integer), (float), (float)]
it would be fairly easy to provide all map related details in SVG that way.
Is the data that's behind "Systems I have visited" still in the DB? Would be cool to get hold of that. I know that you can get the data from chat logs but most ppl remove them ever now and then.
This information is already avaliable in the data dump: just remove the Z component of the x,y,z.
|
TornSoul
BIG BIG is Beautiful
|
Posted - 2007.06.18 17:52:00 -
[20]
Edited by: TornSoul on 18/06/2007 17:55:09
Originally by: CCP Garthagk - afterBlahID is a good idea, but the stored procedure I use on the database to get the data doesn't have this functionality, so at best it would be a cosmetic change and would have no impact on load (well, might save some bandwidth).
And bandwidth is excactly the issue.
Wonna bet a beer at FF'07 that you will run out of bandwidth (and the DB also has to work, a bit, harder to push the extra data out of the DB. But with thousands hammering it, every 5 minutes, it will be felt as well)
So - Do we have a bet?
(and changing the stored procedure... Would take all of 2-5 minutes...)
============
Originally by: CCP Garthagk
- I've heard a few people ask for being able to separate their API functionality into multiple levels. Right now the plan is that we're going without it, and will see what the impact is. It's easy to add this sort of functionality, harder to remove it, so I'm starting on this end.
I disagree with your argument here... It's easier to remove than put in... (I code for a living... So "Been there, done that")
Besides
Originally by: Paladin Vent There's a great security & privacy issue for the API project: If a user gives someone the API key, It'll be possible to monitor the wallet and the market activity of that user and his corporation. Most likely, noone will share his-or-her API key bacause of this issue.
Exactly.
In fact all of my corp members will be *ordered* to not share it. I think most CEO's will feel the same. ====================
Originally by: CCP Garthagk
- The docs are not as full as I want, they're slowly getting worked on though. I'll try to get the requested information in ASAP, but this is patch week... kinda busy. I expect the documentation will be "good enough" for people who want to dive right in now, and those who want better docs can hang tight for me to get some breathing room.
(Or maybe someone wants to write better docs, I'm not opposed to accepting help in this regard. I hate writing documentation. )
I'll make you a deal Get differentiated API key's - and the afterBlahID's in there, and I'll do it for you. (and yes, I hate doing documentation as well.... I really really do... )
==========
Thanks for finding your way to the thread though. Hope you'll stay with us, frequently, until we get all the child diseases hammered out of the system
BIG Lottery [url |
|
Alexander Knott
Ars ex Discordia GoonSwarm
|
Posted - 2007.06.18 18:32:00 -
[21]
Any chance of getting orders and assets information from the API after the initial release has a chance to settle down a bit?
----- "I like to loot, especially going to the can of the battleship, sometimes there is a surprise inside, sometimes there is only carp..." |
|
CCP Garthagk
|
Posted - 2007.06.18 18:42:00 -
[22]
Originally by: TornSoul In fact all of my corp members will be *ordered* to not share it. I think most CEO's will feel the same.
I will be fascinated to see how many of your people do it anyway. Most folks use EVEMon and similar systems and are not going to wait to go without, just because their CEO said so.
Realistically, with the previous system people shared their username and password, now they don't. We're not giving any more information than could have been gotten to begin with -- it's just easier to get it now and doesn't involve someone logging in as you. To me, this is actually a step forward in securing things, not a step backwards as you seem to imply.
If a lot of people avoid the system because of this issue, then we will explore other options. However, my bet is that we'll have some people who complain, and then most people will go on as they have in the past - making sure they trust whoever they're giving their API key to.
(Keep in mind, you can only see what your roles allow you to see. So if you don't want someone exporting your corporation's transactions, don't give them access to see the data!)
Also, your "5 minute" example is not really a problem. Everything has cache times of an hour or more, so bandwidth really shouldn't be that much of a concern. Of course, we'll see.
-------------- Garthagk - CCP Web Cell
To err is human to really ***** up takes admins. -Hellmar |
|
Paladin Vent
Aeria Gloris Inc United Legion
|
Posted - 2007.06.18 20:06:00 -
[23]
Evemon is a diffrent thing. It has a respect of people and a guarantee for the information privacy. It is almost as much official as EVE client.
I'm (we're) talking about newly appearing services which will base on the created API. Lets add one exception to the TornSoul's quote:
Originally by: TornSoul In fact all of my corp members will be *ordered* to not share it anywhere except for EveMon.
|
TornSoul
BIG BIG is Beautiful
|
Posted - 2007.06.18 20:28:00 -
[24]
Edited by: TornSoul on 18/06/2007 20:35:44
Originally by: CCP Garthagk
Originally by: TornSoul In fact all of my corp members will be *ordered* to not share it. I think most CEO's will feel the same.
I will be fascinated to see how many of your people do it anyway.
Ofc they (some) will - I'm not that blue-eyed Doesnt change the fact that some wont - Out of respect for keeping corp financials non-public data (if the CEO/corp in general wishes so) Those will then be cut of from assorted cool 3rd party programs. ========
Originally by: CCP Garthagk
not a step backwards as you seem to imply.
Nononono - Never said it was a step backwards. It definatly isnt.
It's a HUGE step forward. And I honestly believe it's the start of a new era for EVE. Seriously. Wait and see. It'll start small, but then it will steamroll. (should be fun having a look at this post in a years time)
This *IS* (despite it's current (imo) smaller shortcommings) the best thing since T2 to hit EVE.
However - It's just not an forward enough step - Imo, and apparently others in this thread.
And it would take so little to truly make it a BIG step forward. ========
Originally by: CCP Garthagk
If a lot of people avoid the system because of this issue, then we will explore other options.
Why wait until it becomes a problem? (and how would you know...) (yes I know you are busy etc... But still... Such a little thing) ========
Originally by: CCP Garthagk
However, my bet is that we'll have some people who complain, and then most people will go on as they have in the past - making sure they trust whoever they're giving their API key to.
I think you are probably right. But if a better solution is at hand - Why not have a bunch more people sleep better at night. Not having to worry about it in the first place. ========
Originally by: CCP Garthagk
(Keep in mind, you can only see what your roles allow you to see. So if you don't want someone exporting your corporation's transactions, don't give them access to see the data!)
Ah - I dont recall seeing that anywhere (not saying it isnt) Thats *some* re-assurance - But... Still...
Thanks for the info. ========
Originally by: CCP Garthagk
Also, your "5 minute" example is not really a problem. Everything has cache times of an hour or more, so bandwidth really shouldn't be that much of a concern. Of course, we'll see.
Also havent seen that one (1 hour cache) before. (Thanks for the info.)
Good idea - Although it breaks some "instant customer satisfaction" I had planned (but I think I'm in an extremely small minority having that need, so, annoying for me, but fair enough)
And yeah, a 1h (and some more) cache, might just keep the webserver afloat.
====
Don't take my critique the wrong way Garthagk - I love what we are already getting (I think I can claim to be the one waiting and wanting this the most in all of EVE, due to 4.5 years of entering BIG Lottery tickets manually (almost) each and every day...)
But with things you care about, it's often that you find the very small errors, or things that can be improved, to make the thing you care about even better, and even more worth caring about.
And I care about (and crave...) the EVE API more than most.
I have a desk drawer full of plans, for things that requires automatic wallet export in order to be manageble.
And now I finally got it \o/ - BIG things will happen, I promise (although that 1h cache is a bit annoying )
========
So please, dont feel put down by any of this, as at it's hearth, it's a love declaration
BIG Lottery [url |
Egwene alVere
The Wheel of EvE
|
Posted - 2007.06.18 21:14:00 -
[25]
I see in the map section of the there are allianceID and factionID. Im new at this, but is there an xml dump somewhere that tells us what alliance that ID actually is? faction ID 0 is that Gallente?
It would be good to be able to export the corp/alliance/faction IDs in the api somewhere. that tells like factionID'0' = Gallente
and that corp'1273' has allianceID = 4 that tells what alliance its in.
|
Two step
Amarr Chosen Path FATAL Alliance
|
Posted - 2007.06.18 21:15:00 -
[26]
From IRC:
There are a couple of currently undocumented API calls: 1) Corp member list 2) Alliance list 3) Char names to ID conveter 4) List of characters on an account
No more info on details for those, will have to wait until documentation is posted.
|
TornSoul
BIG BIG is Beautiful
|
Posted - 2007.06.18 21:24:00 -
[27]
From the patch notes
- Character(s) on your account,
- Current data on character skill training,
- Character skill sheet, including trained skills, implants, etc.,
- The EVE skill tree, including all published skills, descriptions, training modifiers and times, etc.,
- Corporation information (corporation details, members, base, date of join, etc.,
- Wallet balance (corporation & personal, including divisions),
- Wallet journal log (corporation & personal, including divisions),
- Market transaction log (corporation & personal, including divisions), and
- Solar system sovereignty.
Not all documented yet.
BIG Lottery [url |
Paladin Vent
Aeria Gloris Inc United Legion
|
Posted - 2007.06.18 21:57:00 -
[28]
Edited by: Paladin Vent on 18/06/2007 21:56:50
Originally by: gfldex Is it possible to get the data of the flatten map view? it would be fairly easy to provide all map related details in SVG that way.
map.svg.zip Download it and do whatever you want . It is distributed under EvE dataexport non-profit license.
Edit: link
|
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.18 22:32:00 -
[29]
Edited by: Tonto Auri on 18/06/2007 22:39:09 Im my mind, really wanted addition is: 1. Universe browser by system (or constellation) - orbit items (planets, moons, gates, NPC stations and player outposts) and jumplinks (or even downloadable starmap for oog usage - ingame map totally unusable. Dunno who may use it, I cannot separate 2 systems resides 20 jumps away from each other and displayed both at 1px distance in best view position. Do You devs have any experience using Autocad or 3Dmax? Looks like no). 2. Items database browser - each item by id, linked to main site's Items Database and providing up-to-date infornation to both players viewing database from EVE-o and corporations web services accumulating it for their own usage. -- . |
Laendra
|
Posted - 2007.06.18 23:37:00 -
[30]
As I discussed on #eve-dev, I have my reservations about this too.
In particular, I would like to see apiKeys based on type of export, so you could provide your skilltree apiKey to EVEMon, but not give access to other potentially more valuable information, such as POS information (in future API releases), etc. ------------------- Brainstorm ideas to make EVE better:->http://eve.stormingbrains.org/index.php
|
|
Xerpex
Priests of Pessismism
|
Posted - 2007.06.19 00:49:00 -
[31]
Hmm, I might've missed it, but from where can I get isk in escrow and buy/sell orders information?
|
gfldex
Evolution Band of Brothers
|
Posted - 2007.06.19 01:01:00 -
[32]
Originally by: Paladin Vent
map.svg.zip Download it and do whatever you want . It is distributed under EvE dataexport non-profit license.
That's nice at a start but not really useful because the mapping between system name and star is missing. I would love to see the code snipped you use to do the transformation.
If you don't want to share it please create a new version where the system name is given in the star's (circle) name attribute. I could transform the lines into Inkscape style connectors. That would make it easy for map creators to drag systems around without losing jumps. A class attribute with the value star would be great as well to be able to use CSS. Inkscape does not support CSS yet (but already in CVS), Mozilla does.
The data as CVS would be nice in any case because I will need lookup tables in JS anyway and creating them from a DOM tree is a bit slow.
If you want to play with it by yourself in the following a shell and a perl script that parse chatlogs to get "System I have visited" data in a comfortable text file. If you run it under cygwin (works for me) you will need to build recode by yourself. Google can point you to it's sources.
whereiwas --
There are countless games in the world. There are at least as many ppl that dont like one or more rules of said games. That never stopped smart game designers from creating good games.
|
gfldex
Evolution Band of Brothers
|
Posted - 2007.06.19 01:10:00 -
[33]
Originally by: Egwene alVere I see in the map section of the there are allianceID and factionID. Im new at this, but is there an xml dump somewhere that tells us what alliance that ID actually is?
Take a look at the following URL.
http://www.eve-online.com/alliances/a_824518128.asp --
There are countless games in the world. There are at least as many ppl that dont like one or more rules of said games. That never stopped smart game designers from creating good games.
|
gfldex
Evolution Band of Brothers
|
Posted - 2007.06.19 02:03:00 -
[34]
allianceIdAllianceName.txt fetchallianceid.pl --
There are countless games in the world. There are at least as many ppl that dont like one or more rules of said games. That never stopped smart game designers from creating good games.
|
Mantalari Altis
Caldari Mercatoris Technologies
|
Posted - 2007.06.19 03:22:00 -
[35]
While I think this API really is a great step forward, there are some issues that I have with it. I'm mostly keen on using the API for web applications compatible with the in-game browser. The major shortcoming of the IGB for me is that lack of a viable means of truly verifying the identity of a user making a request for a page. This API potentially solves that problem for me by providing a unique userId and and apiKey which I can then use to fetch an account's character list and verify that the character I wanted to allow access to the site actually is one of he characters of the account. I'm thrilled by this, I really am. Now I can use it as a means of verifying the character identity of a user. I can even check to see what other characters they have on the same account and see corp membership of each character... a potentially huge security gain for sensitive information on a web application.
But then it swings in the opposite direction. Since the information is all or nothing, it also exposes information that the player might wish to keep secret. There is no way to stop anyone with the current key from seeing ALL of the information that is available via the API. The player is forced to trust the site with access to ALL of the potentially very sensitive information. As an example, an unscrupulous site (or application) could put together the following report on a character on demand:
Where are they located (if it is the IGB and a trusted site) What have they purchased recently and where? What ships did they purchase nearby that have not been destroyed (since insurance payouts would be in wallet exports). What ammo, modules drones have they purchased recently near there? How deadly are they in those ships (since we can look at the character sheet)? Just how much isk is flowing through that corp wallet and from what sources? (Potentially if the docs arrive) What is the list of people in the corp they are in (and their alts and possibly alt corps)? Do I have apiKeys for the other members of that corp? Have any of them purchased stuff nearby each other?
There's more that you could mine from the data. With a popular enough site (or application) you'd have access to enough information that you could literally data mine a complete intelligence report for a given corp or alliance. You could ferret out alt corps. You could decide when to and where to attack them. You could potentially figure out login patterns and playtimes of key players to know when it is best to strike.
On the other hand, you could ferret out corp spies and corp thieves. You could keep tabs on your corp members activity levels a lot better than knowing when they last logged in and out. You could track training over a whole corp to help make organizational decisions and suggest training to people that could fill valuable roles. You could figure out just who it is that keeps leaving the beer cooler open and letting all the ice melt... (oh wait... maybe not that last one).
Eek. I don't want that level of data if I don't need it. I don't want to have to convince players that they should trust me with that level of data.
If they do trust me with that data, can I do some really cool stuff with it from a web application and services standpoint? Yeah. But they should have the power to decide what I can and can't see.
|
Kaladr
Amarr No Quarter. Vae Victis.
|
Posted - 2007.06.19 06:33:00 -
[36]
One minor request:
You have sov. information as a request type. Can you make a request type which returns names of player outposts? ;)
[looks at database full of SYSTEMX 0.0 Player Outpost (no name available)] ---- EVE-Central.com - Your EVE economic and corporate site, featuring the inter-region market browser |
TornSoul
BIG BIG is Beautiful
|
Posted - 2007.06.19 07:27:00 -
[37]
Originally by: Mantalari Altis <snip lots of important stuff>
*Excactly*
You could do all of that an more.
And while Garthagk (correctly) claims you could do all of that before as well (if ppl had trusted you with their user/pass), you would have to do it manually (not to mention having to log in to other ppl's accounts, which is against the EULA).
With the EVE API you can automate all of this (without breaking the EULA) which is *vastly* more powerfull.
Knowledge is power.
And the all-or-nothing API key gives an unprecedented (possibility) of knowledge.
It *will* be mis-used (like anything else in EVE that can be mis-used)
So please Garthagk, reconsider this...
BIG Lottery [url |
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.19 10:27:00 -
[38]
Yep, after a good night of sleep I have some clues about API.
Great thanks to Keiko Kobayashi for that blog link, it was highly appreciated by me and was pointed to right idea.
Originally by: Keiko Kobayashi Authentication
The EVE API does not use standard HTTP authentication. Instead, it passes the authentication information via POST parameters. It is however better to use the built-in HTTP authentication functionality, primarily because many HTTP applications and stacks have built-in support for it.
Totally agree with this words. HTTP/1.1 401 Unauthorized and 403 Forbidden much more understandable and easy handled (and in many applications have internal handlers requiring only small overhead to detect exact type of error) than any custom error handling which require deep investigation of returned result to detect at least error presence.
Using native HTTP authorization methods, You may (and in some cases must) use HTTPS to secure Your connection. I'd recommend to use explicit SSL to access EVE API.
Let we swing to other theme before I return back to authorization and security.
Quote: Pretty URLs
Part of REST is good URL design. This is actually not really really important, but it's one of the things that is usually the first things that people notice.
Yep, they are may be pretty... and nice. I agree with Grauw without any comments. His explanation have enough stability and allows expansion to any level, which I have to demonstrate in next part.
This part will be...
Access Control based on pretty URL's
As Mantalari Altis said,
Originally by: Mantalari Altis [if someone give me his ApiKey] I can even check to see what other characters they have on the same account and see corp membership of each character [...]
It's definitely a hole in security, but it also may be used as starting point to gain security too.
Example sends us back to pretty URL's. In /char/ root tree we have
Quote: /char/<characterID>/charactersheet /char/<characterID>/accountbalance /char/<characterID>/walletjournal /char/<characterID>/walletjournal/<accountKey> /char/<characterID>/walletjournal/<accountKey>/<beforeRefID> /char/<characterID>/wallettransactions /char/<characterID>/wallettransactions/<accountKey> /char/<characterID>/wallettransactions/<accountKey>/<beforeRefID>
But we exactly missed one feature. /char/<characterID> Basic character info, almost publicly available through EVE interface. Now, we have one subroot - /char/<characterID> and different subtrees - charactersheet, accountbalance, walletjournal, wallettransactions and we ready to improve our security to new level.
At first, let's look at subtrees. We clearly see one way to improve scalability and reduce number of subtrees. Sheme may be:
/char/<characterID> <- special meaning /char/<characterID>/charactersheet <- skills /char/<characterID>/charactersheet/skillTraining <- skill currently in training /char/<characterID>/wallet <- balance /char/<characterID>/wallet/journal /char/<characterID>/wallet/journal/<beforeRefID> /char/<characterID>/wallet/transactions /char/<characterID>/wallet/transactions/<beforeRefID>
(I remove accountKeyId as unusual for personal wallet)
After that, we may have one main apiKey for whole /char/<characterID>/* tree and 2 restricted subkeys - to access charactersheet and wallet.
After all, we have one additional thing mentioned above. Let's take a look at...
Securing IGB
How we can use all that stuff to check real IGB against falsifications? Let EVE client get special session apiKey each login and send it to trusted sites along with current information. Site can check validity by sending request to /char/<charId> using charId/apiKey and check if there are real character or 401 Unauth... And of course get additional charinfo as well. -- . |
Femaref
Caldari examined Inc. G.U.A.R.D.
|
Posted - 2007.06.19 12:06:00 -
[39]
Anybody has code to serialize the wallet informations in c#? I'm not well in the topic (I'm still learning) Would be great if somebody could help me.
|
gfldex
Evolution Band of Brothers
|
Posted - 2007.06.19 13:48:00 -
[40]
Originally by: Mantalari Altis If they do trust me with that data, can I do some really cool stuff with it from a web application and services standpoint? Yeah. But they should have the power to decide what I can and can't see.
What you ask for is quite a lot work for Garthagk (he will be quite busy to fix that mess). A comparable easy way to solve it I see is a filter that is run local on the users PC that pushes the filtered data to the web application. That way you would lose the apiKey and thus the ability to auth the user on your side.
I will for sure create such a filter but I doubt a bunch of shell- and Perl-scripts will be of use for more then 100 players. And any web application would have to be able to use the filtered data. That's not hard but will take time to implement.
I have a further concern that was not raised yet (or I missed it). We will see Corp leaderships complain about spy work because ppl forgot to change their apiKey after joining a corp. In my eyes every time a char on a account changes corp the apiKey should get invalid without any further user action. --
There are countless games in the world. There are at least as many ppl that dont like one or more rules of said games. That never stopped smart game designers from creating good games.
|
|
Amida Ta
|
Posted - 2007.06.19 16:24:00 -
[41]
Is there any specific reason why to not make this a web-service This is cool as hell already, but as web-service it would be even better
/me is for web-service
|
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.19 16:53:00 -
[42]
Small clarification...
Originally by: Tonto Auri Access Control based on pretty URL's
...
At first, let's look at subtrees. We clearly see one way to improve scalability and reduce number of subtrees. Sheme may be:
/char/<characterID> <- special meaning /char/<characterID>/charactersheet <- skills /char/<characterID>/charactersheet/skillTraining <- skill currently in training /char/<characterID>/wallet <- balance /char/<characterID>/wallet/journal /char/<characterID>/wallet/journal/<beforeRefID> /char/<characterID>/wallet/transactions /char/<characterID>/wallet/transactions/<beforeRefID>
(I remove accountKeyId as unusual for personal wallet)
After that, we may have one main apiKey for whole /char/<characterID>/* tree and 2 restricted subkeys - to access charactersheet and wallet.
I found "main apiKey" useless. It must be simple two keys: apiKey to access /char/<characterID>/charactersheet subtree and apiKey to access /char/<characterID>/wallet subtree
Also, first (name it General) apiKey may be used in all other interactions, such as viewing other characters info from the web (/char/<characterID>) or accessing public database.
We still have 3 apiKey's. 1. Session key paired with charId instead of accountId, generated for IGB: valid for acessing /char/<charId>, revoked at DT. 2. General key: valid for all top-level access: /map/<mapType>, /char/<charId>, /corp/<corpId>, /eve/*. Also valid for retrieving /char/<charIdOfMyOwnChar>/charactersheet subtree. 3. Wallet access key: valid for accessing /char/<charIdOfMyOwnChar>/wallet and /corp/<corpIdCharBelongTo>/wallet/<walletDivision>/ -- . |
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.19 16:54:00 -
[43]
Originally by: Amida Ta Is there any specific reason why to not make this a web-service This is cool as hell already, but as web-service it would be even better
/me is for web-service
It IS a web-service. Open Your eyes, dear... -- . |
Amida Ta
|
Posted - 2007.06.19 17:28:00 -
[44]
Originally by: Tonto Auri
Originally by: Amida Ta Is there any specific reason why to not make this a web-service This is cool as hell already, but as web-service it would be even better
/me is for web-service
It IS a web-service. Open Your eyes, dear...
Then where are the WSDL-Files? Moreover the output doesn't look very Web-Service like. And the input seems to be a normal HTTP post. No Web-Service style either (at least not using SOAP)...
|
Ki Shodan
Gallente deep blue
|
Posted - 2007.06.19 17:41:00 -
[45]
Originally by: gfldex I have a further concern that was not raised yet (or I missed it). We will see Corp leaderships complain about spy work because ppl forgot to change their apiKey after joining a corp. In my eyes every time a char on a account changes corp the apiKey should get invalid without any further user action.
The longer i think about it, the more your concerns are valid.
Corp spies would give out there API-Key anyway, so if you trust someone to be accountant or director, you are spyed on anyway.
You need to force your members to create a new Api-Key, you can veryfy that they have made a new key by checking that their key has been created, when that Char joins your corp. But you are still not save from: - corp spies giving away their new key to the faction that is spying on you, - people giving their new key to "trojan" programs or "trojan" websites.
So to be sure, you need to be in control of the applictions that use your and your Corp-members API-Keys, you maybe can be sure what your own Website does with the keys, but you can not control what the user (Corp-Member) does, what he or she has installed on the HomePC, the OfficePC etc.
As it works now, you have to enforce anyone that should become a Director or Accountant in your corp to use only applications, that are controlled by yourself and your corp to have at least a minimum of security. That you can force your members sounds very unlikley to me. So you are back to trust like it is now. --
Evemail me, if my name is used as guarantor! |
DevAmarr Null
|
Posted - 2007.06.19 18:24:00 -
[46]
Hello everyone,
I am looking at this API, but didn't see how can one get characterID easily. As till now, you can get it manually checking the links under My Character section, but that's kind of not good. It would be easier if we would have some sort og XML/CSV that would give back all charatersID connected to userID and API key. Or am I just missing that information?
cu
|
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.19 19:12:00 -
[47]
Originally by: Amida Ta Then where are the WSDL-Files? Moreover the output doesn't look very Web-Service like. And the input seems to be a normal HTTP post. No Web-Service style either (at least not using SOAP)...
Why You think that SOAP is only one way to operate with web-based services? :) I think that EVE devs have much cleaner look at web-services. No overhead, only real work. Yup, it MAY have no overhead, as explained in Grauw's blog. -- . |
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.19 19:16:00 -
[48]
Originally by: DevAmarr Null Hello everyone,
I am looking at this API, but didn't see how can one get characterID easily. As till now, you can get it manually checking the links under My Character section, but that's kind of not good. It would be easier if we would have some sort og XML/CSV that would give back all charatersID connected to userID and API key. Or am I just missing that information?
cu
If You pay a little attention reading patchnotes and this topic, You may see that there's a plan to make easy converter service "Char name" => "Char Id", "Corp Name" => "Corp ID" etc. -- . |
Amida Ta
|
Posted - 2007.06.19 19:47:00 -
[49]
Originally by: Tonto Auri Why You think that SOAP is only one way to operate with web-based services? :)
I'm not talking about web-based services, I'm talking about Web Services and that is an industry-wide and standards-based approach and not just some service delivered over the web.
Originally by: Tonto Auri
I think that EVE devs have much cleaner look at web-services. No overhead, only real work. Yup, it MAY have no overhead, as explained in Grauw's blog.
Web services are very well defined and understood. They are proven to work and can be easily integrated in most Software-development environments accross most languages. Consuming a Web Service takes no longer that 1 minute for a service of the complexity as Eve has them. Consuming the services (for programmatic use) as they are now will likely cost up to one hour of programming (PER service). And it will cost more time whenever additional services are added or even just changed.
|
Vessper
Black Thorne Corporation
|
Posted - 2007.06.19 20:34:00 -
[50]
Originally by: Tonto Auri
Originally by: DevAmarr Null Hello everyone,
I am looking at this API, but didn't see how can one get characterID easily. As till now, you can get it manually checking the links under My Character section, but that's kind of not good. It would be easier if we would have some sort og XML/CSV that would give back all charatersID connected to userID and API key. Or am I just missing that information?
cu
If You pay a little attention reading patchnotes and this topic, You may see that there's a plan to make easy converter service "Char name" => "Char Id", "Corp Name" => "Corp ID" etc.
I don't think that's what he means at all. The old Character XML contained all characters on the account but it looks as if this new XML is specific to one particular character.
I'm thinking here of something like a /account/Characters.xml.aspx file so we can enumerate through the available characters on an account. If you look at the various character managers available, entering your username and password will allow all characters on that account to be retrieved. We need this same functionality here IMHO.
--------------------
|
|
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.19 20:49:00 -
[51]
It only looks like we need it. But in reality it's just a security hole and should be avoided as possible. Imagine: Scene 1. You giving out Your login and password so someone may do anything with Your accout (in example - enumerating characters on it, but not only that) Scene 2. You giving out Your userid and apiKey. someone may... what? Close to nothing. He can't find Your login or understand Your password, can't easy find any characters exists on Your account (of course, he can enumerate through all characters, but that way takes incredible long amount of time).
With that Name->id converter, You not really need to know Your CharID. If we take EVEmon as example, You give 'em userId, apiKey and character name. They convert charname to charid using userid and apikey provided. 2 results at once. Checking apiKey validity and understanding charId. -- . |
Vessper
Black Thorne Corporation
|
Posted - 2007.06.19 21:31:00 -
[52]
I don't think I fully understand your point about security here. How can enumerating through the characters in your account be a security hole? You already have to supply at least one characterID (or name if you want to use the converter) so that's that character disclosed to whatever app/website. OK, I'll admit that if you want to hide your alts then it's a bad idea, but it's no different in that respect than supplying your username and password as you do currently.
If we take your reference to EveMon as an example: currently, users can enter their account username and password and get all characters on their account. Under the new system, why not just enter the userID and APIkey and get the same characters? Why the need to enter a character name or ID for each character you want to monitor?
Or am I missing something blatently obvious that I need re-educating quickly?
--------------------
|
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.19 21:38:00 -
[53]
You missed that it's not my account.
It's someone other's account, who gave me his apiKey and charname. -- . |
Vessper
Black Thorne Corporation
|
Posted - 2007.06.19 22:01:00 -
[54]
I got that it's not your account. What I don't understand is where the security hole that enumerating characters presents. Especially when compared to giving your account username and password out like people do at present.
--------------------
|
Cloudheart
|
Posted - 2007.06.20 00:25:00 -
[55]
So is the API meant to be active now that the upgrade is finished? I'm getting "Beta in progress, access denied."
|
Farys
GoonFleet GoonSwarm
|
Posted - 2007.06.20 00:42:00 -
[56]
Originally by: Cloudheart So is the API meant to be active now that the upgrade is finished?
No. -- 一遍、死んで見る? |
45thTiger 002
45th TIGERS Phoenix Supremacy
|
Posted - 2007.06.20 02:30:00 -
[57]
Hi,
I am delighted that this API has been created and it is with many thanks that I make these constructive comments.
-------------------------------
Ok so you can't enumerate the character id's from userid / apikey pair.
This is good because it means that all alts on an account are not implicitly exposed.
The main useabililty issue is directing users wanting to provide the data for a corp web site, or a site that generates sig blocks, is that a lot of players have no idea what the character id they wish to use actually is.
The way its implemented now, you need to direct them to two / three places to do it for dumb users. 1st to the API Key page and then to a custom IGB site to get the active character id. And even then, to link them into a clan portal you'd need to re-auth them against user id on the portal site and the portal may or may not work in the IGB.
It would be preferable if the API Key page at least provided a list of characters on the account and the associated character IDs for the user to cut and paste.
Even simpler would be to expose the userid and apikey to the IGB when a user trusts a site. (Yeah yeah I know!)
----------
Regarding corp wallet access, I would suggest that the API Key site once again be upgraded to generate a corpid / apikey for users with director role. Accessing corp data through user is dangerouse as mentioned earlier. This approach allows the CEO to regenerate a Corp API key as required and to manage access to the corp data.
----------
Regarding re-requesting transaction history, to reduce load it would be best to allow a parameter that specified the max record to retreive, otherwise each call will fetch 1000 rows, only a few of them may be applicable depending on activity. Developers would ideally store the transaction history locally to reduce server load, and be able to pass through the refID to the last record they recieved.
------------------
That being said, the API is an excellent step forward for EVE and the EVE Community. (Maybe one day it will accept data so corp management can be done on the portal and the changes fed back to Eve - HAHAHHA! )
Cheers 002
|
Crescend
Caldari
|
Posted - 2007.06.20 02:51:00 -
[58]
Hangar dump, with basic item stats for each item (especially BPCs) and numbers of each item would be very, very appreciated. As is, managing multiple major factory locations and keeping track of multiple R&D and supply chains is a gigantic hassle.
|
Hi Lo
|
Posted - 2007.06.20 07:28:00 -
[59]
Hey CCP, tank ewe a hole bunch of bananas for the data export. As soon as the documentation for the syntax POSTing was released i started writing a IIS app to take adavntage of it. I expect a plethora of third-party apps to emerge. Given the scope of them game, I think it's a much needed thing.
Would a page of endorsed apps be too much to ask?
Also, as i am happy with the available data to start, I and I am sure others too, want more data available. I want to query the hell out of those deliciouses RAMSANS and Blades. Some suggestions for POST-able requests: 1 hangar data. Might mean a long cache but it would be a huge help. 2 S & I lists, so i can keep rack of my supplies and what is needed.
I'll think of more and edit the request, it's 2:30 AM. Can anyone else chime in with ideas?
|
Ray McCormack
BIG
|
Posted - 2007.06.20 10:49:00 -
[60]
How about a Regional Market History export?
| WTS Archons and Nidhoggurs | BMBE ISK Loans | |
|
Ovno ConSyquence
Amarr The Plebians
|
Posted - 2007.06.20 10:53:00 -
[61]
does anyone know if this data will be availble through the myeve web interface as well or am i going to have to write some code just to get hold of my wallet exports in csv? |
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.20 11:45:00 -
[62]
Originally by: 45thTiger 002 The main useabililty issue is directing users wanting to provide the data for a corp web site, or a site that generates sig blocks, is that a lot of players have no idea what the character id they wish to use actually is.
The way its implemented now, you need to direct them to two / three places to do it for dumb users. 1st to the API Key page and then to a custom IGB site to get the active character id.
No.... nooo... Why You can't read whole topic? :( You not need to get You charId personally. What You only need - provide Your userId, apiKey and charName. Service can convert charname to charId itself.
Quote: And even then, to link them into a clan portal you'd need to re-auth them against user id on the portal site and the portal may or may not work in the IGB.
It already suggested before, but making portal working in IGB is a easy task, really easy.
Quote: It would be preferable if the API Key page at least provided a list of characters on the account and the associated character IDs for the user to cut and paste.
Agree, it will be useful, but not required.
Quote: Even simpler would be to expose the userid and apikey to the IGB when a user trusts a site. (Yeah yeah I know!)
Not as it done now! Read whole topic!
Quote: Regarding corp wallet access, I would suggest that the API Key site once again be upgraded to generate a corpid / apikey for users with director role. Accessing corp data through user is dangerouse as mentioned earlier.
Nope if all done properly, because API does same role chacks as EVE server.
Quote: Regarding re-requesting transaction history, to reduce load it would be best to allow a parameter that specified the max record to retreive, otherwise each call will fetch 1000 rows, only a few of them may be applicable depending on activity.
Already suggested as afterRefId.
Quote: That being said, the API is an excellent step forward for EVE and the EVE Community. (Maybe one day it will accept data so corp management can be done on the portal and the changes fed back to Eve - HAHAHHA!
Sure it will never be implemented. -- . |
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.20 11:46:00 -
[63]
Originally by: Ovno ConSyquence does anyone know if this data will be availble through the myeve web interface as well or am i going to have to write some code just to get hold of my wallet exports in csv?
It will be available from MyEVE as part of account management functionality, IIRC. -- . |
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.20 11:51:00 -
[64]
Originally by: Crescend Hangar dump, with basic item stats for each item (especially BPCs) and numbers of each item would be very, very appreciated. As is, managing multiple major factory locations and keeping track of multiple R&D and supply chains is a gigantic hassle.
Better to implement it as optional "Export" context menu function for cargobays, hangars and cans inside client. -- . |
Mr Horizontal
Gallente
|
Posted - 2007.06.20 12:14:00 -
[65]
Originally by: Ray McCormack How about a Regional Market History export?
I second this. It should be quite easy to just dump all the price history tables to static files during downtime, requestable by sending ItemID and RegionID - either by having special file names ie XXXX-YYYY-history.xml (where XXXX = ItemID and YYYY = RegionID) or by having a smarter ASPX file that accepts them as POST variables.
These files simply need the date, lowest, highest and that day's Regional Average for any given item in any given region.
Then the current lowest, highest and Regional Average price can be updated on a 15 minute basis on an as-requested basis, much like the skill card.
|
maltari
Caldari Eve University Ivy League
|
Posted - 2007.06.20 12:39:00 -
[66]
Originally by: Mr Horizontal
Originally by: Ray McCormack How about a Regional Market History export?
I second this. It should be quite easy to just dump all the price history tables to static files during downtime, requestable by sending ItemID and RegionID - either by having special file names ie XXXX-YYYY-history.xml (where XXXX = ItemID and YYYY = RegionID) or by having a smarter ASPX file that accepts them as POST variables.
These files simply need the date, lowest, highest and that day's Regional Average for any given item in any given region.
Then the current lowest, highest and Regional Average price can be updated on a 15 minute basis on an as-requested basis, much like the skill card.
It should be possible, yes. But it would completely change the market... Because with that addition, you wouldn't even need to look at the market to know what to do, a little script could do it for you, parsing the market and your orders... would be way too powerful IMHO...
|
Ovno ConSyquence
Amarr The Plebians
|
Posted - 2007.06.20 13:18:00 -
[67]
Originally by: maltari
Originally by: Mr Horizontal
Originally by: Ray McCormack How about a Regional Market History export?
I second this. It should be quite easy to just dump all the price history tables to static files during downtime, requestable by sending ItemID and RegionID - either by having special file names ie XXXX-YYYY-history.xml (where XXXX = ItemID and YYYY = RegionID) or by having a smarter ASPX file that accepts them as POST variables.
These files simply need the date, lowest, highest and that day's Regional Average for any given item in any given region.
Then the current lowest, highest and Regional Average price can be updated on a 15 minute basis on an as-requested basis, much like the skill card.
It should be possible, yes. But it would completely change the market... Because with that addition, you wouldn't even need to look at the market to know what to do, a little script could do it for you, parsing the market and your orders... would be way too powerful IMHO...
I'd love to have this, but it would entirely change the nature of the market as you could easily check what sells well, what produces the most profit etc.. and then only build/trade that.
And more importantly it would make all the time i put into writing a market export analyser which does exactly that, completly worthless....
Let alone the time it takes to manually export every item on the market across 3 or 4 regions |
Mr Horizontal
Gallente
|
Posted - 2007.06.20 14:24:00 -
[68]
Hehe - Of course it will change the market... it opens it up.
However, 3 points: - With Warp to Zero, intra-region Trading as a mini-profession is pretty non-existent. Trade routes aren't really anything that they used to be, so keeping them secret doesn't really change much. It does however open the market up to the one who spots these routes properly.
- Consequent to this, it benefits those in 0.0 and outlyer markets, as the systems next to 0.0 and lowsec will be filled to the brim with good stuff that sells well in those regions. Like Interceptors + related kit. This makes trading and shipping a worthwhile mini-profession again, and traders drastically need some CCP love!
- Like stock markets, the commodities are all there for all to see and the whole price history and so forth. It still takes a good serving of nous to work out which commodities to trade in and manufacture.
- The big point about this is that everyone will be in the same boat, so noone will have a bigger advantage over the next guy. And the likes of Battleclininc and Eve-Central will blossom in their market analysis tools, so you don't have to do any of that stuff.
The issues you discuss - while valid and a good point - are short-term: as people see the volumne of trades in a particular item and saturate the market with that particular item, you will have the same situation as the Raven market. IOW, he who has the most ME'd BPO wins, cos there certainly ain't no profit in it, and it's drastically over-supplied. And I'm not sure about you, but I don't trade Ravens for that reason!
Anyway, rationale aside, the fact is what is stopping an alliance from issuing corporate decrees to all members to buy 1 tritanium or whichever commodity in whichever region they're in on a daily basis (or just using an army of trial accounts), and thus registering in the wallet exports the same data... opening up the dumps in this way makes it fairer for all!
|
Rhysheline
Gallente
|
Posted - 2007.06.20 16:08:00 -
[69]
For those that like to use php instead of python, here is a code snipet that should allow you to connect, post, and get data back. Parsing is left for another day
Quote: <?php
$site='api.eve-online.com';//Website to post to $file='/char/CharacterSheet.xml.aspx';//which api are you trying to pull from $post = array('characterID'=>'#changeme#', 'userid'=>'222834', 'apikey'=>'RGdosyTMjlKIeESvEhAIbpfRAQeoTCcQHRDlZNAjRbImKMvxMdPNr8IFtlkdYEeg');
$open = curl_init($site . $file);//cURL the site
curl_setopt($open, CURLOPT_POST, 1);//Tell it to post the data curl_setopt($open, CURLOPT_HEADER, 0); curl_setopt($open, CURLOPT_POSTFIELDS, http_build_query($post));//The data that needs to be posted
curl_exec($open);// does the work curl_close($open);// cleanup ?>
|
|
CCP Garthagk
|
Posted - 2007.06.20 16:46:00 -
[70]
Edited by: CCP Garthagk on 20/06/2007 16:47:03 After some discussion, we've decided to slightly change the way the API keys work. Notably, there will be two keys going forward: a low security one and a high security one.
Basically, the low security key will provide access to three pages:
/account/Characters.xml.aspx - characters on your account /char/CharacterSheet.xml.aspx - your charsheet (skills mostly) /char/SkillInTraining.xml.aspx - what skill you're training
This is basically the EVEMon functionality. I also expect people to build tools for their corporation/alliance that will ask for this low security key in order to keep track of everybody's training and such.
The high security key will provide access to all of the above and additionally personal and corporate financial information. This is pretty close to giving out your password. This will mostly be for people who are writing their own tools or if you really, really trust some website or program.
As you might expect, CCP is not responsible for how you use your API keys. If you give them out and someone uses the information contained in the exports to hunt you down or steal your profits, then you probably should have been more careful.
I'm going to have the above two key system ready before public launch tomorrow... it's not in place yet. But will be before we go live!
Edit: There may be more changes to broaden the security functionality of this system going forward. This is an evolution, so it will be good to see how things work out before making too many big sweeping decisions. For now, this feels like a good balance of security and ease of use.
-------------- Garthagk - EVE Web Guy
To err is human to really ***** up takes admins. -Hellmar |
|
|
Rhysheline
Gallente
|
Posted - 2007.06.20 16:48:00 -
[71]
I do believet hat's going to make everyone a lot happier now.
|
Popsikle
Minmatar Shadows of the Dead Aftermath Alliance
|
Posted - 2007.06.20 16:50:00 -
[72]
Edited by: Popsikle on 20/06/2007 16:54:10
Originally by: Rhysheline For those that like to use php instead of python, here is a code snipet that should allow you to connect, post, and get data back. Parsing is left for another day
And here is a non curl snippet!
Quote:
$auth = "userID=youruserid"; $auth .= "&apiKey=yourapikey"; $auth .= "&characterID=charid";
$head = "POST /char/CharacterSheet.xml.aspx HTTP/1.0\r\n"; $head .= "Host: api.eve-online.com\r\n"; $head .= "Content-Type: application/x-www-form-urlencoded\r\n"; $head .= "Content-Length: " . strlen($auth) . "\r\n"; $head .= "Connection: close\r\n\r\n"; $fp = fsockopen ('api.eve-online.com', 80, $errno, $errstr, 30);
if (!$fp) { echo 'fsock failed; damn muppets! '.$errstr; exit(); }
fputs($fp, $head); fputs($fp, $auth); $data=''; while (!feof($fp)) { $data.=fgets($fp,128); } fclose ($fp); echo $data;
____
<t20> i want to be in a manager potition at Hooters <SaraDawn> Garthagk, do you have it up ? <Garthagk> I can get it up anytime. |
TornSoul
BIG BIG is Beautiful
|
Posted - 2007.06.20 16:51:00 -
[73]
Originally by: Rhysheline I do believet hat's going to make everyone a lot happier now.
/Me is very very happy, elated and can now sleep at night BIG Lottery [url |
Laendra
|
Posted - 2007.06.20 17:35:00 -
[74]
Much love Garthagk...thanks for listening to our whining ------------------- Brainstorm ideas to make EVE better:->http://eve.stormingbrains.org/index.php
|
Ray McCormack
BIG
|
Posted - 2007.06.20 18:27:00 -
[75]
Originally by: Ovno ConSyquence
Originally by: maltari
Originally by: Mr Horizontal
Originally by: Ray McCormack How about a Regional Market History export?
I second this. It should be quite easy to just dump all the price history tables to static files during downtime, requestable by sending ItemID and RegionID - either by having special file names ie XXXX-YYYY-history.xml (where XXXX = ItemID and YYYY = RegionID) or by having a smarter ASPX file that accepts them as POST variables.
These files simply need the date, lowest, highest and that day's Regional Average for any given item in any given region.
Then the current lowest, highest and Regional Average price can be updated on a 15 minute basis on an as-requested basis, much like the skill card.
It should be possible, yes. But it would completely change the market... Because with that addition, you wouldn't even need to look at the market to know what to do, a little script could do it for you, parsing the market and your orders... would be way too powerful IMHO...
I'd love to have this, but it would entirely change the nature of the market as you could easily check what sells well, what produces the most profit etc.. and then only build/trade that.
And more importantly it would make all the time i put into writing a market export analyser which does exactly that, completly worthless....
Let alone the time it takes to manually export every item on the market across 3 or 4 regions
I don't see it affecting the market that much, as it would simply adapt to what is being done. All it provides is easier access to information that is already there, which is what this API is all about.
Now, while it may take a considerable time to do a dump of count(itemID) * count(regionID) that many items is pointless as it is already done and exists in the form of the Market History table. We just need a way to access that exact same information through the API.
| WTS Archons and Nidhoggurs | BMBE ISK Loans | |
Vessper
Black Thorne Corporation
|
Posted - 2007.06.20 18:40:00 -
[76]
I'm so glad to see the "characters on your account" page is in the initial release of the API, together with the high/low security APIkeys for different application purposes.
Fantastic stuff
--------------------
|
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.20 19:10:00 -
[77]
Originally by: CCP Garthagk After some discussion, we've decided to slightly change the way the API keys work. Notably, there will be two keys going forward: a low security one and a high security one.
Glad to see that something changed in a good way. What about other suggestions? RESTful model as one of them. Or IIS is too stupid to allow URL maping like normal webservers does? -- . |
FlashFF
|
Posted - 2007.06.20 21:14:00 -
[78]
I honestly dont see that the RESTful model is massively important. In fact, given the choice I'd personally go without it.
|
Idle Bow
Gallente Genesis Claymores
|
Posted - 2007.06.20 23:20:00 -
[79]
Edited by: Idle Bow on 20/06/2007 23:21:49 ups..
|
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.20 23:37:00 -
[80]
Edited by: Tonto Auri on 20/06/2007 23:39:19
Originally by: FlashFF I honestly dont see that the RESTful model is massively important. In fact, given the choice I'd personally go without it.
Noone said that is important, and on IIS, I think, it cannot be fully implemented anyway. But at least moving authorisation to HTTP level (supported by all servers and most clients) and using HTTPS for API calls (supported by most servers and already exists on EVE-o) would be significant benefit to interaction.
One real change I'll be pleased to see - it's removal of /account/Characters.xml.aspx - characters on your account
I do NOT need to expose all my alts (even if they exists or not). -- . |
|
DeTox MinRohim
Madhatters Inc. M. PIRE
|
Posted - 2007.06.21 00:05:00 -
[81]
Edited by: DeTox MinRohim on 21/06/2007 00:05:39
Originally by: Popsikle
And here is a non curl snippet!
You're late mate Linkage
But yours is at its simplest form so all good (And better for the comprehension) ------ This sig space is Read-only ! omgalink |
Laendra
|
Posted - 2007.06.21 00:37:00 -
[82]
Edited by: Laendra on 21/06/2007 00:36:51 FEATURE REQUEST: add allianceID and allianceName to the CharacterSheet.xml.aspx output and Characters.xml.aspx output. Default to 0 and 'None' ------------------- Brainstorm ideas to make EVE better:->http://eve.stormingbrains.org/index.php
|
Laendra
|
Posted - 2007.06.21 00:42:00 -
[83]
FEATURE REQUEST: please add a CorporationsList.xml.aspx page to list Corporations and the alliances they are in to complement the AllianceList.xml.aspx output.
fields: corporationID, corporationName, allianceID [default 0], allianceName [default 'None'] ------------------- Brainstorm ideas to make EVE better:->http://eve.stormingbrains.org/index.php
|
Popsikle
Minmatar Shadows of the Dead Aftermath Alliance
|
Posted - 2007.06.21 01:01:00 -
[84]
Originally by: DeTox MinRohim Edited by: DeTox MinRohim on 21/06/2007 00:05:39
Originally by: Popsikle
And here is a non curl snippet!
You're late mate Linkage
But yours is at its simplest form so all good (And better for the comprehension)
Lol, I totally missed that post ;p ____
<t20> i want to be in a manager potition at Hooters <SaraDawn> Garthagk, do you have it up ? <Garthagk> I can get it up anytime. |
Salvis Tallan
Gallente The Shadow Order Hydra Alliance
|
Posted - 2007.06.21 02:44:00 -
[85]
Originally by: Laendra Edited by: Laendra on 21/06/2007 00:36:51 FEATURE REQUEST: add allianceID and allianceName to the CharacterSheet.xml.aspx output and Characters.xml.aspx output. Default to 0 and 'None'
Agreed. Also thanks to my primitive skillz related to this, naming everything row or rowset threw a big wrench into the works. Gotta figure some more stuff out.
Also gotta vote no on market info throught the site... ------
|
Amida Ta
|
Posted - 2007.06.21 06:35:00 -
[86]
Originally by: Tonto Auri Noone said that is important, and on IIS, I think, it cannot be fully implemented anyway. But at least moving authorisation to HTTP level (supported by all servers and most clients) and using HTTPS for API calls (supported by most servers and already exists on EVE-o) would be significant benefit to interaction.
HTTPS is probably not a good idea to use. With the supposed usage model (LOTS of atomic calls) it would put gigantic stress onto the server.
|
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.21 08:47:00 -
[87]
Originally by: Amida Ta HTTPS is probably not a good idea to use. With the supposed usage model (LOTS of atomic calls) it would put gigantic stress onto the server.
HTTPS is a generally good idea and I know servers working explicitly over SSL with lots of clients. -- . |
Ray McCormack
BIG
|
Posted - 2007.06.21 09:03:00 -
[88]
Originally by: Salvis Tallan Also gotta vote no on market info throught the site...
Can you provide some reasoning behind that statement?
As, in my mind, it's data that is already available just not in an easily accessible form.
| WTS Archons and Nidhoggurs | BMBE ISK Loans | |
Oshaga Nanir
Amarr Oberon Incorporated
|
Posted - 2007.06.21 09:29:00 -
[89]
Originally by: Ray McCormack
Originally by: Salvis Tallan Also gotta vote no on market info throught the site...
Can you provide some reasoning behind that statement?
As, in my mind, it's data that is already available just not in an easily accessible form.
Been thinking about that aswell, yesterday my opinion was strongly against it...though after some reasoning it's as you say data that is already available.
I'm all for it, of course the limit would be that your character must be in that region you wanna get the market data from. To fetch all region markets you would need a character in each one of them. Otherwise this would be a feature better than the in-game market and I don't think it's fair to go further than the in-game features.
--- Happy hauling in 0.0, out. |
Bloody Bolt
|
Posted - 2007.06.21 10:17:00 -
[90]
Do we have any information when Beta in API finishes? I'm desperate to try it :) There were some promises for today, but it wasn't clear enough, were those promises for wide audiency or just Beta testers. By the way, are there any chances to become a Beta tester?
|
|
Ray McCormack
BIG
|
Posted - 2007.06.21 10:24:00 -
[91]
Originally by: Oshaga Nanir I'm all for it, of course the limit would be that your character must be in that region you wanna get the market data from. To fetch all region markets you would need a character in each one of them. Otherwise this would be a feature better than the in-game market and I don't think it's fair to go further than the in-game features.
Yer, nice idea that.
| WTS Archons and Nidhoggurs | BMBE ISK Loans | |
DeTox MinRohim
Madhatters Inc. M. PIRE
|
Posted - 2007.06.21 11:21:00 -
[92]
Originally by: Bloody Bolt Do we have any information when Beta in API finishes? I'm desperate to try it :) There were some promises for today, but it wasn't clear enough, were those promises for wide audiency or just Beta testers. By the way, are there any chances to become a Beta tester?
Yup, an ETA even approximative would be nice
------ This sig space is Read-only ! omgalink |
Eddie Knight
Empirius Enigmus Navy Dark Matter Coalition
|
Posted - 2007.06.21 11:34:00 -
[93]
Originally by: DeTox MinRohim
Originally by: Bloody Bolt Do we have any information when Beta in API finishes? I'm desperate to try it :) There were some promises for today, but it wasn't clear enough, were those promises for wide audiency or just Beta testers. By the way, are there any chances to become a Beta tester?
Yup, an ETA even approximative would be nice
According to the Patch Notes:
Originally by: Patch Notes
EVE Data Export
The EVE Data Export project will allow players to view information about the game world, their characters, corporations and more. Through the use of the API key process (EVE-specific documentation available here players will be able to export the following:
* Character(s) on your account, * Current data on character skill training, * Character skill sheet, including trained skills, implants, etc., * The EVE skill tree, including all published skills, descriptions, training modifiers and times, etc., * Corporation information (corporation details, members, base, date of join, etc., * Wallet balance (corporation & personal, including divisions), * Wallet journal log (corporation & personal, including divisions), * Market transaction log (corporation & personal, including divisions), and * Solar system sovereignty.
Documentation for the API key process can be found here. More information will be added to the API page and document in the future.
These features will be deployed on Thursday 21 June, during the daily maintenance period, not during the deployment of Revelations on Tuesday.
_____________
|
Kuame Lore
|
Posted - 2007.06.21 12:26:00 -
[94]
its working kids lets get to work
|
Salvis Tallan
Gallente The Shadow Order Hydra Alliance
|
Posted - 2007.06.21 14:16:00 -
[95]
Originally by: Ray McCormack
Originally by: Salvis Tallan Also gotta vote no on market info throught the site...
Can you provide some reasoning behind that statement?
As, in my mind, it's data that is already available just not in an easily accessible form.
My reason is about 6 months in the works, and not done...
Also, Why why why did you change the charsheet on the API and yet leave the charsheet you can download the same?!!? Gah! So much more needless coding now because not only do i have to parse them differently (not too big an issue), but ill need to handle them individually as well (annoyingly ugly code). ------
|
Chruker
|
Posted - 2007.06.21 14:36:00 -
[96]
Just a little tool I made satisfy the initial curiosity: http://games.chruker.dk/eve_online/test_eve_api.php ----- http://games.chruker.dk/eve_online ----- Top wishes: - No daily downtime - Faster training on sisi - Updated data export - Speedup IGB table rendering |
Salvis Tallan
Gallente The Shadow Order Hydra Alliance
|
Posted - 2007.06.21 14:40:00 -
[97]
Edited by: Salvis Tallan on 21/06/2007 14:41:28 Edited by: Salvis Tallan on 21/06/2007 14:40:57 And just as I get a class going to handle the new char sheet... They changed it. Please go back to where the still had the name in it as well, and not just the number. Right now its:
Quote: <rowset name="skills" key="typeID"> <row typeID="3431" level="3" skillpoints="8000"/> <row typeID="3413" level="3" skillpoints="8000"/> <row typeID="21059" level="1" skillpoints="500"/> <row typeID="3416" level="3" skillpoints="8000"/> </rowset>
used to be:
Quote: <rowset name="skillGroups"> <row groupName="Electronics" groupID="272"> <rowset name="skills"> <row typeName="Signature Analysis" typeID="3431"> <groupID>272</groupID> <flag>7</flag> <rank>1</rank> <skillpoints>8000</skillpoints> <level>3</level> <skillLevel1>250</skillLevel1> <skillLevel2>1414</skillLevel2> <skillLevel3>8000</skillLevel3> <skillLevel4>45255</skillLevel4> <skillLevel5>256000</skillLevel5> </row> </rowset> </row> <row groupName="Learning" groupID="273"> <rowset name="skills"> <row typeName="Charisma" typeID="3637"> <groupID>272</groupID> <flag>7</flag> <rank>1</rank> <skillpoints>8000</skillpoints> <level>3</level> <skillLevel1>250</skillLevel1> <skillLevel2>1414</skillLevel2> <skillLevel3>8000</skillLevel3> <skillLevel4>45255</skillLevel4> <skillLevel5>256000</skillLevel5> </row> </rowset> </row> </rowset>
Second one was MUCH MUCH nicer and eaiser ------
|
|
CCP Garthagk
|
Posted - 2007.06.21 14:56:00 -
[98]
Originally by: Salvis Tallan Second one was MUCH MUCH nicer and eaiser
It was also a waste of bandwidth and redundant. Use /eve/SkillTree.xml.aspx to get the information about what is what.
-------------- Garthagk - EVE Web Guy
To err is human to really ***** up takes admins. -Hellmar |
|
|
CCP Garthagk
|
Posted - 2007.06.21 14:58:00 -
[99]
Originally by: Salvis Tallan Also, will the downloadable character sheet ever match the API one?
The "XML DATA" link one on the My Character page will be switching over to use the new API in about two weeks. We're waiting until EVEMon and other people get a chance to update their code before we remove the old functionality.
So yes - just not yet.
-------------- Garthagk - EVE Web Guy
To err is human to really ***** up takes admins. -Hellmar |
|
Salvis Tallan
Gallente The Shadow Order Hydra Alliance
|
Posted - 2007.06.21 15:02:00 -
[100]
Originally by: CCP Garthagk
Originally by: Salvis Tallan Second one was MUCH MUCH nicer and eaiser
It was also a waste of bandwidth and redundant. Use /eve/SkillTree.xml.aspx to get the information about what is what.
pwned. I was trying to avoid coding any sort of skill info at all (been just displaying and using the xml untill now). Well, its good to hear that the other charsheet will be switched over. ------
|
|
Arriadna
Gallente Night Guards
|
Posted - 2007.06.21 15:27:00 -
[101]
Cool feature. Just add fuel in corp poses to it pls.
|
CrazyIvan
Minmatar Calista Industries Brutally Clever Empire
|
Posted - 2007.06.21 15:42:00 -
[102]
This is great I really like the new data exports. (I slapped together a php script that gets the data so far, now to write something that does something useful with it.)
However I'd like to note, I noticed on the 'my character' page, that the data exports are now there but are using 'GET' instead of 'POST' to pass the authentication keys.
This is a security risk for users that don't realize those 'GET' addresses contains their private keys, they might copy/paste that address to some place public (del.icio.us for example).
CCP should change those links from 'GET' Links to form 'POST's to mask the keys. (and prolly not accept 'GET's at all, only accept 'POST')
for example, change: <a href=http://api.eve-online.com/char/WalletJournal.csv.aspx?userID=xxx&apiKey=xx&characterID=xx>Wallet Journal</a> to <form action='http://api.eve-online.com/char/WalletJournal.csv.aspx' method='post'> <input type='hidden' name='userID' value='xxxx'> <input type='hidden' name='apiKey' value='xxxx'> <input type='hidden' name='characterID' value='xxxx'> <input type='hidden' name='accountKey' value='xxxx'> <input type='submit' name='Wallet Journal' value='Wallet Journal'> </form>
or something similar.. just change the url links to forms..
just my two cents.
|
Lireil Crow
DAB RAZOR Alliance
|
Posted - 2007.06.21 15:47:00 -
[103]
Edited by: Lireil Crow on 21/06/2007 15:47:56 Edited by: Lireil Crow on 21/06/2007 15:45:59 yo here is a
Journal Viewer
just fill in your information in the blanks there.
http://www.tddwebhost.com/TDFile/walletjournal.txt
|
Elissen
Amarr The Arrow Project
|
Posted - 2007.06.21 15:53:00 -
[104]
Looking very nice!
But I hope that the following will be added as well: - coporations in an alliance - alliance name and ID in /char/CharacterSheet.xml.aspx - alliance logo's added to the alliance file - if somebody tries to take over sovereignty in a system (as seen in this dev blog) - date of birth and security status added to /char/CharacterSheet.xml.aspx - outposts & conquerable stations (owner, type of station, expansions) - system claimed since in /map/Sovereignty.xml.aspx ---- Weeks of programming can save you hours of planning. Jumpplanner v2.0 - Routeplanner for all jumpcapable ships! |
Ray McCormack
BIG
|
Posted - 2007.06.21 15:59:00 -
[105]
Originally by: Salvis Tallan
Originally by: Ray McCormack
Originally by: Salvis Tallan Also gotta vote no on market info throught the site...
Can you provide some reasoning behind that statement?
As, in my mind, it's data that is already available just not in an easily accessible form.
My reason is about 6 months in the works, and not done...
So basically you don't want it because you've been coding something that will be made redundant? A little selfish, don't you think?
| WTS Archons and Nidhoggurs | BMBE ISK Loans | |
Jane Spondogolo
NoobWaffe
|
Posted - 2007.06.21 16:23:00 -
[106]
Well its a fair call I guess, but this is better in the long run.
Also big ups to the curl-less call before. I was banging my head on snoopy.class trying to do this, and this works prrrrrrfect. ______ Unrepentant Southern Federation Cheerleader.
|
Popsikle
Minmatar Shadows of the Dead Aftermath Alliance
|
Posted - 2007.06.21 16:35:00 -
[107]
Originally by: CrazyIvan Edited by: CrazyIvan on 21/06/2007 15:55:41 This is great I really like the new data exports. (I slapped together a php script that gets the data so far, now to write something that does something useful with it.)
However I'd like to note, I noticed on the 'my character' page, that the data exports are now there but are using 'GET' instead of 'POST' to pass the authentication keys.
This is a security risk for users that don't realize those 'GET' addresses contains their private keys, they might copy/paste that address to some place public (del.icio.us for example).
CCP should change those links from 'GET' Links to form 'POST's to mask the keys. (and prolly not accept 'GET's at all, only accept 'POST')
for example, change: <a href='http://api.eve-online.com/char/WalletJournal.csv.aspx?userID=xxx&apiKey=xx&characterID=xx'>Wallet Journal</a>
to
<form action='http://api.eve-online.com/char/WalletJournal.csv.aspx' method='post'> <input type='hidden' name='userID' value='xxxx'> <input type='hidden' name='apiKey' value='xxxx'> <input type='hidden' name='characterID' value='xxxx'> <input type='hidden' name='accountKey' value='xxxx'> <input type='submit' name='Wallet Journal' value='Wallet Journal'> </form>
or something similar.. just change the url links to forms..
just my two cents.
Garthagk said a few times he will be removing the get's. They are there because tis alot easier for us to debug that way ;)
____
<t20> i want to be in a manager potition at Hooters <SaraDawn> Garthagk, do you have it up ? <Garthagk> I can get it up anytime. |
Salvis Tallan
Gallente The Shadow Order Hydra Alliance
|
Posted - 2007.06.21 16:44:00 -
[108]
Originally by: Ray McCormack
Originally by: Salvis Tallan
Originally by: Ray McCormack
Originally by: Salvis Tallan Also gotta vote no on market info throught the site...
Can you provide some reasoning behind that statement?
As, in my mind, it's data that is already available just not in an easily accessible form.
My reason is about 6 months in the works, and not done...
So basically you don't want it because you've been coding something that will be made redundant? A little selfish, don't you think?
Absolutly. Let explain a bit. I am a huge proponent of going out and doing something myself, rather than wanting it given to me. I do not like to be handed anything if it is already avalible to me but simply a pain to go and get. Such as market info. I find it much more satisfying when I can look back at a tough job and see it accomplished than just going, 'oh I did something anyone could have done'. Sorry, thats just my opinion. ------
|
jide
|
Posted - 2007.06.21 16:49:00 -
[109]
It would be cool if you could add
<?xml version="1.0"?> at the beginning of the response, and add an optional argument to all requests for a stylesheet name, which if set, would also add
<?xml-stylesheet type="text/xsl" href="theArgument.xsl"?> Then, we wouldn't need any server side code to go get the data and format it.
|
FireFoxx80
Caldari E X O D U S Imperial Republic Of the North
|
Posted - 2007.06.21 19:33:00 -
[110]
I'm in the process of writing a .NET class for the Eve API, returning DataSets/DataTables/Values from the EveAPI.
If anyone is interested I will make it public; might take the weekend to rewrite my cowboy code to something usable though.
What I do the rest of the time - Vote for a Jita bypass! |
|
Ovno ConSyquence
Amarr The Plebians
|
Posted - 2007.06.21 20:04:00 -
[111]
Originally by: FireFoxx80 I'm in the process of writing a .NET class for the Eve API, returning DataSets/DataTables/Values from the EveAPI.
If anyone is interested I will make it public; might take the weekend to rewrite my cowboy code to something usable though.
Very very interested |
Salvis Tallan
Gallente The Shadow Order Hydra Alliance
|
Posted - 2007.06.21 20:57:00 -
[112]
Originally by: FireFoxx80 I'm in the process of writing a .NET class for the Eve API, returning DataSets/DataTables/Values from the EveAPI.
If anyone is interested I will make it public; might take the weekend to rewrite my cowboy code to something usable though.
You can have my current code if it might help you, but all I did was make a Xsd from the xml, then I can just create a Dataset or class from that. This is all new to me, so it might not be the greatest. I would be interested in learning more ways to do it tho (some of the classes from the api through his method are huge). ------
|
Vessper
Black Thorne Corporation
|
Posted - 2007.06.21 21:40:00 -
[113]
The API documentation for the charactersheet.xml.aspx appears to show that implants are back in the XML. This doesn't appear to be the case in the actual XMLs I've downloaded.
Any chance of getting the implant information back on this file please?
Thanks in advance
--------------------
|
BubbaZanetti
|
Posted - 2007.06.21 21:50:00 -
[114]
Goofing around with this.
The MyEve character xml stuff has all the character ID's on the account in it. So I got my character ID's from there. But wanting to move to a purely programmatic solution, so that any app can start with just the user and key, I can't find a query that takes only those and returns character ID's.
Am I just overlooking it?
I tried querying the character sheet page without a character ID, but it just returned an error.
|
Lireil Crow
DAB RAZOR Alliance
|
Posted - 2007.06.21 22:09:00 -
[115]
Is there anyway to get a assets API I have a few ideas I would like to do, but it would need that.
I would really like to get one for eve-mail also, (for a killmail auto updater were it it will take the killmaill from your eve-mail feed and auto post it)
one more useful one that might be handy is the one that you can get market data from, (maybe make this one a once a day feed thing... because of its size)
|
WileyCoyote
|
Posted - 2007.06.21 22:11:00 -
[116]
Little PHP app I made real quick:
http://www.gsibble.net/eve/journal.php
This is pulling from a local CSV file for one of my characters.
|
Vessper
Black Thorne Corporation
|
Posted - 2007.06.21 23:14:00 -
[117]
Originally by: BubbaZanetti
The MyEve character xml stuff has all the character ID's on the account in it. So I got my character ID's from there. But wanting to move to a purely programmatic solution, so that any app can start with just the user and key, I can't find a query that takes only those and returns character ID's.
Am I just overlooking it?
I tried querying the character sheet page without a character ID, but it just returned an error.
Send the userID and APIKey to the /account/characters.xml.aspx file and it will return all the characters on that account including names, IDs, corp names and corp IDs.
--------------------
|
Amida Ta
|
Posted - 2007.06.21 23:54:00 -
[118]
Where do I get the AllianceNames from? The services only deliver an ID.
|
Mosic
|
Posted - 2007.06.22 01:39:00 -
[119]
I like the sovereignty map info, but I really need another thing with it- is there an api for retrieving which solar systems connect to which other solar systems?
I've been looking around but don't see any documentation for what systems have gates to what other systems, but I'm probably missing something obvious...
I appreciate it!
|
Jane Spondogolo
NoobWaffe
|
Posted - 2007.06.22 04:22:00 -
[120]
Originally by: FireFoxx80 I'm in the process of writing a .NET class for the Eve API, returning DataSets/DataTables/Values from the EveAPI.
If anyone is interested I will make it public; might take the weekend to rewrite my cowboy code to something usable though.
Peachy keen Firefox. I'm working on a PHP class abstraction as well
Something like eve->{corp}->{username}->{attribute} type thing. ______ Unrepentant Southern Federation Cheerleader.
|
|
NetMage
|
Posted - 2007.06.22 05:38:00 -
[121]
Edited by: NetMage on 22/06/2007 05:38:36 Edited by: NetMage on 22/06/2007 05:37:57 My documentation for /account/Characters.xml.aspx (repost):
/account/Characters.xml.aspx Returns the characters with their characterID and corporation with corporationID for each character associated with a userID (account).
Method Parameters name data type description/purpose userID number user account number apiKey stringer user authentication token
Method Sample Output <eveapi version="1"> <currentTime>2007-06-22 04:57:06</currentTime> <result> <rowset name="characters" key="characterID"> <row name="NetMage" characterID="########" corporationName="State War Academy" corporationID="1000167"/> </rowset> </result> <cachedUntil>2007-06-22 05:57:06</cachedUntil> </eveapi>
BTW, what is stringer?
|
Elissen
Amarr The Arrow Project
|
Posted - 2007.06.22 06:54:00 -
[122]
Originally by: Mosic I like the sovereignty map info, but I really need another thing with it- is there an api for retrieving which solar systems connect to which other solar systems?
I've been looking around but don't see any documentation for what systems have gates to what other systems, but I'm probably missing something obvious...
I appreciate it!
You can download a data export here which contains all jumps also (except for the changes in a previous patch). I think that somebody else has updated this dump as well (you should be able to find it using eve-search.com) ---- Weeks of programming can save you hours of planning. Jumpplanner v2.0 - Routeplanner for all jumpcapable ships! |
Thalia Andrakonis
Gallente Universal Exports Namtz'aar k'in
|
Posted - 2007.06.22 07:08:00 -
[123]
Originally by: Elissen I think that somebody else has updated this dump as well (you should be able to find it using eve-search.com)
Chruker
|
BigWhale
Gallente
|
Posted - 2007.06.22 08:30:00 -
[124]
I bow before thou, oh great lord, accept my inexpressive gratitude for all the good things that were brought to us...
*moves away on his knees in solemn worship, head bent down*
:)
-- R, U, Y are letters...
|
Rex Rockefeller
|
Posted - 2007.06.22 08:32:00 -
[125]
i saw the wallet viewer.. i was wondering if someone could post a php coded page that could show character's skilltree info in some formated way. setup so i could call the page with auth variables in a link.
|
Neko Sornan
eXceed Inc. INVICTUS.
|
Posted - 2007.06.22 10:02:00 -
[126]
Originally by: Oshaga Nanir I'm all for it, of course the limit would be that your character must be in that region you wanna get the market data from. To fetch all region markets you would need a character in each one of them. Otherwise this would be a feature better than the in-game market and I don't think it's fair to go further than the in-game features.
Yes, that's a very good idea! Garthagk, can you give us your opinion on that when you've time please? |
Mario delTorres
GBTeam Ion Core
|
Posted - 2007.06.22 12:19:00 -
[127]
For javacoders an example how to get data: in this expample is actual skill training:
Quote: try{ String data = URLEncoder.encode("userID", "UTF-8") + "=" + URLEncoder.encode("yourID", "UTF-8"); data += "&" + URLEncoder.encode("apiKey", "UTF-8") + "=" + URLEncoder.encode("yourAPIKey", "UTF-8"); data += "&" + URLEncoder.encode("characterID", "UTF-8") + "=" + URLEncoder.encode("yourCharID", "UTF-8");
String link = "/char/SkillInTraining.xml.aspx"; URL url = new URL("http://api.eve-online.com"+link); URLConnection connection = url.openConnection(); ((HttpURLConnection)connection).setRequestMethod("POST"); connection.setDoOutput(true); connection.setDoInput(true); connection.setUseCaches(false); connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); PrintWriter output = new PrintWriter(new OutputStreamWriter(connection.getOutputStream())); output.write(data); output.flush(); output.close(); InputStream input = connection.getInputStream(); byte[] buffer = new byte[4096]; int bytes_read; while((bytes_read = input.read(buffer))!= -1) System.out.write(buffer,0, bytes_read);//or another method to parse the XML :)
}catch(Exception e){
System.err.println(e); }
----- Dont drink and drive, just smoke and fly! ----- |
D'sania
|
Posted - 2007.06.22 13:01:00 -
[128]
Hi, trying to access EVE API via Qt/C++ but keep getting error 106("Must provide userID... There exactly I should put userID and apiKey? To HTTP HEADER of my POST request or construct POST request as usual and put them in HTTP request data field? If in data field how they should be encoded? I tried to send both in http headers and in body of request (encoding to "userID=<here_my_userid>&apiKey=<here_my_apikey>") and results are same - error 106 Wher
|
Renton Thurston
Quantum Synergies Eternal Rapture
|
Posted - 2007.06.22 14:00:00 -
[129]
Originally by: NetMage Edited by: NetMage on 22/06/2007 05:38:36 Edited by: NetMage on 22/06/2007 05:37:57 My documentation for /account/Characters.xml.aspx (repost):
/account/Characters.xml.aspx Returns the characters with their characterID and corporation with corporationID for each character associated with a userID (account).
Method Parameters name data type description/purpose userID number user account number apiKey stringer user authentication token
Method Sample Output <eveapi version="1"> <currentTime>2007-06-22 04:57:06</currentTime> <result> <rowset name="characters" key="characterID"> <row name="NetMage" characterID="########" corporationName="State War Academy" corporationID="1000167"/> </rowset> </result> <cachedUntil>2007-06-22 05:57:06</cachedUntil> </eveapi>
BTW, what is stringer?
Thank you so much, my c# class was weeping because i couldn't get this easily =)
Are there more functions that don't have documentation yet?
-Renton
|
Mathew Chandra
|
Posted - 2007.06.22 14:13:00 -
[130]
Just a (hopefully) quick question, the data for orders is only providing a typeID for the item and no name. Is there anywhere an API available to reference the typeID to an item? Only thing ive found so far is an old devblog with a 32MB rar file containing such, but as the blog is old the item list is old too
|
|
Renton Thurston
Quantum Synergies Eternal Rapture
|
Posted - 2007.06.22 14:21:00 -
[131]
Originally by: Mathew Chandra Just a (hopefully) quick question, the data for orders is only providing a typeID for the item and no name. Is there anywhere an API available to reference the typeID to an item? Only thing ive found so far is an old devblog with a 32MB rar file containing such, but as the blog is old the item list is old too
Post 96 on Page 4.
Chruker's website will have a up to date mysql data dump. Check out his relational pdf for help linking tables.
-Renton
|
Mathew Chandra
|
Posted - 2007.06.22 14:31:00 -
[132]
Originally by: Renton Thurston
Originally by: Mathew Chandra Just a (hopefully) quick question, the data for orders is only providing a typeID for the item and no name. Is there anywhere an API available to reference the typeID to an item? Only thing ive found so far is an old devblog with a 32MB rar file containing such, but as the blog is old the item list is old too
Post 96 on Page 4.
Chruker's website will have a up to date mysql data dump. Check out his relational pdf for help linking tables.
-Renton
He is using the same old database from december as seen here: http://games.chruker.dk/eve_online/datadump.php
So if thats really the "newest" item database available, would be great if CCP could actualise it.
Btw it would be great if CCP changes the new APIs to be consistent. The orders only have typeID for items and the transaction log only has item names and no typeID. Best and simplest would be giving both an item name and typeID so it would be optional to use an item dump, or at last it would be possible to build the item database by its own as soon as an order generates an entry in the transaction log.
|
Bladebo
Flying Blacksmiths
|
Posted - 2007.06.22 15:14:00 -
[133]
Hello,
I want to know if the implant will appears in the <attributeEnhancers> section of the charactersheet XML ?
Thanks Bladebo the blade always beautiful ^^ |
Imuran
|
Posted - 2007.06.22 15:21:00 -
[134]
Edited by: Imuran on 22/06/2007 15:21:34 Edited by: Imuran on 22/06/2007 15:20:38 Having a few difficulties with the MarketTransactions. Cannot seem to differentiate between getting data from the corp and from persoanal info.
Can anyone enlighten me
Using straight ASP
characterid=000000 userId=11111111 apikey="abcdefg" accountkey=1002 beforeTransId= 0
DatatoSend="characterid="&characterId&"&userid="&userid&"&apikey="&apikey
if accountkey<>0 then DatatoSend=DatatoSend&"&accountKey="&accountkey if beforeTransId<>0 then DataToSend=DatatoSend&"&beforeTransId="&beforeTransId
dim xmlhttp set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP") xmlhttp.Open "POST","http://api.eve-online.com/char/WalletTransactions.xml.aspx",false xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" xmlhttp.send DataToSend
This appears to return the personal transactions not the corp ones
|
Fubar
Eagle Eye Inc.
|
Posted - 2007.06.22 15:58:00 -
[135]
Originally by: Imuran
"POST","http://api.eve-online.com/char/WalletTransactions.xml.aspx",false xmlhttp.setRequestHeader "Content-Type",
This appears to return the personal transactions not the corp ones
Corp URL = /corp/WalletTransactions.xml.aspx
Personal URL = /char/WalletTransactions.xml.aspx
|
FlashFF
|
Posted - 2007.06.22 16:32:00 -
[136]
Originally by: Jane Spondogolo
Originally by: FireFoxx80 I'm in the process of writing a .NET class for the Eve API, returning DataSets/DataTables/Values from the EveAPI.
If anyone is interested I will make it public; might take the weekend to rewrite my cowboy code to something usable though.
Peachy keen Firefox. I'm working on a PHP class abstraction as well
Something like eve->{corp}->{username}->{attribute} type thing.
I'm writing an object based abstraction module like that but in .NET :) I'm going along the route of having node objects linked to each other with a controlling class to make it easier to use.
|
FireFoxx80
Caldari E X O D U S Imperial Republic Of the North
|
Posted - 2007.06.22 17:48:00 -
[137]
Originally by: FlashFF
Originally by: Jane Spondogolo
Originally by: FireFoxx80 I'm in the process of writing a .NET class for the Eve API, returning DataSets/DataTables/Values from the EveAPI.
If anyone is interested I will make it public; might take the weekend to rewrite my cowboy code to something usable though.
Peachy keen Firefox. I'm working on a PHP class abstraction as well
Something like eve->{corp}->{username}->{attribute} type thing.
I'm writing an object based abstraction module like that but in .NET :) I'm going along the route of having node objects linked to each other with a controlling class to make it easier to use.
Yeah, I looked down the object abstraction route, but I'm probably going to use the data for data's sake; not for programming against it.
Anyway, mostly done now, just looking at some of the more fiddly stuff; will post tomorrow maybe.
What I do the rest of the time - Vote for a Jita bypass! |
Feldor Galedeep
Jovian Labs Kinetic Maelstrom Alliance
|
Posted - 2007.06.22 18:09:00 -
[138]
Is there or are we going to have access to a generic corp member list? not just a CEO / Director one.. i mean we should be able to... everyone can see a member listing when their in the corp no matter what level of access they have...
Creative Director Jovian Labs |
Amida Ta
|
Posted - 2007.06.22 18:13:00 -
[139]
Edited by: Amida Ta on 22/06/2007 18:12:31 Well, still hoping for a service/list with alliance names/IDs. Meanwhile here a sneak peak at version 0.1 of EVE Galaxy ;)
Eve Galaxy 0.1
P.S. Needs .Net Framework 2.0 to run.
|
FireFoxx80
Caldari E X O D U S Imperial Republic Of the North
|
Posted - 2007.06.22 19:24:00 -
[140]
Originally by: Feldor Galedeep Is there or are we going to have access to a generic corp member list? not just a CEO / Director one.. i mean we should be able to... everyone can see a member listing when their in the corp no matter what level of access they have...
You get a reduced data set.
What I do the rest of the time - Vote for a Jita bypass! |
|
FireFoxx80
Caldari E X O D U S Imperial Republic Of the North
|
Posted - 2007.06.22 19:39:00 -
[141]
Anyone getting the following error:
Wallet exhausted: try after xx:xx:xx xx:xx
??
What I do the rest of the time - Vote for a Jita bypass! |
Salvis Tallan
Gallente The Shadow Order Hydra Alliance
|
Posted - 2007.06.22 20:26:00 -
[142]
Quick question about cache times. How do they get determined, specifically the character sheet? ------
|
Jaabaa
Minmatar Dental Drilling Corporation
|
Posted - 2007.06.22 20:56:00 -
[143]
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 ? |
Fubar
Eagle Eye Inc.
|
Posted - 2007.06.22 21:33:00 -
[144]
Originally by: FireFoxx80 Anyone getting the following error:
Wallet exhausted: try after xx:xx:xx xx:xx
??
Yes. I get this error when trying to use the beforeTransID= argument.
The first page, which loads ok, contains 1000 rows. But, in my case, the last row is over 7 days old. I have check the last rows date to see if it is less than 7 days, if it is older than 7 days I don't try to retrieve another page of data.
I will have to try retrieving my journal data to see if the first 1000 row are less than 7 days.
So my guess is the api always returns 1000 rows of wallet data even if some of the rows are over 7 days old.
|
Chruker
|
Posted - 2007.06.22 21:46:00 -
[145]
Originally by: Mathew Chandra He is using the same old database from december as seen here: http://games.chruker.dk/eve_online/datadump.php
So if thats really the "newest" item database available, would be great if CCP could actualise it.
That is the newest item database available. There are some rumors in the eve-dev IRC channel about a datadump from CCP sometime next week. So keep your fingers crossed until then. ----- http://games.chruker.dk/eve_online ----- Top wishes: - No daily downtime - Faster training on sisi - Updated data export - Speedup IGB table rendering |
Imuran
|
Posted - 2007.06.23 10:40:00 -
[146]
Originally by: Fubar
Originally by: Imuran
"POST","http://api.eve-online.com/char/WalletTransactions.xml.aspx",false xmlhttp.setRequestHeader "Content-Type",
This appears to return the personal transactions not the corp ones
Corp URL = /corp/WalletTransactions.xml.aspx
Personal URL = /char/WalletTransactions.xml.aspx
Lol /me goes back and rtfm :)
|
Thalia Andrakonis
Gallente Universal Exports Namtz'aar k'in
|
Posted - 2007.06.23 11:11:00 -
[147]
Garthagk, I'm not sure I understand why the Python example uses httplib?
Isn't it easier to use:
from urllib import urlencode import urllib2
credentials = { 'userID': 256833, 'apiKey': 'DVPtgNgmyEGk9L9RxDTJn8dCjIraiaa7efNK4VlGKAoI6Hm8uB514zy6CbFCuScC', 'characterID': 150209812, } url = "http://api.eve-online.com/char/WalletTransactions.xml.aspx"
response = urllib2.urlopen(url, urlencode(credentials)) print response.read()
Errors (4xx, 5xx) will be raised as HTTPError, URLError or socket.Error exceptions by urlopen. 1xx and 3xx shouldn't happen and you can ignore all the 200 responses that show that it is working :)
PS: Is it ok to giggle about the length of the Java snippet posted above? :)
|
FireFoxx80
Caldari E X O D U S Imperial Republic Of the North
|
Posted - 2007.06.23 20:18:00 -
[148]
Edited by: FireFoxx80 on 23/06/2007 20:17:38 Here
Bear in mind it's incomplete. The Wallet and Journal transactions are crap, because of the way Eve API works.
Donations welcome ;)
What I do the rest of the time - Vote for a Jita bypass! |
Neko Sornan
eXceed Inc. INVICTUS.
|
Posted - 2007.06.23 20:26:00 -
[149]
Ok, what's really needed are the following services (in addition to the ones already there):
- Alliance Listening (ID->Name, perhaps Ticker) - Corp Listening (ID->Name, perhaps Ticker) - Alliance/Corp Standings
Especially the Standings Export would make thinks a lot easier!
|
Gripen
Rage and Terror Against ALL Authorities
|
Posted - 2007.06.23 21:14:00 -
[150]
Is there any Delphi users who can make an example with either TTCPClient or TClientSocket?
|
|
FireFoxx80
Caldari E X O D U S Imperial Republic Of the North
|
Posted - 2007.06.23 21:25:00 -
[151]
The sorts of things I'd like to see:
- More map information (kills in last 24h, pilots in space, etc..) - Standings for a char/corp/alliance
Oh, and getting the Walking stuff working properly would be fantastic.
What I do the rest of the time - Vote for a Jita bypass! |
Perin Ashedge
Minmatar Total Information Technology
|
Posted - 2007.06.23 22:27:00 -
[152]
I am having trouble parsing information in php and I am not sure why. The only way I can authenticate is by using the curl snippet, due to restrictions my host has instated. I'm quite new at parsing information via xml and/or csv, and I have spent the last few days on this problem (with googling a bunch of terms in hopes to shed some light). Is it really that hard or am I missing something? Sorry if this post doesn't make much sense.
|
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.23 23:55:00 -
[153]
Perin Ashedge, I can try to help You if You show Your code. EVEmail me in game. -- . |
nar9000
|
Posted - 2007.06.24 01:55:00 -
[154]
for php: <? set_time_limit(6000); // <--- allows program to run super long time...
$userid="yourdata here"; $apikey="yourdata here"; $characterid="yourdata here";
function member_list_update(){ global $url,$userid,$apikey,$characterid; $fetch=$url."MemberTracking.csv.aspx?userID=".$userid."&apiKey=".$apikey."&characterID=".$characterid; $fp=file($fetch); for($i=1;$i<sizeof($fp);$i++){ $member=split('[,]',$fp[$i]); $update_list[]=$member[0]; } return $update_list; }
print_r(member_list_update()); ?>
this program will dump array of members in your corp... hope that helps as a starter for php ppl
|
nar9000
|
Posted - 2007.06.24 01:57:00 -
[155]
i forgot to add:
$url="http://api.eve-online.com/corp/";
should go at the top...
|
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.24 03:28:00 -
[156]
I see at least 3 major mistakes in Your code. 1. <?php
2. set_time_limit(0); even longer than any number You can provide.
3. You use GET method, not defined in API doc. -- . |
Neonemesis
|
Posted - 2007.06.24 04:16:00 -
[157]
Originally by: Tonto Auri I see at least 3 major mistakes in Your code. 1. <?php
2. set_time_limit(0); even longer than any number You can provide.
3. You use GET method, not defined in API doc.
jeez u dont need <?php, <? will do it is exactly the same^^
|
zibelthurdos
Archron Dusyfe Industries
|
Posted - 2007.06.24 05:06:00 -
[158]
can we please get balances in csv like the journals and transactions
|
Nobues
DAB RAZOR Alliance
|
Posted - 2007.06.24 05:45:00 -
[159]
Edited by: Nobues on 24/06/2007 05:44:15
Originally by: Neonemesis
Originally by: Tonto Auri I see at least 3 major mistakes in Your code. 1. <?php
2. set_time_limit(0); even longer than any number You can provide.
3. You use GET method, not defined in API doc.
jeez u dont need <?php, <? will do it is exactly the same^^
no it will not, not all servers are setup to use <? and you always have to code for that. You must be a kid who never really knows how to program but thinks he does.
|
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.24 08:15:00 -
[160]
Edited by: Tonto Auri on 24/06/2007 08:15:44
Originally by: Neonemesis jeez u dont need <?php, <? will do it is exactly the same^^
Sure? Add
Quote: php_flag short_open_tagOff
to .htaccess and "feel the difference" (c)
Rule #0 of compatible coding: NEVER use functions marked as "obsolete" or "deprecated".
So...
allow_call_time_pass_referenceOff asp_tagsOff session.bug_compat_42Off short_open_tagOff
P.S. Using <? instead of classified tag causing XML validity check error too. -- . |
|
Ray McCormack
BIG
|
Posted - 2007.06.24 10:40:00 -
[161]
Originally by: Nobues You must be a kid who never really knows how to program but thinks he does.
That's uncalled for, mate. Absolutely no need for that in this thread. Simply explaining why it is needed would've sufficed.
| WTS Archons and Nidhoggurs | BMBE ISK Loans | |
Amida Ta
|
Posted - 2007.06.24 16:12:00 -
[162]
Could somebody with a webserver create a service that dumps the map data once a day? It seems it only gets update once a day anyways (during downtime) and having some history-data may be nice.
|
Amida Ta
|
Posted - 2007.06.24 16:49:00 -
[163]
Version 0.2 of EVE Galaxy is ready for testing ;)
News are: * Hardcoded Alliancenames (till we get an AllianceName-Retrieval-Service) * History graph display (needs a few days to collect data )
Eve Galaxy 0.2
|
Ashoka TG
Einherjar Rising
|
Posted - 2007.06.24 17:46:00 -
[164]
Why is it that I can access my wallet only once every so many minutes? Moreover, why isn't this limit documented anywhere. I can understand CCP wants to protect their servers from being hammered but this is the absolutel wrong way. Instead, why not just provide me with an input parameter which specifies the number of records I want to get. I was playing around with the API, now I have to stop for an hour or so because I checked all that I could... how am I ever supposed to test my application with this system in place? Come back and write a few lines of code every so many minutes?
Secondly, is a market export coming? I don't mind CCP saying no, I just want an answer, we've all been waiting too long. |
Elissen
Amarr The Arrow Project
|
Posted - 2007.06.24 18:02:00 -
[165]
Edited by: Elissen on 24/06/2007 18:03:03
Originally by: Amida Ta Version 0.2 of EVE Galaxy is ready for testing ;)
News are: * Hardcoded Alliancenames (till we get an AllianceName-Retrieval-Service) * History graph display (needs a few days to collect data )
Eve Galaxy 0.2
Do you mean this?
Originally by: Ashoka TG Why is it that I can access my wallet only once every so many minutes? Moreover, why isn't this limit documented anywhere. I can understand CCP wants to protect their servers from being hammered but this is the absolutel wrong way. Instead, why not just provide me with an input parameter which specifies the number of records I want to get. I was playing around with the API, now I have to stop for an hour or so because I checked all that I could... how am I ever supposed to test my application with this system in place? Come back and write a few lines of code every so many minutes?
Secondly, is a market export coming? I don't mind CCP saying no, I just want an answer, we've all been waiting too long.
The journal/wallet will only give you a response once per hour. Best thing to do for development is download it to your harddrive and develop on the saved file. When your done add the code to download it / access the url directly. ---- Weeks of programming can save you hours of planning. Jumpplanner v2.0 - Routeplanner for all jumpcapable ships! |
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.24 18:33:00 -
[166]
Originally by: Ashoka TG Why is it that I can access my wallet only once every so many minutes? Moreover, why isn't this limit documented anywhere.
It is documented(sic!) 1-hour cache time.
Quote: Secondly, is a market export coming? I don't mind CCP saying no, I just want an answer, we've all been waiting too long.
No and never. May be Your orders (accessible from wallet), but not for regional market. Go in game and press "export" button. -- . |
TornSoul
BIG BIG is Beautiful
|
Posted - 2007.06.24 18:57:00 -
[167]
Edited by: TornSoul on 24/06/2007 18:56:57
I only wish the 1 hour cache was per char, and not per account.
Pulling all wallets from 3 chars, you have to wait an hour betweeen each...
Could we please have this changed to a per char basis.
BIG Lottery [url |
Amida Ta
|
Posted - 2007.06.24 19:26:00 -
[168]
Originally by: Elissen
Do you mean this?
Whooo - how did you find out about this? Trial and error? Will update the app ;)
|
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.24 19:42:00 -
[169]
Originally by: TornSoul I only wish the 1 hour cache was per char, and not per account.
Pulling all wallets from 3 chars, you have to wait an hour betweeen each...
Could we please have this changed to a per char basis.
Damn.. Why I ask to DAMN REMOVE the ability to list characters on account. As they introduce open-level of access to characters, it should be the same level as in game, without accidental nor implied disclosure of information You do not wish to disclose!
Add CharName<->CharId converter and REMOVE THAT DAMN CHARLIST!! -- . |
Amida Ta
|
Posted - 2007.06.24 20:24:00 -
[170]
So here is a new version that gets the Alliance-data dynamically from the server. Strangely enough the data does not seem to be entirely complete (at least two missing)
EVE Galaxy 0.3
|
|
Serenity Steele
Rearden Steele
|
Posted - 2007.06.24 20:47:00 -
[171]
Has anyone got an VB code sample for .ASP to open an XML file from the eve API? ie the Sov stuff?
Also, anyone else notice that systems in 0.0 space that have a faction ID (eg. in Aridia) are also showing as having sov level 1?
Eve Strategic Maps - Outpost Alert - Sovereign Systems - Alliance Rank |
Ray McCormack
BIG
|
Posted - 2007.06.24 21:06:00 -
[172]
Originally by: Tonto Auri
Quote: Secondly, is a market export coming? I don't mind CCP saying no, I just want an answer, we've all been waiting too long.
No and never.
Your arguments against it are quite compelling.
Tbh, it's not the i-win button for traders everyone thinks it will be. It will simply be another tool in this great dynamic that is the EVE market. It will give no advantage that it doesn't counter-measure in itself.
| WTS Archons and Nidhoggurs | BMBE ISK Loans | |
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.24 22:21:00 -
[173]
Originally by: Ray McCormack Tbh, it's not the i-win button for traders everyone thinks it will be. It will simply be another tool in this great dynamic that is the EVE market. It will give no advantage that it doesn't counter-measure in itself.
Don't roll Your eyes, You know that NPC trading now is enough close to exploit to not boost it to new level. -- . |
Zhecao Vai
|
Posted - 2007.06.24 22:49:00 -
[174]
What's the purpose of the "accountID" field in the wallet balance information? (Shown here.)
|
voogru
Gallente Massive Damage
|
Posted - 2007.06.24 22:51:00 -
[175]
Edited by: voogru on 24/06/2007 22:50:18
Originally by: NetMage Edited by: NetMage on 22/06/2007 05:38:36 Edited by: NetMage on 22/06/2007 05:37:57 My documentation for /account/Characters.xml.aspx (repost):
/account/Characters.xml.aspx Returns the characters with their characterID and corporation with corporationID for each character associated with a userID (account).
Method Parameters name data type description/purpose userID number user account number apiKey stringer user authentication token
Method Sample Output <eveapi version="1"> <currentTime>2007-06-22 04:57:06</currentTime> <result> <rowset name="characters" key="characterID"> <row name="NetMage" characterID="########" corporationName="State War Academy" corporationID="1000167"/> </rowset> </result> <cachedUntil>2007-06-22 05:57:06</cachedUntil> </eveapi>
BTW, what is stringer?
What did you blank out your character ID for?
Seems kind of pointless :p
Your character ID is 527599434.
/me is writing tool to help character sellers and throw a monkey wrench at character scammers.
|
Ray McCormack
BIG
|
Posted - 2007.06.25 00:02:00 -
[176]
Originally by: Tonto Auri Don't roll Your eyes, You know that NPC trading now is enough close to exploit to not boost it to new level.
Then get rid of it if it's exploitable. But don't make that a reason for not making already available data easily accessible.
| WTS Archons and Nidhoggurs | BMBE ISK Loans | |
Jaabaa
Minmatar Dental Drilling Corporation
|
Posted - 2007.06.25 00:10:00 -
[177]
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. |
Tonto Auri
Center for Advanced Studies
|
Posted - 2007.06.25 00:31:00 -
[178]
Originally by: Jaabaa 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.
It is absolutely NOT need. Small tool to convert char name to charID (or even accept charname instead of charID) will be enough.
/account/Characters.xml.aspx - IS A SECURITY VIOLATION AND MUST BE REMOVED -- . |
Popsikle
Minmatar Shadows of the Dead Aftermath Alliance
|
Posted - 2007.06.25 01:00:00 -
[179]
Originally by: Tonto Auri
Originally by: Jaabaa 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.
It is absolutely NOT need. Small tool to convert char name to charID (or even accept charname instead of charID) will be enough.
/account/Characters.xml.aspx - IS A SECURITY VIOLATION AND MUST BE REMOVED
If you dont want to give anyone that access, dont give them your api key. I know most corps will require the api key before you are trusted with intel (forums) and this goes a long way in preventing spies ;)
If you dont want people to know, dont give them your key. Its no different then the access you give EVEMon now (username/password can be used to find all accounts too) ____
<t20> i want to be in a manager potition at Hooters <SaraDawn> Garthagk, do you have it up ? <Garthagk> I can get it up anytime. |
Popsikle
Minmatar Shadows of the Dead Aftermath Alliance
|
Posted - 2007.06.25 01:01:00 -
[180]
Originally by: Jaabaa Edited by: Jaabaa on 25/06/2007 00:14:49 My security concerns 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.
Again, the balance is displayed on tools like evemon. And if you dont want someone to know that info, dont give the key out. ____
<t20> i want to be in a manager potition at Hooters <SaraDawn> Garthagk, do you have it up ? <Garthagk> I can get it up anytime. |
|
Ashoka TG
Einherjar Rising
|
Posted - 2007.06.25 03:38:00 -
[181]
Edited by: Ashoka TG on 25/06/2007 03:37:30 Umm, I accessed my market transaction log yesterday and today when I access it again, it shows me entries starting 21-05-2007 (Yeah, i'm not a trader). So what happened to my entries after that. I didn't provide any beforeTransID or anything.
Can I access this info only once and then it is "cached"?
|
Elissen
Amarr The Arrow Project
|
Posted - 2007.06.25 07:35:00 -
[182]
Originally by: Amida Ta So here is a new version that gets the Alliance-data dynamically from the server. Strangely enough the data does not seem to be entirely complete (at least two missing)
EVE Galaxy 0.3
Are you sure they are missing? It is possible that alliances are deleted and possibly even re-created. I've seen what appeared to be that the allianceID changed . In that case that particular alliance was deleted and then re-created.
But what alliances are you missing and did you check ingame if they actually still exist? For example, the alliance "Strength in Numbers" disappeared from the XML last friday between 1:00 AM and 2:00 AM. My bet is that is was deleted. ---- Weeks of programming can save you hours of planning. Jumpplanner v2.0 - Routeplanner for all jumpcapable ships! |
Honneamise
Amarr Indomita Classis Ion Core
|
Posted - 2007.06.25 10:16:00 -
[183]
while retreiving data, the headers i receive are :
Quote:
HTTP/1.1 200 OK Connection: close Date: Mon, 25 Jun 2007 10:08:30 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: application/xml; charset=utf-8
it could be possible to get also "Content-Length : number" header ?
|
Curunir
Amarr EVE Corporation Making Everything
|
Posted - 2007.06.25 11:13:00 -
[184]
Originally by: Miranda Duvall I'd very much like an export of all my sell orders. Is that in the making?
Hangar export would be good also, but that has (slightly) less priority...
These two, combined with S&I export would give you a very fast way to calculate your (corps) worth and would be a great help to all IPO's out there
Don't forget the contracts (corp & characters). ;-) Would be a nice to have, too.
A warning by Mr. Cron that I'm running out of stock @ $LOCATION could be implemented without entering the stock data manually in a local database... that would be quite cool.
|
Dunedon
|
Posted - 2007.06.25 13:55:00 -
[185]
SUGGESTION / IDEA
An API that would allow us to track the incoming and outgoing corporate hanger contributions.
Thanks for the API's provided so far, hope to see more in the future (excellent work!)
- Dunedon ------ WYSIWYG: I don't post with an Alt ... if I die in game for having an opinion, at least I know someone listened. - Dunedon |
Ray McCormack
BIG
|
Posted - 2007.06.25 14:28:00 -
[186]
Originally by: Dunedon An API that would allow us to track the incoming and outgoing corporate hanger contributions.
I'm not sure that's possible or feasible, as corp hangars aren't logged or audited.
| WTS Archons and Nidhoggurs | BMBE ISK Loans | |
FireFoxx80
Caldari E X O D U S Imperial Republic Of the North
|
Posted - 2007.06.25 14:32:00 -
[187]
Since my other post got locked.
Does anyone have a list of unpublished API calls?
There is the one for alliances (/eve/Alliances.xml.aspx), but I am sure there are others.
What I do the rest of the time - Vote for a Jita bypass! |
Morris Falter
The Collective Against ALL Authorities
|
Posted - 2007.06.25 15:48:00 -
[188]
Corporation POS list and fuel levels - also corp and personal production jobs.
Would be fantastically useful! (If wide open for mr spy to try and infiltrate, but hell, if you're silly enough to give pos roles out, then more fool you...)
|
Arvoreen
Caldari Freedom-Technologies
|
Posted - 2007.06.25 16:03:00 -
[189]
So I'm working with the wallet journal ( and I think the same problem exists with transaction journal).
I've implemented a script expanding on the python example that will retrieve data for my corporation wallet and store the rows in a database (so I can then massage later with excel, etc.).
In order to prevent trying to get the same data, I check the database for the last refID I've stored, and don't try to retrieve anymore once I've found it.
This leads to a problem. If I want to check a different division, I get a message saying it was expecting a 'beforeRefID' of the last entry in the previous results. But that shouldn't apply once I switch divisions, right? It appears to have to do with the way the caching of data is working. Until you step through the entire cache, you can't start from the beginning again? (passing in a beforeRefID=0 doesn't help).
Also, it seems that both transactions and journal are cached by character instead of my division. So in order for me to pull data on various divisions, I have to wait an hour between each request. This seems kind of cumbersome. That would mean that if all 7 divisions were in use, it would take 7 hours to retrieve all the data for them. 1 division per hour.
Wait...it's worse. The cache appears to be by apikey, since if I have 2 characters, in 2 different corporations, I can't retrieve the data for my second character after just retrieving it for my first. I get the error indicating I need to wait an hour.
Can this be addressed, or are we stuck with these limitations?
|
DeTox MinRohim
Madhatters Inc. M. PIRE
|
Posted - 2007.06.25 16:26:00 -
[190]
Edited by: DeTox MinRohim on 25/06/2007 16:29:53
trainingEndTime in the Character information is sometimes wrong... dunno what happened recently but it doesn't give the right value anymore on some characters.
It seems to add 10 hours to the real training end time.
Example: http://eve.onewayweb.com/skillsheet.php?cid=902041617
This toon is finishing in 5 hours around 21H GMT tonight but according to the training xml file:
<trainingEndTime>2007-06-26 07:50:36</trainingEndTime>
Wich is wrong.
Note that on another char: http://eve.onewayweb.com/skillsheet.php#s16591
The training end time is right.
Why the difference on them ?
------ This sig space is Read-only ! omgalink - Online Skillsheet |
|
Neonemesis
|
Posted - 2007.06.25 16:47:00 -
[191]
hello
i got a prob with this API export, i managed to connect and retrieve data from it i tried to catch data from /char/CharacterSheet.xml.aspx as i did i got all my skills and the char data right also the balance the only thing that is wrong r the skill enhancers and the skills
i am using a socket connection via php
greetings
|
Rhysheline
Gallente
|
Posted - 2007.06.25 19:35:00 -
[192]
As promised here is an example for parsing the file using PHP. I encourage improvement though as this uses global variables for the functions.
Quote:
<?php
function parsefile($filename) { $return = array(); $currtag = '';
function parseit($filename) { global $return;
$parser = xml_parser_create(); xml_set_element_handler($parser, "startElement", "endElement"); xml_set_character_data_handler($parser, "characterData");
$fp = fopen( $filename, "r");
while ($data = fread($fp, 4096)) { $array = xml_parse(($parser), $data, feof($fp)); } xml_parser_free($parser); fclose($fp);
return $return; }
function startElement($parser, $tagName, $attrs) { global $return, $currtag; $string = '$return'; $currtag .= "^" . $tagName;
for ( $i=1; $i < count(explode("^", $currtag)); $i++ ) { $curr = explode("^", $currtag); $string .= "['" . $curr[$i] . "']"; }
foreach( $attrs as $a => $k ) { eval ($string . "['$a'] = $k;"); } }
function endElement($parser, $tagName) { global $currtag; $position = strrpos($currtag, '^'); $currtag = substr($currtag,0,$position); }
function characterData($parser, $data) { global $return, $currtag; $string = '$return';
for ( $i=1; $i < count(explode("^", $currtag)); $i++ ) { $curr = explode("^", $currtag); $string .= "['" . $curr[$i] . "']"; }
$string .= "['value'] = '$data';"; eval( $string ); if ( stristr($currtag, 'CACHEDUNTIL') === FALSE ) { } else { $return['cached'] = $data; } }
return parseit($filename); } ?>
Include this and then call the function. It will return an associative array for each level of the xml as well as an additional ['cached'] element that allows you to quickly determine how long that data is valid for (remember to offset GMT).
|
DeTox MinRohim
Madhatters Inc. M. PIRE
|
Posted - 2007.06.25 20:22:00 -
[193]
Edited by: DeTox MinRohim on 25/06/2007 20:24:54
Originally by: Rhysheline As promised here is an example for parsing the file using PHP. I encourage improvement though as this uses global variables for the functions.
I use this to parse the xml, you simply send the content to it and you get the array. Not the worst stuff I saw. (I modified it though ... not sure I remember why... but you'll find the one I use in my skillsheet thingie in my signature.).
include_once 'xml.php'; $parse = XML_parsecontent($xmlstuff);
EDIT: Yea I remember why now, the original was reading the xml from a file, I simply add a thing to make it able read the xml contained in a variable instead of a file. So you can do both with it.
------ This sig space is Read-only ! omgalink - Online Skillsheet |
Amida Ta
|
Posted - 2007.06.25 21:07:00 -
[194]
Edited by: Amida Ta on 25/06/2007 21:09:34
Originally by: Elissen Are you sure they are missing? It is possible that alliances are deleted and possibly even re-created. I've seen what appeared to be that the allianceID changed . In that case that particular alliance was deleted and then re-created.
Very well possible. Did code that up while watching some TV and didn't pay much attention ;) Well. Another cache for alliance data
BTW: New Eventlog ;)
|
TornSoul
BIG BIG is Beautiful
|
Posted - 2007.06.25 22:19:00 -
[195]
Originally by: Amida Ta
BTW: New Eventlog ;)
Slap some times on (hour:minute should do) and set up a RSS feed, and I think you'll make alot of ppl happy (if you havent already )
===========
As was mentioned a couple of times above (by me as well) - The caching scheme really needs to have a look-over.
As it is now its.. well.. cumbersome, if you want to pull all of your data (in a timely manner)
BIG Lottery [url |
TornSoul
BIG BIG is Beautiful
|
Posted - 2007.06.25 22:33:00 -
[196]
Just read through the backlog on IRC and found this
Quote:
[18:32] <comet> some people are reporting that if they want to query a different division, it still hits them with the one hour timeout. So, can the 1 hour timeout be character specific and division specific? [18:33] <Garthagk> it's supposed to be. [18:33] <Garthagk> if it's not, that's a bug.
There's hope!!
Now just pray Garth will actually have the time to fix it...
BIG Lottery [url |
Serenity Steele
Rearden Steele
|
Posted - 2007.06.25 22:44:00 -
[197]
Edited by: Serenity Steele on 25/06/2007 22:43:23 There are a number of systems not correctly showing sovereignty XML:
To name a few:
solarSystemIDsolarSystemName 30003147111-F1 30003697C4C-Z4 30002617Z-N9IP 30000811N7-BIY 30003611S-EVIQ Interestingly enough, this problem also *cough* exists in the game client cache *cough*
Eve Strategic Maps - Outpost Alert - Sovereign Systems - Alliance Rank |
Amida Ta
|
Posted - 2007.06.25 22:48:00 -
[198]
Originally by: TornSoul
Originally by: Amida Ta
BTW: New Eventlog ;)
Slap some times on (hour:minute should do) and set up a RSS feed, and I think you'll make alot of ppl happy (if you havent already )
Well as far as I've seen the data currently only gets updated once per day, so not much use for hour:minute ;) And I really don't like/use RSS, so nothing from me in this space either... In fact I wouldn't even have appropriate webspace at my disposal...
|
Scorpyn
Caldari Infinitus Odium
|
Posted - 2007.06.25 23:22:00 -
[199]
Let's see... one code to get access to everything? Did I understand that correctly?
If so, why not split it up into smaller parts? Like 1 code to view what characters are on a specific account, 1 code to see the skill list (perhaps this could be even more specific by only specifying certain skills or skillgroups), 1 code to see the wallet, 1 for corp wallet etc...
|
TornSoul
BIG BIG is Beautiful
|
Posted - 2007.06.25 23:33:00 -
[200]
Originally by: Amida Ta Well as far as I've seen the data currently only gets updated once per day, so not much use for hour:minute ;)
Doh.. I forgot that one is once a day only. nvm BIG Lottery [url |
|
Popsikle
Minmatar Shadows of the Dead Aftermath Alliance
|
Posted - 2007.06.26 00:01:00 -
[201]
Originally by: Scorpyn Let's see... one code to get access to everything? Did I understand that correctly?
If so, why not split it up into smaller parts? Like 1 code to view what characters are on a specific account, 1 code to see the skill list (perhaps this could be even more specific by only specifying certain skills or skillgroups), 1 code to see the wallet, 1 for corp wallet etc...
There are two codes.
1.) Char list and Skill sheets for all your chars. 2.) everything else.
Never give either code to anyone you dont trust 100% and never give code number 2 out at all! ____
<t20> i want to be in a manager potition at Hooters <SaraDawn> Garthagk, do you have it up ? <Garthagk> I can get it up anytime. |
45thTiger 002
45th TIGERS Phoenix Supremacy
|
Posted - 2007.06.26 02:46:00 -
[202]
Hi,
Does anyone have a list of RefType's for the Wallet export.
eg, RefTypeId 33 = Agent Mission Reward
Cheers 002
|
jide
The Nest
|
Posted - 2007.06.26 05:00:00 -
[203]
Originally by: 45thTiger 002 Hi,
Does anyone have a list of RefType's for the Wallet export.
eg, RefTypeId 33 = Agent Mission Reward
Cheers 002
"refTypeID";"refTypeText";"description" "0";"Undefined";"" "1";"Player Trading";"" "2";"Market Transaction";"" "3";"GM Cash Transfer";"" "4";"ATM Withdraw";"" "5";"ATM Deposit";"" "6";"Backward Compatible";"" "7";"Mission Reward";"" "8";"Clone Activation";"" "9";"Inheritance";"" "10";"Player Donation";"Player gave cash to another owner" "11";"Corporation Payment";"CEO or Accountant transferred cash from corp. account" "12";"Docking Fee";"" "13";"Office Rental Fee";"" "14";"Factory Slot Rental Fee";"" "15";"Repair Bill";"" "16";"Bounty";"Player gave cash to someone''s bounty pool" "17";"Bounty Prize";"Player got bounty prize for killing someone" "18";"Agents_temporary";"TEMP" "19";"Insurance";"" "20";"Mission Expiration";"" "21";"Mission Completion";"" "22";"Shares";"" "23";"Courier Mission Escrow";"" "24";"Mission Cost";"" "25";"Agent Miscellaneous";"Agent paid you" "26";"Miscellaneous Payment To Agent";"You paid agent" "27";"Agent Location Services";"You paid agent to locate somebody" "28";"Agent Donation";"You donated/bribed the agent" "29";"Agent Security Services";"You paid agent to clean your rep" "30";"Agent Mission Collateral Paid";"You gave agent collateral for a mission" "31";"Agent Mission Collateral Refunded";"The agent returned collateral to you" "32";"Agents_preward";"The agent gave you this when you accepted the mission" "33";"Agent Mission Reward";"The agent gave you this as a reward" "34";"Agent Mission Time Bonus Reward";"The agent gave you this as a special reward for fast mission completion" "35";"CSPA";"CONCORD Spam Prevention Act" "36";"CSPAOfflineRefund";"Refunded CSPA charge because the other party was not online" "37";"Corporation Account Withdrawal";"Withdrawal from corporation account" "38";"Corporation Dividend Payment";"" "39";"Corporation Registration Fee";"" "40";"Corporation Logo Change Cost";"" "41";"Release Of Impounded Property";"Charge for the receipt of goods from a corporation hangar that is no longer rented" "42";"Market Escrow";"" "43";"Agent Services Rendered";"For miscellaneous services rendered by the agent" "44";"Market Fine Paid";"" "45";"Corporation Liquidation";"Funds from the liquidation of a corporation to a shareholder" "46";"Broker fee";"" "47";"Corporation Bulk Payment";"A payment from a corporation" "48";"Alliance Registration Fee";"" "49";"War Fee";"" "50";"Alliance Maintainance Fee";"" "51";"Contraband Fine";"" "52";"Clone Transfer";"" "53";"Acceleration Gate Fee";"" "54";"Transaction Tax";"Sales tax paid to the SCC for any transaction" "55";"Jump Clone Installation Fee";"" "56";"Manufacturing";"Installation and runtime cost for a manufacturing job" "57";"Researching Technology";"Installation and runtime cost for a technological research job" "58";"Researching Time Productivity";"Installation and runtime cost for a time productivity research job" "59";"Researching Material Productivity";"Installation and runtime cost for a material productivity research job" "60";"Copying";"Installation and runtime cost for a blueprint copying job" "61";"Duplicating";"Installation and runtime cost for an item duplication job" "62";"Reverse Engineering";"Installation and runtime cost for a reverse engineering job" "63";"Contract Auction Bid";"A bid on an Auction" "64";"Contract Auction Bid Refund";"Auction Bid refund" "65";"Contract Collateral";"Collateral for a contract" "66";"Contract Reward Refund";"Reward refund for a cancelled contract" "67";"Contract Auction Sold";"Bid payout for an Auction contract" "68";"Contract Reward";"Reward for completing a contract" "69";"Contract Collateral Refund";"Refund of collateral for a Courier contract" "70";"Contract Collateral Payout";"Collateral Payout because of a failed contract" "71";"Contract Price";"Contract Price"
|
jide
The Nest
|
Posted - 2007.06.26 05:01:00 -
[204]
"72";"Contract Brokers Fee";"Non-refundable contract tax" "73";"Contract Sales Tax";"Contract Tax for a successful contract" "74";"Contract Deposit";"Contract Deposit, refundable upon successful contract" "75";"Contract Deposit Sales Tax";"Contract Deposit Refund" "76";"Secure EVE Time Code Exchange";"Selling or buying of EVE Time Codes for ISK on secure.eve-online.com" "77";"Contract Auction Bid (corp)";"" "78";"Contract Collateral Deposited (corp)";"" "79";"Contract Price Payment (corp)";"" "80";"Contract Brokers Fee (corp)";"" "81";"Contract Deposit (corp)";"" "82";"Contract Deposit Refund";"" "83";"Contract Reward Deposited";"" "84";"Contract Reward Deposited (corp)";""
|
Johnathan Roark
Caldari Quantum Industries
|
Posted - 2007.06.26 06:49:00 -
[205]
Has anyone tried using some of Php5's new extentions such as simpleXML? I can get it to parse the file, but having trouble pulling the data out? im still a noob when it comes to a lot of php :(
Corporation Management Improvement |
Nelrak
|
Posted - 2007.06.26 10:50:00 -
[206]
<?php $data = array( 'userID' => "xxx", 'apiKey' => "yyy" );
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://api.eve-online.com/account/Characters.xml.aspx"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$xml = new SimpleXMLElement(curl_exec($ch)); curl_close($ch);
foreach ($xml->xpath('//row') as $row) { echo 'Nom: '.$row['name'].' (id: '.$row['characterID'].')'.'<br/>'."\n"; echo 'Coporation: '.$row['corporationName'].' (id: '.$row['corporationID'].')'.'<br/>'."\n"; echo '<br/>'."\n"; } ?>
|
Radianze
|
Posted - 2007.06.26 12:16:00 -
[207]
Edited by: Radianze on 26/06/2007 12:16:01 hi
are u getting your character information correct? it seems that the API export only gives back the start attributes when i add the skillbonuses and the enhancers (which r not read out :( ) then i get the right number of attributes... or is there something i make wrong?
Quote: <balance>***********</balance><attributeEnhancers /><attributes><intelligence>7</intelligence><memory>9</memory><charisma>5</charisma><perception>8</perception><willpower>10</willpower></attributes>
As u can see on this source output theres a missing "<attributeEnhancers >" tag is this problem caused by CCP or is it just my code? i used the code posted on some sides before too... same result
plz gimme a quick solution for this
regards
|
Blazing Fire
Interstellar Operations Incorporated Free Trade Zone.
|
Posted - 2007.06.26 13:05:00 -
[208]
Originally by: FireFoxx80 I'm in the process of writing a .NET class for the Eve API, returning DataSets/DataTables/Values from the EveAPI.
If anyone is interested I will make it public; might take the weekend to rewrite my cowboy code to something usable though.
I am interested too Blazing Fire CEO
Interstellar Operations Incorporated Recruting |
Amida Ta
|
Posted - 2007.06.26 16:29:00 -
[209]
Originally by: Radianze Edited by: Radianze on 26/06/2007 12:16:01
Quote: <balance>***********</balance><attributeEnhancers /><attributes><intelligence>7</intelligence><memory>9</memory><charisma>5</charisma><perception>8</perception><willpower>10</willpower></attributes>
As u can see on this source output theres a missing "<attributeEnhancers >" tag is this problem caused by CCP or is it just my code?
I'm not sure what you mean, but in the quoted output no "<attributeEnhancers >" tag is missing. The tag is just empty.
|
Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2007.06.26 17:26:00 -
[210]
Originally by: Nelrak code
Thanks, exactly what I needed to see
Corporation Management Improvement |
|
Radianze
|
Posted - 2007.06.26 19:07:00 -
[211]
Originally by: Amida Ta
Originally by: Radianze Edited by: Radianze on 26/06/2007 12:16:01
Quote: <balance>***********</balance><attributeEnhancers /><attributes><intelligence>7</intelligence><memory>9</memory><charisma>5</charisma><perception>8</perception><willpower>10</willpower></attributes>
As u can see on this source output theres a missing "<attributeEnhancers >" tag is this problem caused by CCP or is it just my code?
I'm not sure what you mean, but in the quoted output no "<attributeEnhancers >" tag is missing. The tag is just empty.
yeah but the tag should not be empty i got a plus 3 set on my char :(
|
Mathew Chandra
|
Posted - 2007.06.26 21:55:00 -
[212]
i think thats an old bug, evemon tries to read the implants out since i use it and it never got any implant data yet
|
WileyCoyote
|
Posted - 2007.06.26 22:40:00 -
[213]
I have set up an excellent little website for my personal use on mobile devices and such to view my journal and transactions very quickly.
I only have one thing to add which is that adding our open orders would be FANTASTIC. It shouldn't be that hard to add and would be EXTREMELY beneficial. Could we make that a high priority? Thanks!!
|
GndAdmiralThrawn
|
Posted - 2007.06.26 23:17:00 -
[214]
One question:
If we create a program that uses this API, can we sell it for ISK? Allow use of it for ISK basically?
What is the licensing agreement for using the API?
|
Commander Kahn'Alzaor
|
Posted - 2007.06.27 00:04:00 -
[215]
Mighty fine question ^^
|
Perin Ashedge
Minmatar Total Information Technology
|
Posted - 2007.06.27 01:28:00 -
[216]
That is an awesome question. As far as I know, if you use any EVE icons you cannot sell it for real money... though the blog I read on it didn't really specify real vs. isk, so I'm hesitant to do anything just yet. It would be awesome to charge isk for use. :D
|
Victoria Scott
|
Posted - 2007.06.27 07:19:00 -
[217]
I'd be interested in a public-posted .NET solution. (C# prefered).
So, what's the easiest way to find a player's ID that's needed for like everything.
Too bad the data only goes one way. I was hoping to write a skill change program that I can use to change my skill when I can't log on due to... being at work...
Fun stuff. |
Amida Ta
|
Posted - 2007.06.27 07:36:00 -
[218]
Originally by: Victoria Scott I'd be interested in a public-posted .NET solution. (C# prefered).
The basic stuff in C# is very simple:
WebClient client = new WebClient (); client.Headers.Add ("content-type", "application/x-www-form-urlencoded"); String uploadData = "if needed"; String data = client.UploadString ("http://...", uploadData);
|
FireFoxx80
Caldari E X O D U S Imperial Republic Of the North
|
Posted - 2007.06.27 12:57:00 -
[219]
Originally by: Victoria Scott I'd be interested in a public-posted .NET solution. (C# prefered).
So, what's the easiest way to find a player's ID that's needed for like everything.
Too bad the data only goes one way. I was hoping to write a skill change program that I can use to change my skill when I can't log on due to... being at work...
Fun stuff.
I posted VB.NET a few pages back, I know other's are working on C#.
As above, WebClient is the easiest method. Though some argue that WebRequest/WebResponse are more lightweight.
Player's ID. Easiest is to find them on forums and click their image; the ID will be in query string. You can programatically pull out the CharacterID's of characters on your account, or in your corp. There's no out-of-game way to programatically say "get me the ID of pilot XX"
Skill changing outside of Eve will only ever happen via an official Eve Client (Eve Mobile most likely). Else it's far too easy for people to write Character Macro's which just uber-train up characters which can be sold for ISK.
What I do the rest of the time - Vote for a Jita bypass! |
Max Kentarii
Nordic Endeavour
|
Posted - 2007.06.27 13:08:00 -
[220]
Originally by: Gripen Is there any Delphi users who can make an example with either TTCPClient or TClientSocket?
I used TIdHTTP to fetch the xml.
var data: TIdMultiPartFormDataStream; result: string; begin data := TIdMultiPartFormDataStream.Create; try data.AddFormField('characterID', charID); data.AddFormField('userID', userID); data.AddFormField('apiKey', apiKey);
result := IdHTTP1.Post('http://api.eve-online.com/char/SkillInTraining.xml.aspx', data); finally data.Free; end; Memo1.Lines.Text := result; end; -----
Wreck Salvaging Database |
|
Serenity Steele
Rearden Steele
|
Posted - 2007.06.27 15:53:00 -
[221]
Shouldn't sov level II have kicked in by now? http://api.eve-online.com/map/Sovereignty.xml.aspx
If everyone with a POS received Sov1 on Tuesday last week, then even worst-case scenario should be:
Wed 1 day Thur 2 days Fri 3 days Sat 4 days Sun 5 days Mon 6 days Tues 7 days Wed 8 days = Sov2.
Is the XML bad, or is the system not working, or did I miss something?
Eve Strategic Maps - Outpost Alert - Sovereign Systems - Alliance Rank |
Salvis Tallan
Gallente The Shadow Order
|
Posted - 2007.06.27 16:34:00 -
[222]
Originally by: Amida Ta
Originally by: Victoria Scott I'd be interested in a public-posted .NET solution. (C# prefered).
The basic stuff in C# is very simple:
WebClient client = new WebClient (); client.Headers.Add ("content-type", "application/x-www-form-urlencoded"); String uploadData = "if needed"; String data = client.UploadString ("http://...", uploadData);
if you want basic code for webrequest instead of WebClient:
private static StreamReader HttpPost( string URI, string Parameters ) { HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create( URI );
myRequest.ContentType = "application/x-www-form-urlencoded"; myRequest.Method = "POST";
byte[] bytes = Encoding.ASCII.GetBytes( Parameters ); myRequest.ContentLength = bytes.Length;
Stream os = myRequest.GetRequestStream(); os.Write( bytes, 0, bytes.Length ); os.Close();
HttpWebResponse myHttpWebResponse = (HttpWebResponse)myRequest.GetResponse();
if ( myHttpWebResponse == null ) return null;
return new StreamReader( myHttpWebResponse ); }
I only have it return a streamreader now, but to return a string or whatever is only 1 line difference. Also this is pretty basic and does not handle (de)compression (which i dont know if the api will use). ------
|
Renton Thurston
Quantum Synergies Eternal Rapture
|
Posted - 2007.06.27 17:30:00 -
[223]
Originally by: Victoria Scott I'd be interested in a public-posted .NET solution. (C# prefered).
My API Wrapper - C# class
It's quick. It's dirty. And i was working on it twice while inebriated. So i hold no responsibility if it's not up to your liking, but it maybe a starting place for some.
Right now it's just a wallet journal and balance parser. That's all my alliance/corp needed at the moment. but it does work for our wallet's traffic (less than say 200 entries a day). Due to that, I do not have the luxury of testing it on a high traffic wallet, so i'm not sure how the walking will work.
It also only handles a couple of the pertinent error codes, so it needs work in that department too.
Just as an example, we use it for checking/showing progress of personal contributions (via corp tax) towards industrial projects and show it all in pretty graphs. Future plans for analysis of npc spawns to isk/time rations, when/if i get the time.
I currently lack the time to go back through and do clean up. And as always, any input is welcome because it sure as hell isn't perfect. =]
-Renton
|
Amida Ta
|
Posted - 2007.06.27 18:37:00 -
[224]
Originally by: Serenity Steele Shouldn't sov level II have kicked in by now? http://api.eve-online.com/map/Sovereignty.xml.aspx
If everyone with a POS received Sov1 on Tuesday last week, then even worst-case scenario should be:
Wed 1 day Thur 2 days Fri 3 days Sat 4 days Sun 5 days Mon 6 days Tues 7 days Wed 8 days = Sov2.
Is the XML bad, or is the system not working, or did I miss something?
Clearly seems like a bug to me.
My graph for today went totally crazy, too. If the data is correct then BOB lost 13 Systems since yesterday. And other Alliances would also have lost high numbers. But I assume that there is a bug which shows systems with sov > 1 as unclaimed. Perhaps it could also be a bug with constellation sov (constellation sov > 0). CCP - PLEASE FIX IT
P.S. Did you see the data now also contains the XML header so they changed something...
|
Amida Ta
|
Posted - 2007.06.27 18:39:00 -
[225]
Edited by: Amida Ta on 27/06/2007 18:41:40 If the data would be correct 157 Systems would have been lost since yesterday...
|
Vessper
Black Thorne Corporation
|
Posted - 2007.06.27 20:38:00 -
[226]
Couple of requests please Garthagk
1. Any chance of having the implant information back in the character XML. Your API documentation example shows this information but it doesn't seem to have made it over to the live version.
2. Is it possible to have the character ID and/or character Name included in the /char/SkillInTraining.xml.aspx file?
Thanks...and great work on the API by the way! Now if we can just get hold of a new data export...
--------------------
|
Umiji
GoonFleet GoonSwarm
|
Posted - 2007.06.27 22:48:00 -
[227]
It would be super cool to have an API page for character EVE-Mails. Being able to download and alert, or even forward EVE mails to a real email account would be super nifty because it would further the "Secretly playing the EVE meta-game while at work" aspect ;)
|
Serenity Steele
Rearden Steele
|
Posted - 2007.06.27 23:40:00 -
[228]
Edited by: Serenity Steele on 27/06/2007 23:40:36
Originally by: Amida Ta Edited by: Amida Ta on 27/06/2007 18:41:40 If the data would be correct 157 Systems would have been lost since yesterday...
Yeah it's not accurate, and I think it's something to do with more than the XML, as the game client cache is also FUBAR for the results.
Additionally, I don't think it's a Sov 1 vs. Sov 2 thing only, because something like 800 systems should have gone sov 2 today.
Eve Strategic Maps - Outpost Alert - Sovereign Systems - Alliance Rank |
Amida Ta
|
Posted - 2007.06.28 06:55:00 -
[229]
Originally by: Serenity Steele Edited by: Serenity Steele on 27/06/2007 23:40:36
Originally by: Amida Ta Edited by: Amida Ta on 27/06/2007 18:41:40 If the data would be correct 157 Systems would have been lost since yesterday...
Yeah it's not accurate, and I think it's something to do with more than the XML, as the game client cache is also FUBAR for the results.
Additionally, I don't think it's a Sov 1 vs. Sov 2 thing only, because something like 800 systems should have gone sov 2 today.
It could be a problem with constellatons sov though. I didn't verify, but BOB does have a few constellations and SOME other alliances have, too. But not everyone has so this could explain the problem. Would be easily verifyable, but am too lazy ;)
OK I did check and it and my assumption doesn't seem to be correct.
|
Ilvari
GoonFleet
|
Posted - 2007.06.28 08:56:00 -
[230]
So why does http://api.eve-online.com/eve/ not allow a directory listing?
That would be a pretty useful thing.
|
|
Ray McCormack
BIG
|
Posted - 2007.06.28 09:32:00 -
[231]
Originally by: Serenity Steele Additionally, I don't think it's a Sov 1 vs. Sov 2 thing only, because something like 800 systems should have gone sov 2 today.
Is Sov2 not 14 days?
| How To Afford A Tech II BPO | BMBE ISK Loans | |
|
CCP Garthagk
|
Posted - 2007.06.28 13:51:00 -
[232]
If you suspect there's a bug in the outputs, please verify that the game shows the correct information (I assume there's a way to see sov level in the game!) and the API shows it wrong, then give me a system name please so I can investigate.
I need actual information, not just "it's wrong, I think". That doesn't help me any. Thanks!
-------------- Garthagk - EVE Web Guy
To err is human to really ***** up takes admins. -Hellmar |
|
Serenity Steele
Rearden Steele
|
Posted - 2007.06.28 14:37:00 -
[233]
Originally by: Ray McCormack
Originally by: Serenity Steele Additionally, I don't think it's a Sov 1 vs. Sov 2 thing only, because something like 800 systems should have gone sov 2 today.
Is Sov2 not 14 days?
Oops Yes!
Originally by: CCP Garthagk Edited by: CCP Garthagk on 28/06/2007 14:05:03 If you suspect there's a bug in the outputs, please verify that the game shows the correct information (I assume there's a way to see sov level in the game!) and the API shows it wrong, then give me a system name please so I can investigate.
I need actual information, not just "it's wrong, I think". That doesn't help me any. Thanks!
Edit: Also, I'm told that there was a huge drop in claimed systems today because of a hotfix that went out to make it so you can't claim sovereignty in NPC systems. That was previously a bug.
Please see if that explains the behavior you're seeing.
Yes, the hotfix does explain the total drop in held sovereign systems reported by the XML.
Eve-Maps deliberately excluded these NPC systems in the display/ranking information, so it doesn't explain BoB dropping sov on +/- 8 systems in one day, so they probably did! I'll audit the results and post again if it does not match up.
P.S. Thanks for the XML data on all the NPC systems locations
Eve Strategic Maps - Outpost Alert - Sovereign Systems - Alliance Rank |
Selene D'Celeste
Caldari Einherjar Industries
|
Posted - 2007.06.29 06:08:00 -
[234]
Just finished reading the thread and playing around with the API in Python for a bit and I was wondering, is everyone still toying around, or are real projects starting to get underway? I saw one or two mentioned here, and I was just wondering what everyone is working on =)
|
Serenity Steele
Rearden Steele
|
Posted - 2007.06.29 06:51:00 -
[235]
Originally by: Selene D'Celeste Just finished reading the thread and playing around with the API in Python for a bit and I was wondering, is everyone still toying around, or are real projects starting to get underway? I saw one or two mentioned here, and I was just wondering what everyone is working on =)
Real project. It's already running for 12 months, the XML gracefully replaced other more manual work.
Eve Strategic Maps - Outpost Alert - Sovereign Systems - Alliance Rank |
Vessper
Black Thorne Corporation
|
Posted - 2007.06.29 07:41:00 -
[236]
Originally by: Selene D'Celeste Just finished reading the thread and playing around with the API in Python for a bit and I was wondering, is everyone still toying around, or are real projects starting to get underway? I saw one or two mentioned here, and I was just wondering what everyone is working on =)
My app (EveHQ) used to use account usernames and passwords to download character XML data. That system has now been replaced by the introduction of the new API. Also, the API allows me to keep the skill list up-to-date pending a new release of the full data export
--------------------
|
Max Kentarii
Nordic Endeavour
|
Posted - 2007.06.29 10:47:00 -
[237]
Originally by: Selene D'Celeste Just finished reading the thread and playing around with the API in Python for a bit and I was wondering, is everyone still toying around, or are real projects starting to get underway? I saw one or two mentioned here, and I was just wondering what everyone is working on =)
Here's a little summary of skill training monitoring apps. Old apps are migrating to using the new EVE API and new apps are slowly coming out of the closet. -----
Wreck Salvaging Database :: EVE Dashboard |
Sprobe
|
Posted - 2007.06.29 13:11:00 -
[238]
I have a wish, and this one really keeps me going:
Can we / I please have an API for R&D / Industry, Production ? It would be awesome to effectivly know when your items are ready to be delivered.
Best wishes Sprobe
|
Amida Ta
|
Posted - 2007.06.29 19:14:00 -
[239]
Edited by: Amida Ta on 29/06/2007 19:14:22
Originally by: CCP Garthagk I need actual information, not just "it's wrong, I think". That doesn't help me any. Thanks!
Yes, the hotfix you mentioned actually seems to be responsible for most of the stuff.
However here is another glitch in the matrix : According to the MapData (Today 21:02 GMT+1) an Alliance 760999858 holds the system O-Y5JQ
Quote: <row solarSystemID="30003761" allianceID="760999858" constellationSovereignty="0" sovereigntyLevel="1" factionID="0" solarSystemName="O-Y5JQ" />
However in the AllianceData (Today 21:02 GMT+1) there is no Alliance with ID 760999858.
|
Max Kentarii
Nordic Endeavour
|
Posted - 2007.07.01 14:09:00 -
[240]
When does the CharacterSheet.asp.xml get cached? On a regular basis or on query?
I just changed a skill in the middle of training to another one, and the skillpoints from the skill I previously trained didn't register in the CharacterSheet-xml.
This is the skill I'm currently training. Take a look at the trainingStartTime which is 13:05:13.
<?xml version='1.0' encoding='UTF-8'?> <eveapi version="1"> <currentTime>2007-07-01 13:53:43</currentTime> <result> <trainingEndTime>2007-07-01 16:24:05</trainingEndTime> <trainingStartTime>2007-07-01 13:05:13</trainingStartTime> <trainingTypeID>3354</trainingTypeID> <trainingStartSP>1814</trainingStartSP> <trainingDestinationSP>8486</trainingDestinationSP> <trainingToLevel>2</trainingToLevel> <skillInTraining>1</skillInTraining> </result> <cachedUntil>2007-07-01 14:08:43</cachedUntil> </eveapi>
Here's the CharacterSheet
<?xml version='1.0' encoding='UTF-8'?> <eveapi version="1"> <currentTime>2007-07-01 13:32:28</currentTime> <result> <characterID>665127214</characterID> <name>Max Kentarii</name> -- snip -- <rowset name="skills" key="typeID" columns="typeID,skillpoints,level,unpublished"> -- snip: currently training -- <row typeID="3354" skillpoints="1814" level="1" /> -- snip: previous skill I was training on before I switched -- <row typeID="3394" skillpoints="90510" level="4" /> -- snip -- </rowset> </result> <cachedUntil>2007-07-01 14:32:28</cachedUntil> </eveapi>
The currentTime of the CharacterSheet shows that I requested it 25 minutes after I changed the skill. The previous skill I trained has 90510 skill points while ingame and on the eve-online-website I have:
Hull Upgrades / Rank 2 / SP: 108376 of 512000
17866 points are missing. All other half-trained skills shows correctly though. Looping through the charactersheet skill rows and adding the skill points also shows the same difference in skill points when comparing to total skill points ingame/website. -----
Wreck Salvaging Database :: EVE Dashboard |
|
Max Kentarii
Nordic Endeavour
|
Posted - 2007.07.01 15:04:00 -
[241]
Updated the CharacterSheet again after the cache-time ran out and it now shows correct. But I still consider it an error in the API. -----
Wreck Salvaging Database :: EVE Dashboard |
|
CCP Garthagk
|
Posted - 2007.07.03 18:01:00 -
[242]
Edited by: CCP Garthagk on 03/07/2007 18:00:21
Originally by: Max Kentarii Updated the CharacterSheet again after the cache-time ran out and it now shows correct. But I still consider it an error in the API.
The MyEVE website uses a different cache than the API (at this time). Unless you loaded your MyEVE page and your API page at the same time, that explains why you would see the different data reported in the two sources.
We have no way to know that you changed your skill on the server. You will have to live with this one hour cache on skill information.
-------------- Garthagk - EVE Web Guy
To err is human to really ***** up takes admins. -Hellmar |
|
Wardo21
The Arcanum
|
Posted - 2007.07.03 19:56:00 -
[243]
Edited by: Wardo21 on 03/07/2007 20:02:59 A new field has been added to the SkillIntraining.xml.asp API:
<currentTQTime offset="-7">2007-07-03 19:44:38</currentTQTime>
A while back it was offset="-8". Where is the offset coming from since I don't think London/Iceland went on or off DST in the past 20 minutes or so.
Also, are the data definition files going to be made available somewhere (DTD and XSL)?
Edit: on my second account, the character looks like he's done with training since the completion time has passed, but the <skillintraining> field is still "1".
<currentTime>2007-07-03 19:52:11</currentTime> <trainingEndTime>2007-07-03 15:58:21</trainingEndTime>
Thanks,
Wardo21
|
Chruker
|
Posted - 2007.07.04 05:04:00 -
[244]
Originally by: Wardo21 Edited by: Wardo21 on 03/07/2007 20:02:59 A new field has been added to the SkillIntraining.xml.asp API:
<currentTQTime offset="-7">2007-07-03 19:44:38</currentTQTime>
A while back it was offset="-8". Where is the offset coming from since I don't think London/Iceland went on or off DST in the past 20 minutes or so.
That is the time difference in seconds between the clock on the TQ cluster and on the server running the EVE API
Why the clocks are sync'ed or why EVE API isn't using the TQ clock, I don't know. ----- http://games.chruker.dk/eve_online ----- Top wishes: - No daily downtime - Faster training on sisi - Updated data export - Speedup IGB table rendering |
Mathew Chandra
|
Posted - 2007.07.04 09:09:00 -
[245]
any news on a new datadump?
|
elle mcpherson
|
Posted - 2007.07.04 11:34:00 -
[246]
what the hell is the API where do i get it from thier is sbsolutely no real information about this API
|
Thebriwan
|
Posted - 2007.07.04 12:13:00 -
[247]
Originally by: elle mcpherson what the hell is the API where do i get it from thier is sbsolutely no real information about this API
Just read the very first Posting. ThanX
|
Fred0
Cutting Edge Incorporated RAZOR Alliance
|
Posted - 2007.07.04 12:47:00 -
[248]
I'm looking for corp management tools done for these. Anyone seen them or done them yet?
|
Jiggardin
|
Posted - 2007.07.04 19:23:00 -
[249]
it would be great, if there could be an corp assets xml file.
just an small idea, hopefull it is getting heard.. :)
|
Max Kentarii
Nordic Endeavour
|
Posted - 2007.07.04 21:50:00 -
[250]
Is there some inconsistency between the trainingDestinationSP used in-game and for the API? 271,529 vs 271,530 skill points for this particular skill.
|
|
Herio Mortis
Raw Edge O X I D E
|
Posted - 2007.07.05 23:27:00 -
[251]
That is a rounding error in the application. Evemon seems to suffer from the same as well. The API data does not contain those values, you need to calculate them yourself, hence the differences.
----- And *pop* went my ferox... |
Max Kentarii
Nordic Endeavour
|
Posted - 2007.07.06 01:04:00 -
[252]
Edited by: Max Kentarii on 06/07/2007 01:05:26
Originally by: Herio Mortis That is a rounding error in the application. Evemon seems to suffer from the same as well. The API data does not contain those values, you need to calculate them yourself, hence the differences.
I beg to differ, the API do provide this value as seen here:
<?xml version='1.0' encoding='UTF-8'?> <eveapi version="1"> <currentTime>2007-07-06 01:00:46</currentTime> <result> <currentTQTime offset="-20">2007-07-06 01:00:26</currentTQTime> <trainingEndTime>2007-07-07 05:20:05</trainingEndTime> <trainingStartTime>2007-07-03 15:52:26</trainingStartTime> <trainingTypeID>3354</trainingTypeID> <trainingStartSP>99497</trainingStartSP> <trainingDestinationSP>271530</trainingDestinationSP> <trainingToLevel>4</trainingToLevel> <skillInTraining>1</skillInTraining> </result> <cachedUntil>2007-07-06 01:15:46</cachedUntil> </eveapi>
trainingDestinationSP clearly displays 271530. |
45thTiger 002
45th TIGERS Phoenix Supremacy
|
Posted - 2007.07.06 02:11:00 -
[253]
Hi,
The member list api is cool but unfortunately it only seems to update at the end of a players in game session.
Is there any possible way to work out who is currently playing at any given time (eg. Online/Offline) status.
This would be really handy, even if it only updates hourly.
It would even by fine if the Member list showed most recent logon time and a blank log off time for people who are currently still in game.
Cheers 002
|
Cloudheart
|
Posted - 2007.07.06 03:15:00 -
[254]
Does the Eve API have a way for me to check eve-mail on my account? If not, could this be added?
Thanks
|
Chruker
|
Posted - 2007.07.06 07:00:00 -
[255]
Originally by: Cloudheart Does the Eve API have a way for me to check eve-mail on my account? If not, could this be added?
It doesn't have that. For some reason CCP doesn't want that in there. ----- http://games.chruker.dk/eve_online ----- Top wishes: - No daily downtime - Faster training on sisi - Updated data export - Speedup IGB table rendering |
Cloudheart
|
Posted - 2007.07.06 08:20:00 -
[256]
Originally by: Chruker
Originally by: Cloudheart Does the Eve API have a way for me to check eve-mail on my account? If not, could this be added?
It doesn't have that. For some reason CCP doesn't want that in there.
They're talking about being able to check eve mail on phones and stuff. Have they said they don't want it in there? Or has it just not been talked about/implemented?
|
Chruker
|
Posted - 2007.07.06 10:52:00 -
[257]
Originally by: Cloudheart
Originally by: Chruker
Originally by: Cloudheart Does the Eve API have a way for me to check eve-mail on my account? If not, could this be added?
It doesn't have that. For some reason CCP doesn't want that in there.
They're talking about being able to check eve mail on phones and stuff. Have they said they don't want it in there? Or has it just not been talked about/implemented?
I asked Garthagk about it yesterday on IRC:
Originally by: IRC rulez [18:17] <Chruker> on the forum you mention that the S&I jobs is one of the things you have gotten aproval for. What about a characters LP points? Or their standings to NPC corps, factions? [18:17] <Garthagk> dunno about LP but standings yes [18:17] <Chruker> nice [18:18] <Garthagk> pretty much everything is okay.. at least, everything that's about you/your corp. static type information. things that aren't OK are things that are like market information, eve mails, that kind of thing.
----- http://games.chruker.dk/eve_online ----- Top wishes: - No daily downtime - Faster training on sisi - Updated data export - Speedup IGB table rendering |
Mnengli Noiliffe
|
Posted - 2007.07.06 11:07:00 -
[258]
why are implants not available? also all implants in jump clones. this is useful for such things as ship fitters. also certain player-driven competitions want to ban implants from participators, which is impossible as the data is not verifiable..
btw here is an idea. an user should be able to switch certain things on or off for the public API key access. so if you don't want people to view your implants, then turn the switch off.
there could even be multiple configurations, bound to different API keys (more than two as now is), but it's probably too much to ask.
|
Cloudheart
|
Posted - 2007.07.06 11:19:00 -
[259]
Originally by: Chruker
I asked Garthagk about it yesterday on IRC:
What's the IRC server/channel you were on?
|
Max Kentarii
Nordic Endeavour
|
Posted - 2007.07.06 13:26:00 -
[260]
Originally by: Cloudheart
Originally by: Chruker
I asked Garthagk about it yesterday on IRC:
What's the IRC server/channel you were on?
irc://irc.coldfront.net:6667/eve-dev -----
Wreck Salvaging Database :: EVE Dashboard |
|
Chruker
|
Posted - 2007.07.06 14:33:00 -
[261]
Originally by: Mnengli Noiliffe why are implants not available? also all implants in jump clones. this is useful for such things as ship fitters. also certain player-driven competitions want to ban implants from participators, which is impossible as the data is not verifiable..
btw here is an idea. an user should be able to switch certain things on or off for the public API key access. so if you don't want people to view your implants, then turn the switch off.
there could even be multiple configurations, bound to different API keys (more than two as now is), but it's probably too much to ask.
The missing implants is a bug in the database procedure used to fetch the information. It should be working for some pirate implants.
Your second idea about switching stuff off, would cancel any security benefit your player-driven competitions would have from the implant info. ----- http://games.chruker.dk/eve_online ----- Top wishes: - No daily downtime - Faster training on sisi - Updated data export - Speedup IGB table rendering |
Oshaga Nanir
Amarr Oberon Incorporated
|
Posted - 2007.07.06 16:21:00 -
[262]
Originally by: Chruker
Originally by: Cloudheart
Originally by: Chruker
Originally by: Cloudheart Does the Eve API have a way for me to check eve-mail on my account? If not, could this be added?
It doesn't have that. For some reason CCP doesn't want that in there.
They're talking about being able to check eve mail on phones and stuff. Have they said they don't want it in there? Or has it just not been talked about/implemented?
I asked Garthagk about it yesterday on IRC:
Originally by: IRC rulez [18:17] <Chruker> on the forum you mention that the S&I jobs is one of the things you have gotten aproval for. What about a characters LP points? Or their standings to NPC corps, factions? [18:17] <Garthagk> dunno about LP but standings yes [18:17] <Chruker> nice [18:18] <Garthagk> pretty much everything is okay.. at least, everything that's about you/your corp. static type information. things that aren't OK are things that are like market information, eve mails, that kind of thing.
Good to know that about the market information, though it still wierd that you seem to make it harder and harder for everyone to fetch it. From the beginning it was just a single click now it's 2 clicks(the added annoying pop-up) and now the confirmation about market information not available thru the API. For me this just make it more and more appealing for a macro to take advantage of the market. Of course as we all know this isn't allowed, so this is nothing I'm gonna create.
--- Happy hauling in 0.0, out. |
Mnengli Noiliffe
|
Posted - 2007.07.06 16:49:00 -
[263]
Originally by: Chruker
Your second idea about switching stuff off, would cancel any security benefit your player-driven competitions would have from the implant info.
no because providing API key is voluntary action. Switching the things that the key recepient is actually interested about for the provided API key, is also voluntary action. if a player decides to provide API key, he will also switch the required things on because otherwise, he could as well not provide API key in the first place..
|
Ray McCormack
BIG
|
Posted - 2007.07.06 19:48:00 -
[264]
Originally by: Chruker things that aren't OK are things that are like market information
I'm extremely disappointed by this. I can only imagine Oveur has vetoed this idea. I would like to know the reasoning behind this, more than just that it would provide macro engines with too much information, as that's just not true. Capturing information from the logserver and automated OCR is just as viable at the moment to those with enough initiative (see earlier responses in this thread that show it is achievable). So I hope there's more to not wanting this information out there than just that.
| Free Research On BS BPOs | BMBE ISK Loans | |
Snarfu
|
Posted - 2007.07.06 20:51:00 -
[265]
Is there anyway on My Character to get the previous 1000 Journal entries? Has anyone written an application to do this yet?
|
Max Kentarii
Nordic Endeavour
|
Posted - 2007.07.07 16:14:00 -
[266]
Originally by: Max Kentarii Is there some inconsistency between the trainingDestinationSP used in-game and for the API? 271,529 vs 271,530 skill points for this particular skill.
http://eve.podzone.net/dashboard/images/trainingdestinationsp.gif Linkified -Sahwoolo
Here's a follow-up image after the skill got completed. Linkage
Looks like the error lies within the EVE client since the magic number is in fact 271,530. -----
Wreck Salvaging Database :: EVE Dashboard |
Geiran Thorne
Gallente Bladerunners Mordus Angels
|
Posted - 2007.07.07 18:20:00 -
[267]
Like several people have asked already, is there a method to retrieve general corp information similar to showing info on a corporation in-game?
As it currently is, the only - known - way to access which alliance a corporation is a member of is to access the site requesting the information through the IGB, something which is extremely inconvenient, not to mention insecure.
Nothing fancy really, the information required would be: name, shortName, corpID, allianceID. Additional public information would of course be welcome.
This information is required by any system that depends on knowing with certainty that not only is the character a member of the right corp but also that the corp is part of a particular alliance (automated forum access levels, anyone?).
|
Sarf
Asgard Industries Safe And Fun Environment
|
Posted - 2007.07.07 20:37:00 -
[268]
How often can I poke the server for new journal entry? every 5 min, every 10m
and is there a lag between when someone transfers a character isk in game and when the API sees the transaction?
- Sarf CEO, Director of Freighter construction. Miner of small balls of dirt. |
Jaabaa
Minmatar Dental Drilling Corporation
|
Posted - 2007.07.08 14:54:00 -
[269]
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. |
Momfer Undersand
Minmatar
|
Posted - 2007.07.08 15:42:00 -
[270]
On the note of Mobile devices. As stated the have very limited horsepower and memory.
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. :)
Anyways to the point, as the horsepower is limited, could the character sheet have a reference to the skillgroup the skill belongs to.
So <row typeID="3431" level="3" skillpoints="8000"/>
becomes <row typeID="3431" level="3" skillpoints="8000" groupID="272"/>
Running through a full Hashtable everytime a skill row is downloaded, eat's away massive amounts of time. Not to mention the memory footprint the table has.
To give an idea. Mobile devices have on avg 256Kb to work with. (MIDP 2.0) And a whooping 200Mhz CPU, wich is already stressed by the IO transaction and Screen updating.
|
|
Jaabaa
Minmatar Dental Drilling Corporation
|
Posted - 2007.07.08 18:32:00 -
[271]
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 |
Momfer Undersand
Minmatar
|
Posted - 2007.07.08 21:07:00 -
[272]
Originally by: Jaabaa 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.
A few problems you run into then. 1. JAR Size. (Alot of Providers limit the Jar Download size, Not a problem when installing from External mem card but not all devices support that) Belief it or not but branded phones have odd limits. 2. Updating them reley's on you. 3. My Application does alot more, and keeps the choice to the user if he/she wan't to use the Skill Database. Wy stuff it in the Jar file and make the package bigger. (More bytes to download) if the user only uses the wallet or jumpdistance tool.
I'm not gonna argue wich aproach is the better one, Only pointing out wy i toke the other aproach.
And as the myeve xml file includes group information, i'm only asking for them to be available in the eveapi xml file aswell. And in my case that saves alot of performance.
|
Dylan McKai
Mother Corp
|
Posted - 2007.07.08 21:07:00 -
[273]
ASP VBScript to retrieve my Character Sheet Data:
<%Dim characterid Dim userId Dim apikey Dim accountkey Dim beforeTransId Dim DataToSend characterid=909476742 userId=??????????? apikey="?????????????????" DatatoSend="characterid=" & characterId & "&apikey=" & apikey & "&userid=" & userid dim xmlhttp set xmlhttp = server.Createobject("MSXML2.XMLHTTP") xmlhttp.Open "POST","http://api.eve-online.com/char/CharacterSheet.xml.aspx",false xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" xmlhttp.send DataToSend response.write xmlhttp.responseText%>
and All I'm getting is: "The system cannot locate the resource specified."
Any help greatly received!
|
Momfer Undersand
Minmatar
|
Posted - 2007.07.08 21:15:00 -
[274]
Simply request this page.
http://api.eve-online.com/char/CharacterSheet.xml.aspx?userid=?????&apikey=??????&characterid=????
I don't even bother with setting it up to do post or anything.
|
Dylan McKai
Mother Corp
|
Posted - 2007.07.08 21:30:00 -
[275]
Originally by: Momfer Undersand Simply request this page.
http://api.eve-online.com/char/CharacterSheet.xml.aspx?userid=?????&apikey=??????&characterid=????
I don't even bother with setting it up to do post or anything.
But I want to then work with the XML and populate my corp Skillviewer with the data. Not sure what you mean by just request that URL. Could you show me some code please, I'm a ASP noob. Cheers.
|
Imuran
|
Posted - 2007.07.09 11:47:00 -
[276]
Originally by: Dylan McKai ASP VBScript to retrieve my Character Sheet Data:
<%Dim characterid Dim userId Dim apikey Dim accountkey Dim beforeTransId Dim DataToSend characterid=909476742 userId=??????????? apikey="?????????????????" DatatoSend="characterid=" & characterId & "&apikey=" & apikey & "&userid=" & userid dim xmlhttp set xmlhttp = server.Createobject("MSXML2.XMLHTTP") xmlhttp.Open "POST","http://api.eve-online.com/char/CharacterSheet.xml.aspx",false xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" xmlhttp.send DataToSend response.write xmlhttp.responseText%>
and All I'm getting is: "The system cannot locate the resource specified."
Any help greatly received!
Mine is slightly different DatatoSend="characterid="&characterId&"&userid="&userid&"&apikey="&apikey
if accountkey<>0 then DatatoSend=DatatoSend&"&accountKey="&accountkey if beforeTransId<>0 then DataToSend=DatatoSend&"&beforeTransId="&beforeTransId
dim xmlhttp set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP") xmlhttp.Open "POST","http://api.eve-online.com/corp/WalletTransactions.xml.aspx",false 'xmlhttp.Open "GET","http://localhost/markettrans.xml",false xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" xmlhttp.send DataToSend
set xmlDom = Server.CreateObject("MSXML2.DOMDocument.4.0")
xmlDom.loadXML(XMLHttp.ResponseText)
|
Dylan McKai
Mother Corp
|
Posted - 2007.07.09 12:00:00 -
[277]
My bad, Peer Guardian (Firewall) had randomly started blocking CCP Games from my server! Doh!!!
|
Rye
East Khanid Trading
|
Posted - 2007.07.10 08:22:00 -
[278]
Please, please, please can we get NPC Faction and Corporation standings for a character available through the API? I can think of a bunch of useful ways that information can be used by mission-running and/or RP corps to track member progress, set goals and incentives, etc. It can even be cached daily if necessary. I'd really love to be able to have that info available - there are some tools we use in our corp that would greatly benefit from having this information readily available.
Please Recruitment Thread EKT Website |
Eight Ace
|
Posted - 2007.07.10 19:51:00 -
[279]
Howdy programmers.
I know NOTHING about php. I can do a bit of perl but not since .. woo .. years ago.
I am desparately trying to put a newline at the end of the $data in this demo script I picked up from this thread. So far I have had absolutley no sucess.
Can someone just give me a bit of a pointer as to how you go about putting a newline at the end of each element in the data so I can import it into excel?
Heres the code... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head>
<body> <?php $auth = "userID=nnnnnn"; $auth .= "&apiKey=insertapikeyoverhere"; $auth .= "&characterID=nnnnnnn";
$head = "POST /corp/MemberTracking.csv.aspx HTTP/1.0\r\n"; $head .= "Host: api.eve-online.com\r\n"; $head .= "Content-Type: application/x-www-form-urlencoded\r\n"; $head .= "Content-Length: " . strlen($auth) . "\r\n"; $head .= "Connection: close\r\n\r\n";
$fp = fsockopen ('api.eve-online.com', 80, $errno, $errstr, 30);
if (!$fp) { echo 'fsock failed; damn muppets! '.$errstr; exit(); }
fputs($fp, $head); fputs($fp, $auth); $data=''; while (!feof($fp)) {
$data.=fgets($fp,128,<br/>); <--- this is the line I believe I am having trouble with. #echo "$data <br/>"; } fclose ($fp); print $data; ?>
</body> </html>
I have managed to get a newline in there but it was inside the loop and so it basically didnt work.
any help out there tonight ?
|
Ray McCormack
BIG
|
Posted - 2007.07.10 21:23:00 -
[280]
Originally by: Eight Ace $data.=fgets($fp,128,<br/>); <--- this is the line I believe I am having trouble with.
Try \r\n instead of <br />.
| Free Research On BS BPOs | BMBE ISK Loans | |
|
Max Kentarii
Nordic Endeavour
|
Posted - 2007.07.11 00:11:00 -
[281]
Originally by: Eight Ace Can someone just give me a bit of a pointer as to how you go about putting a newline at the end of each element in the data so I can import it into excel?
Not quite sure if this is what you're trying to achieve.. but try this line instead:
$data .= fgets($fp). "<br/>"; -----
Wreck Salvaging Database :: EVE Dashboard |
Tonto Auri
Vhero' Multipurpose Corp
|
Posted - 2007.07.11 12:44:00 -
[282]
Eight Ace, why not using cURL?
Code will be so much simple and understandable, even using cURL itself or PEAR wrapper.
Initialization (common part):
Quote: <?php
$auth = array( 'userID' => 'nnnnnn', 'apiKey' => 'insertapikeyoverhere', 'characterID' => 'nnnnnnn' );
$api_url = 'http://api.eve-online.com/corp/MemberTracking.csv.aspx';
?>
Native cURL code:
Quote: <?php
$ch = curl_init($api_url);
curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false);
$_req = ''; foreach($auth as $key => $value) { $_req .= (strlen($_req) ? '&' : '') . urlencode($key) . '=' . urlencode($value); }
curl_setopt($ch, CURLOPT_POSTFIELDS, $_req);
$rc = curl_exec($ch);
?>
Or using PEAR (You need PEAR and net_cURL package installed)
Quote: <?php
require_once('Net/Curl.php');
$ch = new Net_Curl(); $ch->url = $api_url; $ch->fields = $auth;
$rc = $ch->execute();
?>
After all, You can do
Quote: <pre> <?php
print(htmlspecialchars($rc));
?> </pre>
P.S. "Host: ..." header is a HTTP/1.1 notation. You not need it if You not using proxy. -- . |
Oshaga Nanir
Amarr Oberon Incorporated
|
Posted - 2007.07.11 13:41:00 -
[283]
When calling the http://api.eve-online.com/corp/MemberTracking.xml.aspx with character details from a low-level member without any roles I only get location from a few members. Is that an error or how come I get that result? I haven't been able to try with a api key from one of our commanders as of yet.
--- Happy hauling in 0.0, out. |
DeTox MinRohim
Madhatters Inc. M. PIRE
|
Posted - 2007.07.11 13:50:00 -
[284]
Originally by: Tonto Auri Eight Ace, why not using cURL?
Because CURL is not necessarily enabled on every hosts while the usual fget and stuff like that are commonly available. (Except maybe on crappy hosts like Lycos or alike). ------ This sig space is Read-only ! omgalink - Online Skillsheet |
Tonto Auri
Vhero' Multipurpose Corp
|
Posted - 2007.07.11 20:41:00 -
[285]
Originally by: DeTox MinRohim Because CURL is not necessarily enabled on every hosts
But it is part of main PHP package (while PEAR and PECL is not) and typically available in most professonal hosting plans (and surely available for Your own host).
BTW, when using PHP 5 version, native code can be simplified to
Quote: <?php
$ch = curl_init($api_url);
curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($auth));
$rc = curl_exec($ch);
?>
-- . |
DeTox MinRohim
Madhatters Inc. M. PIRE
|
Posted - 2007.07.12 09:46:00 -
[286]
Originally by: Tonto Auri
Originally by: DeTox MinRohim Because CURL is not necessarily enabled on every hosts
But it is part of main PHP package (while PEAR and PECL is not) and typically available in most professonal hosting plans (and surely available for Your own host).
Being part of the package doesn't mean it's enabled. Many hosting don't enable that kind of stuff for security reasons. (Usual crappy reason some low-class hosting can give you.)
I enabled it myself on my own server but that's not something all have the power to do.
Anyway, doesn't change anything of the uberness of it
------ This sig space is Read-only ! omgalink - Online Skillsheet |
Timotheus Siberius
Gallente
|
Posted - 2007.07.12 18:07:00 -
[287]
I'd love to see the ability to query your corp and personal blueprints make it into the API in the future...
This would allow for custom material management and planning.
* See you in space! |
CTV99
|
Posted - 2007.07.15 15:55:00 -
[288]
Any Chance Of Getting Orders To Pull With An Api, I Hate Havign too Export Them All The Time.
|
Chruker
|
Posted - 2007.07.15 17:38:00 -
[289]
Edited by: Chruker on 15/07/2007 17:38:11
Originally by: CTV99 Any Chance Of Getting Orders To Pull With An Api, I Hate Havign too Export Them All The Time.
Stop abusing your shift key like that!!! ;-)
But usefull request. ----- http://games.chruker.dk/eve_online ----- Top wishes: - No daily downtime - Faster training on sisi - Updated data export - Speedup IGB table rendering |
Luf Yu'Wong
Freelance Co-Operative
|
Posted - 2007.07.18 09:58:00 -
[290]
Originally by: Tonto Auri
Originally by: DeTox MinRohim Because CURL is not necessarily enabled on every hosts
But it is part of main PHP package (while PEAR and PECL is not) and typically available in most professonal hosting plans (and surely available for Your own host).
BTW, when using PHP 5 version, native code can be simplified to
Quote: <?php
$ch = curl_init($api_url);
curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($auth));
$rc = curl_exec($ch);
?>
<?php file_get_contents($path); ?>
This should be faster if using PHP 5 as it uses streams. And since we are getting an XML document then we have no issues in getting everything.
|
|
Luf Yu'Wong
Freelance Co-Operative
|
Posted - 2007.07.18 10:02:00 -
[291]
This may have been said before but the EVE forums are the worst in the world to search!
I would like to get All the Character IDs for a single account and then display all the related skills and training points.
At the moment it seems I have to ADD one - but this requires the user to know and input the desired char ID right, we should have another call to getCharachterIDs for the given API settings.
Again apologies if been said before or if this is in the API will go back and read.
Took me a while to even find out what the URL was api.eve-online.com
Guys please re-do the docs and place the URL in there.
Cheers
|
Laidback Luke
Pac Man Enterprises
|
Posted - 2007.07.18 17:20:00 -
[292]
Hi there, I've been attempting to get transaction data for our corp wallet, and and even though I know there must be more entries than the 1 week set I am getting back, with using the &beforeTransID= option filling in the lowest transID of the set I get nothing back, or a message stating "# error 100: Expected beforeTransID = 0: wallet not previously loaded.". What exactly does this error mean? I've been experimenting with &beforeTransID=0, &beforeTransID=<lowest transID I can see> etc. but it's not working for me for some reason. Could it be that in order to use this argument I *need* to also use the accountKey argument? Or is there something else I'm unaware of? As far as I can see (we're still a newish corp), I don't even have a 1000 entries for my transactions yet, although all of them do span around 2 1/2 - 3 weeks by now.
What am I missing here?
Thanks, Luke --- We sell ships! Contact me ingame for prices on Drakes and Myrmidons. Also looking for ore or mineral suppliers around The Citadel region! |
Fubar
Eagle Eye Inc.
|
Posted - 2007.07.19 02:11:00 -
[293]
Originally by: Laidback Luke Hi there, I've been attempting to get transaction data for our corp wallet, and and even though I know there must be more entries than the 1 week set I am getting back, with using the &beforeTransID= option filling in the lowest transID of the set I get nothing back, or a message stating "# error 100: Expected beforeTransID = 0: wallet not previously loaded.". What exactly does this error mean? I've been experimenting with &beforeTransID=0, &beforeTransID=<lowest transID I can see> etc. but it's not working for me for some reason. Could it be that in order to use this argument I *need* to also use the accountKey argument? Or is there something else I'm unaware of? As far as I can see (we're still a newish corp), I don't even have a 1000 entries for my transactions yet, although all of them do span around 2 1/2 - 3 weeks by now.
What am I missing here?
Thanks, Luke
The wallet and journal APIs will return 1000 entries with every call unless you have fewer transactions than 1000 (in that case you will only get your actual number).
You will need to count the number of rows you received from the API while you are processing it. Your program should also remember the transactionID (refID for journal) and date of the last row in the data you received. You can only request more data if you received 1000 rows and the last rows date is less than 7 days old.
Initial wallet or journal request userid=####&apikey=#X#X&characterid=####&accountKey=1000
Second wallet request userid=####&apikey=#X#X&characterid=####&accountKey=1000&beforeTransID=#####
Second journal request userid=####&apikey=#X#X&characterid=####&accountKey=1000&beforeRefID=#####
I don't have enough wallet transactions per week to test if the wallet API will return a second page.
But I do know the journal API will return a second page of data using the beforeRefId parameter.
|
Gilgamoth
Imperium Technologies Firmus Ixion
|
Posted - 2007.07.19 12:11:00 -
[294]
Originally by: Luf Yu'Wong I would like to get All the Character IDs for a single account and then display all the related skills and training points.
You'll need two calls.
One to /account/Characters.xml.aspx to get the list of characters per account, and then one to /char/CharacterSheet.xml.aspx to get the skills data.
Regards,
Gil
Future Falcon EVE Tools - Project Leader.
|
Tonto Auri
|
Posted - 2007.07.19 20:09:00 -
[295]
Originally by: Luf Yu'Wong
<?php file_get_contents($path); ?>
This should be faster if using PHP 5 as it uses streams.
php_flag allow_url_fopen Off
Let check Your construction this way.
Quote: And since we are getting an XML document then we have no issues in getting everything.
Please explaint this statement. What You mean "no issues in getting everything"? -- Thanks CCP for cu<end of sig> |
Laidback Luke
Pac Man Enterprises
|
Posted - 2007.07.19 21:54:00 -
[296]
Originally by: Fubar
Originally by: Laidback Luke Hi there, I've been attempting to get transaction data for our corp wallet, and and even though I know there must be more entries than the 1 week set I am getting back, with using the &beforeTransID= option filling in the lowest transID of the set I get nothing back, or a message stating "# error 100: Expected beforeTransID = 0: wallet not previously loaded.". What exactly does this error mean? I've been experimenting with &beforeTransID=0, &beforeTransID=<lowest transID I can see> etc. but it's not working for me for some reason. Could it be that in order to use this argument I *need* to also use the accountKey argument? Or is there something else I'm unaware of? As far as I can see (we're still a newish corp), I don't even have a 1000 entries for my transactions yet, although all of them do span around 2 1/2 - 3 weeks by now.
What am I missing here?
Thanks, Luke
The wallet and journal APIs will return 1000 entries with every call unless you have fewer transactions than 1000 (in that case you will only get your actual number).
You will need to count the number of rows you received from the API while you are processing it. Your program should also remember the transactionID (refID for journal) and date of the last row in the data you received. You can only request more data if you received 1000 rows and the last rows date is less than 7 days old.
Ok, thing is, I have less than a 1000 entries, but some of them are older than 7 days. How do I know this? First off I saved the data into a database when I just made the script. After looking at the data in the database, I noticed I had a wrong type for the specific column, so I emptied the table, and started my script again. Only this time, transactions that I had seen earlier, are now no longer returned, due to them being older than 7 days. From what I can gather, as long as I use the beforeRefID argument, I should be able to retrieve the data older than 7 days or less than a total of 1000 right? However, it's not doing so. How do I get my lowest beforeRefID? I look at the MIN(refID) value in the database table, which at current is obviously the lowest refID my database knows about. So even with the lowest refID hardcoded in the url, WalletTransactions.csv.aspx?userID=$userID&apiKey=$apiKey&characterID=$charID&accountKey=$accountKey&beforeRefID=<lowest_ID_I_know_about>, it's still not working. I see you mention 'second wallet/journal request' below, are you implying here that you would never be able to ask for data using beforeRefID directly without doing a 'regular' request first?
Originally by: Fubar Initial wallet or journal request userid=####&apikey=#X#X&characterid=####&accountKey=1000
Second wallet request userid=####&apikey=#X#X&characterid=####&accountKey=1000&beforeTransID=#####
Second journal request userid=####&apikey=#X#X&characterid=####&accountKey=1000&beforeRefID=#####
I don't have enough wallet transactions per week to test if the wallet API will return a second page.
But I do know the journal API will return a second page of data using the beforeRefId parameter.
Thanks for any suggestions you might have... --- We sell ships! Contact me ingame for prices on Drakes and Myrmidons. Also looking for ore or mineral suppliers around The Citadel region! |
Fubar
Eagle Eye Inc.
|
Posted - 2007.07.20 02:26:00 -
[297]
Originally by: Laidback Luke From what I can gather, as long as I use the beforeRefID argument, I should be able to retrieve the data older than 7 days or less than a total of 1000 right?
The RefID/TransactionID has to be very specific number, it can not be any arbitrary number from your database. The API server caches the last ID number from the previous call so it knows which number you should be sending. This number is cached for one hour. Originally by: Laidback Luke I see you mention 'second wallet/journal request' below, are you implying here that you would never be able to ask for data using beforeRefID directly without doing a 'regular' request first?
That is correct. You have up to one hour after the last request to use beforeRefID but only if the oldest data row you received in the last request is younger than seven days.
You should consider saving the results you get to a file locally, I do. So if my procedure errors out after it received the data but before it had fully parsed the data I can fall back on the saved file.
Originally by: Laidback Luke Ok, thing is, I have less than a 1000 entries, but some of them are older than 7 days.
The xml API returns up to 1000 rows of data including rows of data older than 7 days. I just tested the char/WalletTransactions.csv.aspx API and it returned 1000 rows of data, the last row was over 19 days old. So you should be receiving all of your data.
|
Laidback Luke
Pac Man Enterprises
|
Posted - 2007.07.20 15:46:00 -
[298]
Originally by: Fubar
Originally by: Laidback Luke From what I can gather, as long as I use the beforeRefID argument, I should be able to retrieve the data older than 7 days or less than a total of 1000 right?
The RefID/TransactionID has to be very specific number, it can not be any arbitrary number from your database. The API server caches the last ID number from the previous call so it knows which number you should be sending. This number is cached for one hour.
Sounds good, but this sounds pretty stupid tbh, especially when linked to the following:
Originally by: Fubar That is correct. You have up to one hour after the last request to use beforeRefID but only if the oldest data row you received in the last request is younger than seven days.
Basically, the 1 hour caching is to ensure that the server doesn't get hammered with requests, but this way, I'll do not one, but two requests within a second even. Also, code wise this seems weird. In the case of a double request, I'd first have to request the data, get the lowest transID or refID out of there, then do the exact same call again, but now with the lowest transID/refID number returned and then print out the data. Or does giving the lowest transID/refID only return data from BEFORE that transID/refID given? In which case it's even more weird I think. Why not simply return the last say 1000 lines of data and have the user decide how to deal with it? Ie. make your own array out of it, and page through the array or store the data at your own leisure.
Originally by: Fubar You should consider saving the results you get to a file locally, I do. So if my procedure errors out after it received the data but before it had fully parsed the data I can fall back on the saved file.
I do exactly that. Everything from that specific request gets stored as a CSV file on the server after every request, then read from the CSV file and filed in the database. Afterwards I read the database again, and display ALL the transactions. I always have the data, but as I mentioned above somewhere I emptied the table due to a column type error so the older data is now lost it seems. This is the way I do it right now, if there is an easier way, please tell me. I'm always willing to learn.
Originally by: Fubar The xml API returns up to 1000 rows of data including rows of data older than 7 days. I just tested the char/WalletTransactions.csv.aspx API and it returned 1000 rows of data, the last row was over 19 days old. So you should be receiving all of your data.
Weird then, it seems it doesn't. I am dead sure I have more entries than 7 days old, but not more than a thousand. Yet I am only getting data back for the last 7 days, without passing along the beforeRef/TransID... --- We sell ships! Contact me ingame for prices on Drakes and Myrmidons. Also looking for ore or mineral suppliers around The Citadel region! |
Fubar
Eagle Eye Inc.
|
Posted - 2007.07.20 17:10:00 -
[299]
Edited by: Fubar on 20/07/2007 17:11:32
Originally by: Laidback Luke Weird then, it seems it doesn't. I am dead sure I have more entries than 7 days old, but not more than a thousand. Yet I am only getting data back for the last 7 days, without passing along the beforeRef/TransID...
I am
I have been talking about the char wallet and you have been talking about the corp wallet. I was pulling corp sales data from a characters wallet and not the corp wallet.
I pulled data using the /corp/WalletTransactions.xml.aspx API and found the corp wallet only returns transactions younger then 7 days old. This means you should keep an archive directory of every csv file you retrieve from the server.
You should be able to get all of your old transactions if you use the /char/WalletTransactions.csv.aspx API but that is assuming all of your corp transactions were made using a character(s) you control.
I apologize for my confusion.
edit:BTW can you edit your post #296 and shorten that one long line of solid text.
|
Laidback Luke
Pac Man Enterprises
|
Posted - 2007.07.20 17:32:00 -
[300]
Originally by: Fubar I am
I knew I wasn't crazy here :)
Originally by: Fubar I pulled data using the /corp/WalletTransactions.xml.aspx API and found the corp wallet only returns transactions younger then 7 days old. This means you should keep an archive directory of every csv file you retrieve from the server.
Yeah, so it would seem. Still stupid though, as I take it then CCP expects all of us to simply start a history of corp transactions as of the moment you make the tool, and not before :/
Originally by: Fubar edit: BTW can you edit your post #296 and shorten that one long line of solid text.
Done
Originally by: Fubar edit #2: For those interested the /corp/WalletJournal.xml.aspx API will return more then 7 day old data rows as long as the first data row is younger then 7 days.
Yeah, noticed that, and that's exactly the one I DON'T have an issue with. So why the wise choice (must make sense somewhere) to give the Journal no limit, and the Transaction log a short limit like that?
Garthagk! Explain Thyself! :) --- We sell ships! Contact me ingame for prices on Drakes and Myrmidons. Also looking for ore or mineral suppliers around The Citadel region! |
|
Raquel Smith
Caldari Freedom-Technologies
|
Posted - 2007.07.22 10:43:00 -
[301]
Edited by: Raquel Smith on 22/07/2007 10:42:51 I wrote a Ruby library to interface with the API. Still early days but it seems to work for me. :)
Personally I'd love to see services to eliminate the need for SQL dumps at all. Agent data, solarsytem data and so forth. It could be fun and would make keeping our copies of the database from going stale a week after a dump.
(edit: botched url)
|
Ray McCormack
hirr
|
Posted - 2007.07.22 10:51:00 -
[302]
Originally by: Raquel Smith I wrote a Ruby library to interface with the API. Still early days but it seems to work for me.
Ruby is nice, I wouldn't mind getting stuck into it. Any idea when the SVN will be up?
| Researched BS BPOs | BMBE ISK Loans | |
Raquel Smith
Caldari Freedom-Technologies
|
Posted - 2007.07.22 15:05:00 -
[303]
Edited by: Raquel Smith on 22/07/2007 15:10:28
Originally by: Ray McCormack
Originally by: Raquel Smith I wrote a Ruby library to interface with the API. Still early days but it seems to work for me.
Ruby is nice, I wouldn't mind getting stuck into it. Any idea when the SVN will be up?
It's up now! Dreamhost replied to my ticket in 4 hours (not bad considering I filed it 2am local time to them).
svn co http://svn.crudvision.com/reve
Look at tester.rb for a basic usage.
Edit: Docs up at http://docs.crudvision.com/reve/
|
Eight Ace
|
Posted - 2007.07.23 11:37:00 -
[304]
Howdy.
More idiot questions from your's truly.
I have been attempting to get the corp wallet information back from the API, thankfully I have managed to achieve this.
What I have been banging my head against a wall for the last five hours with is trying to get that data to actually display on a webpage.
The output I am getting from the PHP file that calls the API is :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <link href="css/xml.xsl" rel="stylesheet" type="text/css" /> </head> <body>
<?xml-stylesheet type="text/xsl" href="ed.xsl"?><?xml version='1.0' encoding='UTF-8'?><eveapi version="1"><currentTime>2007-07-23 11:30:25</currentTime><result><rowset name="accounts" key="accountID" columns="accountID,accountKey,balance"><row accountID="3187958" accountKey="1000" balance="114535293.49" /><row accountID="13333986" accountKey="1001" balance="12568.06" /><row accountID="13333987" accountKey="1002" balance="0.00" /><row accountID="13333988" accountKey="1003" balance="0.00" /><row accountID="13333989" accountKey="1004" balance="50366611.82" /><row accountID="13333990" accountKey="1005" balance="0.00" /><row accountID="13333991" accountKey="1006" balance="518907934.66" /></rowset></result><cachedUntil>2007-07-23 11:45:25</cachedUntil></eveapi><br/> </body> </html>
What I see on the screen is :
2007-07-23 11:30:252007-07-23 11:45:25
Some discrepancy there I think you will agree.
Anyhow, could any of you programmer types please explain, in words of one syllable, how I get the XML data to display.
Please bear in mind that I first encountered XML at 10:30 this morning. Since then I have read, admittedly briefly some hundred or so webpages that claimed to explain how to get this data to be visible on the screen. None have thus far suceeded in explaining this in a way that an absolute novice, someone with no concept of HTML, XML or indeed any programming language can understand.
What I know so far is that XML is data and not presentation and some form of presentation description needs to be linked to the XML data in order to display it. That is probably the CSS / XSL file. beyond that I know nothing.
Any help much appreciated.
-8-
|
Grismar
Gallente The Establishment Establishment
|
Posted - 2007.07.23 13:55:00 -
[305]
Originally by: Eight Ace <snip a lot of XML> What I see on the screen is : 2007-07-23 11:30:252007-07-23 11:45:25 Some discrepancy there I think you will agree.
Actually, no. If you look carefully, the only pieces of text that are not the value of some attribute or an element name are those times. So, it's makes sense.
Originally by: Eight Ace Anyhow, could any of you programmer types please explain, in words of one syllable, how I get the XML data to display.
Well, the XML isn't intended for immediate display. It's an API. Application Programmer's Interface. And not a very nice playing one at that... Unless you plan to program an application, the interface will be pretty much useless to you. If you merely want to be able to access some ingame information out of game, you will either have to delve a little deeper into the intricacies of saving and handling the XML or get someone to do it for you, I'm afraid. (I'm booked though the end of the year)
Greetings, Grismar.
Your EVE IGB home: EVE Wiki, Explorer, Navigator |
Eight Ace
|
Posted - 2007.07.23 15:09:00 -
[306]
Thanks for the reply.
I have made some progress in the meantime, I now have:
fputs($fp, $head); fputs($fp, $auth); $count = 1; while (!feof($fp)) { //$data = fgets($fp); //skip the first five lines while ($count < 10) { $data = fgets($fp); $data = ""; $count ++; } $data = fgets($fp); } //echo $data;
function print_error() { global $parser; die(sprintf("XML Error: %s at line %d", xml_error_string($xml_get_error_code($parser)), xml_get_current_line_number($parser) )); } //create xml parser object $parser = xml_parser_create(); xml_parser_set_option($parser,XML_OPTION_SKIP_WHITE,1); xml_parser_set_option($parser,XML_OPTION_CASE_FOLDING,0); xml_parse_into_struct($parser,$data,&$d_ar,&$i_ar) or print_error(); //view content of $d_ar and $i_ar echo '<pre>'; print_r($d_ar); print_r($i_ar); //print $d_ar; //print $a_ar; //print $d_ar[4]; //echo $d_ar[2];
//unseting XML parser object xml_parser_free($parser); ?>
Which is returning a human readable version of the arrays containing the data I want, trying to get this into a nice neat format and get the individual values will be my next problem to tackle :)
-8-
|
Ray McCormack
hirr
|
Posted - 2007.07.23 22:05:00 -
[307]
Originally by: Eight Ace Is the intention of the /corp/WalletJournal.csv.aspx page that it's pumped into a database on my server if I want to query it or store it for others to reference or will the server happily dish this information out to other clients?
Yes. No.
What are you trying to achieve? If you want the data, just save the XML straight from your Character sheet (link over on the left there).
If you're looking to save the data on a webpage your best bet is to stick it into a database and then query that yourself. I'll be releasing an Open Source Offline Wallet later in the week that does this for you.
You are not meant to access the API everytime you want to view the information, it's meant to be stored over a period of time in your own database (or similar).
| Thanatos BPO ME1 Auction | BMBE ISK Loans | |
Hiro Yuki
Minmatar Re-Awakened Technologies Inc
|
Posted - 2007.07.23 23:38:00 -
[308]
Is there a way of getting standings? All I can see in character sheet is the character sheet and skill in training.
I've decided to try and make a website using API, but I'm new to using API's, so expect newbie questions!
|
Hiro Yuki
Minmatar Re-Awakened Technologies Inc
|
Posted - 2007.07.23 23:52:00 -
[309]
Just found the wiki. Fantastic site, thanks folks who made it! Adding my request for standings export! Also, adding request for current location export.
|
Hiro Yuki
Minmatar Re-Awakened Technologies Inc
|
Posted - 2007.07.24 14:57:00 -
[310]
How about Assets? Evemon has the ability to tell you whether you own a skillbook or not, and so it totals up the amount it will cost you to learn a whole plan. How does it do that?
|
|
Eight Ace
|
Posted - 2007.07.24 18:52:00 -
[311]
With this journal data we have in the API it would be nice to have some view of things like "best ratter" who got the most officer spawns, who's contributed the most in the way of taxes over the course of a month, that kind of thing, how many named officers we have whacked this week etc.
So this data needs to be pumped into a database, the ( highest / lowest ) refID needs to be stored so next time we call the API we only get the new data...
Wait a sec.... doesn't the beforeRefID parameter only allow walking backwards through the data - is there a parameter that will allow us to say 'only give us data that comes AFTER this refID' ??
|
Prime Ori
|
Posted - 2007.07.25 08:14:00 -
[312]
I build my Trade tool last night but missed an important thing to make it more usefull:
Buy and sell order export for re-supply info. Now I have to import it manually from every eve character inside the client enviroment which is a b**h
Thanx!
|
Irongut
M'8'S Frontal Impact
|
Posted - 2007.07.25 13:39:00 -
[313]
Edited by: Irongut on 25/07/2007 13:40:26 Edited by: Irongut on 25/07/2007 13:39:31
Originally by: Hiro Yuki
Just found the wiki. Fantastic site, thanks folks who made it!
Great! Any chance of letting those of us who don't know about it in on the url?
I've got the methods from the docs working and the two undocumented ones listed in this thread but I think there should be another...
Originally by: Patch Notes Build 32517 to 33752
Character(s) on your account, Current data on character skill training, Character skill sheet, including trained skills, implants, etc., The EVE skill tree, including all published skills, descriptions, training modifiers and times, etc., Corporation information (corporation details, members, base, date of join, etc., Wallet balance (corporation & personal, including divisions), Wallet journal log (corporation & personal, including divisions), Market transaction log (corporation & personal, including divisions), and Solar system sovereignty.
I can't find a method that returns corp info. Yes, I have the one that lists members but the patch notes seem to imply results more like a corp info window. Does this exist?
My software never has bugs. It just develops random features.
|
Confuzer
PBA Corporation The Volition Cult
|
Posted - 2007.07.25 18:38:00 -
[314]
Seriously, in the wallet export it only has a station name :S How dumb is that... they change alot in 0.0!
StationID please... ----------------- Destiny is not a matter of chance. It is a matter of choice. It's not a thing to be waited for - it is a thing to be achieved. |
Hiro Yuki
Minmatar Re-Awakened Technologies Inc
|
Posted - 2007.07.26 12:00:00 -
[315]
Originally by: Irongut
Great! Any chance of letting those of us who don't know about it in on the url?
Sorry!
http://wiki.eve-dev.net/Main_Page
It's in an early comment on this page.
|
Maccha Mochi
Gallente Center for Advanced Studies
|
Posted - 2007.07.26 22:23:00 -
[316]
Edited by: Maccha Mochi on 26/07/2007 22:23:32 self snip
|
Yokan Daifuku
Gallente The Flaming Sideburn's Hedonistic Imperative
|
Posted - 2007.07.26 22:25:00 -
[317]
I would like to announce the start of an Schema for the api. Since this is a topic of its own I've started another thread. Let me know what you think, remember its just a start. ---- Yo-con Die-foo-koo |
Jalf
|
Posted - 2007.07.26 22:35:00 -
[318]
Just a very simple suggestion. When you get errors like this one: <error code="101">Wallet exhausted: retry after 2007-07-26 22:34:07.</error> How about putting the timestamp in its own tag? Would be nice if I could get the "retry after" time through XML operations only, without having to do string parsing as well. Could just be something like the following: <error code="101">Wallet exhausted: retry after <time>2007-07-26 22:34:07</time></error>
|
Jalf
|
Posted - 2007.07.26 22:55:00 -
[319]
Edited by: Jalf on 26/07/2007 23:01:20 Edited by: Jalf on 26/07/2007 22:56:26
Originally by: Eight Ace
Anyhow, could any of you programmer types please explain, in words of one syllable, how I get the XML data to display.
The simple solution is to output *nothing else* but the XML to the browser (no html/head/body tags or anything else. Just the plain XML document). Then it'll show it as an xml document, which is better than nothing. (by the way, I made a very simple html version grabbing market transactions here: http://spoonbender.5elements.net/evemarket.html There's no php or anything on the backend, it's just a static html page. Very quick & dirty, but it works :D And it outputs the returned xml directly to the browser, without using a XSLT or anything like that, so that should give you an idea of how that looks, at least.
I can see you tried to use XSLT to format the xml data, which is the way I'd go as well. However, to do that, your XML has to be formatted correctly. In particular, it shouldn't contain html (the XSLT stylesheet is responsible for adding that), and it should start with the stylesheet inclusion (or the <?xml> tag)
Make the document start with these two lines (no doctyles, no html tags before this, not even spaces or other whitespace.) <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="ed.xsl"?> <eveapi version="1"> ... bla bla, rest of the xml doc here ...
(note that the ?xml tag, if it exists, must be the *first* in the document. And the ?xml-stylesheet tag must come after)
I can't see your xsl file, so can't tell if that is correct. But you'll want to put all the html you want to generate inside that file. As you say, XML is data, XSL handles the presentation. And what are the html tags, if not presentation?
And just to clarify on the difference between CSS and XSL stylesheets. CSS stylesheets just tweak how specific HTML tags should be rendered. It doesn't transform the HTML itself. It can't, say, create a <div> here, and repeat the <hr> there three times. It can only take the given HTML tags, and format them.
XSL on the other hand can only transform. From XML to... whatever you like. Usually you want to transform to HTML, but it can do other things as well. XSL doesn't specify how, say, a div tag should be rendered. It just takes the XML data, and generates a HTML document around it. (That html document can use CSS properties and classes just like a regular HTML document.) The XSL file can say "whenever we encounter a row tag inside a rowset tag in the XML, we should take the "balance" attribute, and put it in a <div class="cssrow>", for example.
Oh, and the reason why none of your data was displayed is simple, and to do with HTML, not XML. HTML has two simple rules that cause it. First, a tag is some text enclosed in <>'s. Second, when the browser encounters an unknown tag, the specs say it should be ignored. So, what should it do when it runs into, say, an <?xml-stylesheet> tag in the middle of an html document? It's not a valid HTML tag, so it should be ignored. Same goes for <currentTime>, <rowset> and all the others. They're tags, but they're not valid HTML tags. So they get ignored.
You may want to play around with this XSLT tutorial a bit: http://www.w3schools.com/xsl/ It's the best one I've found so far.
|
Tonto Auri
|
Posted - 2007.07.28 16:48:00 -
[320]
Originally by: Jalf Could just be something like the following: <error code="101">Wallet exhausted: retry after <time>2007-07-26 22:34:07</time></error>
It already there. Any such thing should contain <cachedUntil>2007-06-18 23:42:00</cachedUntil> -- Thanks CCP for cu<end of sig> |
|
Zy'or Tealon
Caldari DarkStar 1 GoonSwarm
|
Posted - 2007.07.28 19:00:00 -
[321]
Will there be any way, or is there a way and did I miss it, to differentiate corporate transactions from personal transactions when retrieving the personal transactions?
Ingame the difference is visible through the color of the transactionDateTime. but the API doesn't make that difference afaik. This seriously messes up my personal market statistics :/
I tried to filter out the corp transactions using my log of the corp transaction downloads, but I'm missing some historical data which goes to far back. So that didn't work out.
Originally by: Clementina
If you bug report it, you get ignored. If you post about it on the forums, you get banned. If you exploit it, you get rich.
|
Jalf
|
Posted - 2007.07.29 18:38:00 -
[322]
Originally by: Tonto Auri
Originally by: Jalf Could just be something like the following: <error code="101">Wallet exhausted: retry after <time>2007-07-26 22:34:07</time></error>
It already there. Any such thing should contain <cachedUntil>2007-06-18 23:42:00</cachedUntil>
Ok, good point. :) But you only get that in the original result, not in the subsequent messages telling you to retry later. What I'm saying is that it'd be handy if I also had the time easily accessible in the "retry after" message.
Still, I'd forgotten that the original result had the cachedUntil field... :)
|
Tonto Auri
|
Posted - 2007.07.30 02:29:00 -
[323]
EVE API badly designed and have too many "issues" which ***** people heads each time they try to get it to real work. -- Thanks CCP for cu<end of sig> |
Tonto Auri
|
Posted - 2007.07.30 02:32:00 -
[324]
Eeerm.. does word "сraсk" mean something special why it filtered out? -- Thanks CCP for cu<end of sig> |
Opusent
IGA Trade Goods
|
Posted - 2007.07.30 15:04:00 -
[325]
For all the .NET developers, check out this thread for a new version of the Eve Toolbox, which contains an API interface as well as some examples and documentation
The Eve Toolbox Team
http://www.codeplex.com/evetoolbox |
Tekai Foo
German Kings OPUS Alliance
|
Posted - 2007.08.01 16:18:00 -
[326]
To what does the startDateTime in the MemberTracking refer? It's not the Character creation, but what is it?
|
Opusent
IGA Trade Goods
|
Posted - 2007.08.01 16:45:00 -
[327]
Originally by: Tekai Foo To what does the startDateTime in the MemberTracking refer? It's not the Character creation, but what is it?
I believe it's the date that the character joined the corporation
http://www.codeplex.com/evetoolbox |
Tekai Foo
German Kings OPUS Alliance
|
Posted - 2007.08.01 22:20:00 -
[328]
Originally by: Opusent
Originally by: Tekai Foo To what does the startDateTime in the MemberTracking refer? It's not the Character creation, but what is it?
I believe it's the date that the character joined the corporation
Ouch, yes, matches my join date.
|
Ix Forres
Vanguard Frontiers INVICTUS.
|
Posted - 2007.08.04 03:59:00 -
[329]
Edited by: Ix Forres on 04/08/2007 04:16:33 I knocked up a fairly flexible PHP5 class for working with the API- if anyone's interested it's here with it's (limited) documentation: http://wiki.eve-dev.net/API_PHP_Class
It's got a basic class for interacting with the API to return a SimpleXML object you can use to get data from the returned call- it's a simple key/id manager and simplification for developers. Means you can turn 20 lines of code into, say: $api = new apiinterface(); $api->setup("APIUSERID","APIKEY"); $ret = $api->apiRequest("account/Characters.xml.aspx"); // No array needed, will just provide basic authentication data. echo "Corporation Name: ".$ret->result->rowset->row[0]['corporationName'];
Edit: I intend to add to this and create a fairly full-featured interface from PHP to the API as time goes on- I'm cooking this up alongside a site I'm working on and will maintain them in parallel. Ix Forres
|
Nolana Kane
|
Posted - 2007.08.06 14:09:00 -
[330]
Originally by: Wardo21 Edited by: Wardo21 on 03/07/2007 20:02:59 Edit: on my second account, the character looks like he's done with training since the completion time has passed, but the <skillintraining> field is still "1".
<currentTime>2007-07-03 19:52:11</currentTime> <trainingEndTime>2007-07-03 15:58:21</trainingEndTime>
I had the same problem today: My training has finished this morning, still the XML claims that training is still underway. (Of course, looking at the actual timestamps reveals that currentTime > trainingEndTime.
Also one more voice for a proper DTD, XML Schema or Relax NG schema definition of the resulting XML. This would help creating parsers enormously, i.e. using a binding XML API I could have nice, tidy Java classes up in no time. For now, XSLT on the result will have to suffice.
|
|
Iachrites Archveult
Jericho Fraction The Star Fraction
|
Posted - 2007.08.07 14:38:00 -
[331]
I seem to be getting a peculiar discrepancy in the API data that I don't think can be due to caching issues.
I noticed this at first when I used a fitting tool to import my character sheet and noticed that my Gallente Carrier Skill was at 3 when it should be at 4. Checking in game I saw to my relief that I hadn't imagined training it up. I also checked the traditional MyEVE character sheet and it showed the skill was at 4.
MyEVE Char Sheet XML
<skill typeName="Gallente Carrier" typeID="24313"> <groupID>257</groupID> <flag>7</flag> <rank>14</rank> <skillpoints>633568</skillpoints> <level>4</level> <skilllevel1>3500</skilllevel1> <skilllevel2>19799</skilllevel2> <skilllevel3>112000</skilllevel3> <skilllevel4>633568</skilllevel4> <skilllevel5>3584000</skilllevel5> </skill>
Then I checked the API output:
<row typeName="Gallente Carrier" groupID="257" typeID="24313">
<row typeID="24313" skillpoints="633568" level="3" />
The thing to notice here is that the skillpoints count is correct. 633568 is right for level 4. Yet the API says the level is 3.
Seems to be some kind of error in the API at some level.
IA
|
Dr Slurm
General Commodities
|
Posted - 2007.08.07 21:36:00 -
[332]
Has there been any library created for the API in java?
|
Graz Geko
Amarr Radikus Industries
|
Posted - 2007.08.08 02:27:00 -
[333]
@Iachrites Archveult: If you look at the skill points you have listed via the api and the value listed for rank 4 from myEVE it would be the same as level4, my guess is the api starts at 0 instead of 1, which is common in the programming language world. Then again, could be a bug too... But I'd be on the starting at 0 thing. :)
|
Tonto Auri
|
Posted - 2007.08.08 04:25:00 -
[334]
Originally by: Iachrites Archveult The thing to notice here is that the skillpoints count is correct. 633568 is right for level 4. Yet the API says the level is 3.
Seems to be some kind of error in the API at some level.
Is it a skill which is just finalized and You still not logged in to get skill completion message? Theres' one quirk used by EVE devs to provide such login alert to us... In that ugly way :((
Originally by: Iachrites Archveult
IA
There's a signature option in settings. No need to waste messages body. -- Thanks CCP for cu<end of sig> |
Nolana Kane
|
Posted - 2007.08.08 13:31:00 -
[335]
Originally by: Dr Slurm Has there been any library created for the API in java?
I'm working on it. (That's why I wished I had a DTD for the XML output :)
First application will be a skill warner which sends me a text message to my cell phone whenever skill training has finished. ;)
|
Iachrites Archveult
Jericho Fraction The Star Fraction
|
Posted - 2007.08.08 13:54:00 -
[336]
Originally by: Graz Geko @Iachrites Archveult: If you look at the skill points you have listed via the api and the value listed for rank 4 from myEVE it would be the same as level4, my guess is the api starts at 0 instead of 1, which is common in the programming language world. Then again, could be a bug too... But I'd be on the starting at 0 thing. :)
If that were the case the API would return skill level of n-1 for every trained skill which would be a very odd thing indeed. Unless I am misunderstanding your point.
In terms of the skill completion, this is a skill that has been trained to that level for quite some time. skillpoints.
I notice that EVEmon gets the level right using the API to load the character. I assume it ignores the level given in the charSheet api xml and just uses the SPs to calculate the level itself.
I wonder if there is a rounding issue here that the API is not handling properly.
IA
|
Elissen
Amarr Serenity Inc
|
Posted - 2007.08.08 15:20:00 -
[337]
I don't think it is supposed to be n-1 since the value should (assumption) be 0 when you don't have the skill trained to the first level, but you do have the skill in your charsheet. ---- Weeks of programming can save you hours of planning. Jumpplanner v2.0 - Routeplanner for all jumpcapable ships! |
Lord Choronic
Science and Trade Institute
|
Posted - 2007.08.08 23:19:00 -
[338]
Originally by: TornSoul Edited by: TornSoul on 17/06/2007 02:06:51 Edited by: TornSoul on 16/06/2007 17:19:43
Hmm not a single post on this yet - or did I miss it?
Handy link : EVE API Documentation Index (I assume it will be added to the left menu at sometime)
=====
Could you update the doc pages with the corresponding example input params for the listed output examples (should kill a few questions)
It would also be good to document the output values, same way as the input params.
Granted, most are selfexplanatory - But not all.
=====
EVE API - Journal Data
Could we please have an "afterRefID" option as well (should even reduce load a bit - if ppl use it...)
This would allow ppl to not (needlessly) request data that they've already got.
====
EVE API - Transaction Data
Needs an "afterTransID" option. Same argument as above
=====
Put a link on the EVE API - Journal Data page refering to the reftypes found on EVE API - Generic Data (/eve/RefTypes.xml.aspx)
Thats kinda where you'd need that info - So a link there would be appropriate.
=====
Also as has been raised before, there really needs to be a way to differentiate the data. I might want to show someone my skills - But not necessarily all my and my corps financial data.
EDIT : The more I think about this the more it concerns me.
I might myself be carefull about who I give my apikey.
But I cant be sure that all corp members are equally carefull - or simply have the same preferences as to who it's ok to give the key to (and thus all of the corps financial data...)
=====
Ok am I just missing this by a mile, but is there no way to download any of these API or what ever? what am I missing?
|
Asura Siddartha
GoonFleet GoonSwarm
|
Posted - 2007.08.09 00:39:00 -
[339]
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?
|
Chruker
|
Posted - 2007.08.09 03:49:00 -
[340]
Originally by: Lord Choronic
Originally by: TornSoul Edited by: TornSoul on 17/06/2007 02:06:51 Edited by: TornSoul on 16/06/2007 17:19:43
Hmm not a single post on this yet - or did I miss it?
Handy link : EVE API Documentation Index (I assume it will be added to the left menu at sometime)
=====
Could you update the doc pages with the corresponding example input params for the listed output examples (should kill a few questions)
It would also be good to document the output values, same way as the input params.
Granted, most are selfexplanatory - But not all.
=====
EVE API - Journal Data
Could we please have an "afterRefID" option as well (should even reduce load a bit - if ppl use it...)
This would allow ppl to not (needlessly) request data that they've already got.
====
EVE API - Transaction Data
Needs an "afterTransID" option. Same argument as above
=====
Put a link on the EVE API - Journal Data page refering to the reftypes found on EVE API - Generic Data (/eve/RefTypes.xml.aspx)
Thats kinda where you'd need that info - So a link there would be appropriate.
=====
Also as has been raised before, there really needs to be a way to differentiate the data. I might want to show someone my skills - But not necessarily all my and my corps financial data.
EDIT : The more I think about this the more it concerns me.
I might myself be carefull about who I give my apikey.
But I cant be sure that all corp members are equally carefull - or simply have the same preferences as to who it's ok to give the key to (and thus all of the corps financial data...)
=====
Ok am I just missing this by a mile, but is there no way to download any of these API or what ever? what am I missing?
Two miles actually. There isn't any code to download. You simply create a HTTP POST request with the variables, and then reads the output that the server sends you.
http://myeve.eve-online.com/api/doc/ http://wiki.eve-dev.net/API ----- http://games.chruker.dk/eve_online ----- Top wishes: - No daily downtime - Faster training on sisi - Updated data export - Speedup IGB table rendering |
|
Lord Choronic
Science and Trade Institute
|
Posted - 2007.08.09 09:07:00 -
[341]
Originally by: Chruker
Originally by: Lord Choronic
Originally by: TornSoul Edited by: TornSoul on 17/06/2007 02:06:51 Edited by: TornSoul on 16/06/2007 17:19:43
Hmm not a single post on this yet - or did I miss it?
Handy link : EVE API Documentation Index (I assume it will be added to the left menu at sometime)
=====
Could you update the doc pages with the corresponding example input params for the listed output examples (should kill a few questions)
It would also be good to document the output values, same way as the input params.
Granted, most are selfexplanatory - But not all.
=====
EVE API - Journal Data
Could we please have an "afterRefID" option as well (should even reduce load a bit - if ppl use it...)
This would allow ppl to not (needlessly) request data that they've already got.
====
EVE API - Transaction Data
Needs an "afterTransID" option. Same argument as above
=====
Put a link on the EVE API - Journal Data page refering to the reftypes found on EVE API - Generic Data (/eve/RefTypes.xml.aspx)
Thats kinda where you'd need that info - So a link there would be appropriate.
=====
Also as has been raised before, there really needs to be a way to differentiate the data. I might want to show someone my skills - But not necessarily all my and my corps financial data.
EDIT : The more I think about this the more it concerns me.
I might myself be carefull about who I give my apikey.
But I cant be sure that all corp members are equally carefull - or simply have the same preferences as to who it's ok to give the key to (and thus all of the corps financial data...)
=====
Ok am I just missing this by a mile, but is there no way to download any of these API or what ever? what am I missing?
Two miles actually. There isn't any code to download. You simply create a HTTP POST request with the variables, and then reads the output that the server sends you.
http://myeve.eve-online.com/api/doc/ http://wiki.eve-dev.net/API
I'm sorry. but I still have no clue on how to get a hold of the information :( I'm seriously a noob when it comes to Internet Explorer and that jazz, help would be appriciated
|
Chruker
|
Posted - 2007.08.09 12:28:00 -
[342]
Originally by: Lord Choronic
Originally by: Chruker Two miles actually. There isn't any code to download. You simply create a HTTP POST request with the variables, and then reads the output that the server sends you.
http://myeve.eve-online.com/api/doc/ http://wiki.eve-dev.net/API
I'm sorry. but I still have no clue on how to get a hold of the information :( I'm seriously a noob when it comes to Internet Explorer and that jazz, help would be appriciated
Using the EVE API requires a bit of programming and knowledge of HTTP requests. There are programs comings and sites being developed that'll utilize the EVE API.
----- http://games.chruker.dk/eve_online ----- Top wishes: - No daily downtime - Faster training on sisi - Updated data export - Speedup IGB table rendering |
Tonto Auri
|
Posted - 2007.08.09 16:37:00 -
[343]
Edited by: Tonto Auri on 09/08/2007 16:37:37
Originally by: Lord Choronic I'm sorry. but I still have no clue on how to get a hold of the information :( I'm seriously a noob when it comes to Internet Explorer and that jazz, help would be appriciated
That means You do not need any help in case You do not need to know anything about EVE API. It just not required to play EVE as You doing it.
P.S. And, please, STOP YOUR OVERQUOTING!! -- Thanks CCP for cu<end of sig> |
Jaabaa
Minmatar Dental Drilling Corporation
|
Posted - 2007.08.11 15:07:00 -
[344]
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. |
Asura Siddartha
GoonFleet GoonSwarm
|
Posted - 2007.08.14 20:52:00 -
[345]
Originally by: Jaabaa
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.
Why is it the really obvious things.....
Thanks.
|
Vulcar Dumas
|
Posted - 2007.09.30 03:37:00 -
[346]
Why is this not working, it outputs a blank page-
<?php $data = array( 'userID' => "xxx", 'apiKey' => "xxxx" );
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://api.eve-online.com/char/WalletJournal.xml.aspx"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$xml = new SimpleXMLElement(curl_exec($ch)); curl_close($ch);
foreach ($xml->xpath('//row') as $row) { echo 'Date: '.$row['date'].'<br/>'."\n"; echo 'Type: '.$row['refType'].'<br/>'."\n"; echo 'Owner '.$row['ownerName1'].'<br/>'."\n"; echo 'Owner Name 2: '.$row['ownerName2'].'<br/>'."\n"; echo 'amount: '.$row['amount'].'<br/>'."\n"; echo 'Balance: '.$row['balance'].'<br/>'."\n"; echo 'reason: '.$row['reason'].'<br/>'."\n"; echo '<br/>'."\n"; } ?>
While this one prints out the data [showing that the CURL package is installed]
<?php $data = array( 'userID' => "xxx", 'apiKey' => "xxx" );
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://api.eve-online.com/account/Characters.xml.aspx"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$xml = new SimpleXMLElement(curl_exec($ch)); curl_close($ch);
foreach ($xml->xpath('//row') as $row) { echo 'Nom: '.$row['name'].' (id: '.$row['characterID'].')'.'<br/>'."\n"; echo 'Coporation: '.$row['corporationName'].' (id: '.$row['corporationID'].')'.'<br/>'."\n"; echo '<br/>'."\n"; }
If I missed something in a previos post sorry it is a very long topic. Please and thanks to all who assist. ?>
|
Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2007.09.30 06:55:00 -
[347]
Originally by: Vulcar Dumas Why is this not working, it outputs a blank page-
If I missed something in a previos post sorry it is a very long topic. Please and thanks to all who assist.
Do you have php5 installed? Also try adding your characterID and account key to your data array.
This is what I have: <?php
//Setting Needed Information $url="http://api.eve-online.com/char/WalletJournal.xml.aspx"; $userid='xxx'; $apikey="xxxx"; $characterID='xxx'; $accountKey="1000";
//Build Post Array $auth = array( 'userID' => $userid, 'apiKey' => $apikey, 'characterID' => $characterID, 'accountKey' => $accountKey );
//Begins connecting to eve api
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($auth));
//Initializes the XML Parser $xml = new SimpleXMLElement(curl_exec($ch));
//Closes the eveapi connection curl_close($ch);
//Parse the file foreach ($xml->xpath('//row') as $row) { echo 'Date: '.$row['date'].'<br/>'."\n"; echo 'Type: '.$row['refType'].'<br/>'."\n"; echo 'Owner '.$row['ownerName1'].'<br/>'."\n"; echo 'Owner Name 2: '.$row['ownerName2'].'<br/>'."\n"; echo 'amount: '.$row['amount'].'<br/>'."\n"; echo 'Balance: '.$row['balance'].'<br/>'."\n"; echo 'reason: '.$row['reason'].'<br/>'."\n"; echo '<br/>'."\n"; } ?>
Corporation Management Improvement |
Tonto Auri
|
Posted - 2007.10.01 03:30:00 -
[348]
Originally by: Vulcar Dumas Why is this not working, it outputs a blank page-
<?php $data = array( 'userID' => "xxx", 'apiKey' => "xxxx" );
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://api.eve-online.com/char/WalletJournal.xml.aspx"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
WalletJournal API call requires CharacterID parameter to be passed with API key information. Just add it to $data structure. -- Thanks CCP for cu<end of sig> |
Eight Ace
|
Posted - 2007.11.25 21:11:00 -
[349]
This might have been asked and answered already but would it be possible to have a small test set of data from the wallet API ?
Some of us, mentioning no names <cough, me> are not such good coders as others. I am trying to get the corp wallet to do some stuff and the limit on how many times you can call the wallet each day is kinda hard to work round. Basically I can only test changes once a day which is a pain.
Please let me know if there is a test function I can call a bit more often to see if my code is working.
Thanks.
-8-
|
Ambo
2nd Outcasters
|
Posted - 2007.11.26 08:33:00 -
[350]
Just save a copy of the XML you get and then you can run it through as many times as you like. (Obviously you have to make some small adaptations, if you need some pointers give me a shout )
|
|
caldar globule
|
Posted - 2007.11.26 12:32:00 -
[351]
hi, risking to be hurt by all of you, is there anyone who has a dtd or xsd definition for the xml files provided in response of the use of the Eve API ?
|
|
CCP Garthagk
|
Posted - 2007.11.26 17:17:00 -
[352]
Necromancy is all well and good in private, but for the love of the forums, let's not start doing it in public.
If you have any questions and such, go ahead and start a new toplevel thread. They're easier to find, too! Thanks.
-------------- Garthagk - EVE Software Group - EVE API Guy
Proud to fly Amarr. Long live the Emperor...well, the Empire at least. |
|
|
|
|
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 .. 12 :: [one page] |