These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

API XML - how to get a single value from map/kills and map/jumps. java

Author
James cliford
Helix Initiative
Pretenders
#1 - 2017-03-28 13:49:45 UTC
i'm making a routing software designed for navigating through null/low sec environments. i want the program to consider as much information as it can before creating a route. to do this i want to use the API to get information on traffic and kills in each system it considers.

but i am very new to HTTP and APIs in general i want to create functions that take the SystemID as an argument and outputs kills how would i do this
Blacksmoke16
Resilience.
#2 - 2017-03-28 14:55:25 UTC
As of right this minute you would have to:

Fetch the kill data, and load it into a database every hour.
https://api.eveonline.com/map/kills.xml.aspx

Probably setup some way to delete the entries that are older than x, assuming you don't need to keep kill history from x days/weeks/months ago.

Then you could do a database lookup on your table to return the kill info from the system you want.


NOTE: An ESI endpoint will be coming out for this next release, no date atm. The main concept would remain the same you would just have to change the endpoint and change the parsing from XML to JSON.