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.
 

[EVSCO/EVE-KILL] EPIC API (Yes, it is actually EPIC) (DEAD)

Author
Karbowiak
State War Academy
Caldari State
#41 - 2012-01-14 19:30:21 UTC
Zaine Maltis wrote:
Back up now, but I'm struggling to work out how to use this. I'm trying:

http://eve-kill.net/epic/involvedPilot:Dozer Farstrider/mask:2097151

and stealing the mask from one of the examples. Is this like the other API and limited to kills this year? I'm returned back "[]".

I grabbed the name from someone on the front page of eve kill so I know they've got kills!


What I need to do is provide a way for people to put their Pilot name, or Corp name into a box and in the background pull kills from ya to display like this: http://www.innsmouthenterprises.com/wp-content/uploads/2009/07/screenshot-2.gif



http://eve-kill.net/epic/involvedPilot:Dozer_Farstrider/mask:2097151

;)
Zaine Maltis
Innsmouth Enterprises
#42 - 2012-01-14 19:46:30 UTC
and what does that return? Is it limited to kills this year? this month?

Can I get it to return kills in the last x days?
Karbowiak
State War Academy
Caldari State
#43 - 2012-01-14 22:28:31 UTC  |  Edited by: Karbowiak
Zaine Maltis wrote:
and what does that return? Is it limited to kills this year? this month?

Can I get it to return kills in the last x days?


It's limited to the last 200 kills in this month.
Atm there is no way to alter this (im lazy)

edit://
btw, if you only need minor amounts of information, try with a smaller bitmask number to only request the information you actually need.
Zaine Maltis
Innsmouth Enterprises
#44 - 2012-01-15 16:00:21 UTC  |  Edited by: Zaine Maltis
Ok. getting there. However, I think you need to change the way you are returning the data. Currently, a kill is represented by this:

[[{"url":"http:\/\/eve-kill.net\/?a=kill_detail&kll_id=12139313"},{"timestamp":"2012-01-14 17:31:00"},{"victimName":"Kelshall"},{"victimShipName":"Stabber"},{"FBPilotName":"ValentinaDLM"},{"solarSystemName":"Akonoinen"}]]

which decodes into:

Array
(
[0] => Array
(
[0] => array
(
[url] => http://eve-kill.net/?a=kill_detail&kll_id=12139313
)

[1] => array
(
[timestamp] => 2012-01-14 17:31:00
)

[2] => array
(
[victimName] => Kelshall
)

[3] => array
(
[victimShipName] => Stabber
)

[4] => array
(
[FBPilotName] => ValentinaDLM
)

[5] => array
(
[solarSystemName] => Akonoinen
)

)

which is a total ballache to work with. Instead, it would make more sense to return as:

[[{"url":"http:\/\/eve-kill.net\/?a=kill_detail&kll_id=12139313", "timestamp":"2012-01-14 17:31:00","victimName":"Kelshall","victimShipName":"Stabber","FBPilotName":"ValentinaDLM","solarSystemName":"Akonoinen"}]]

which would decode as:

Array
(
[0] => Array
(
[0] => Array
(
[url] => http://eve-kill.net/?a=kill_detail&kll_id=12139313
[timestamp] => 2012-01-14 17:31:00
[victimName] => Kelshall
[victimShipName] => Stabber
[FBPilotName] => ValentinaDLM
[solarSystemName] => Akonoinen
)

)

)

which is eeeasy to work with.
Zaine Maltis
Innsmouth Enterprises
#45 - 2012-01-15 17:24:08 UTC
Karbowiak you are a squire and a gentlemen \o/ Big smile
Karbowiak
State War Academy
Caldari State
#46 - 2012-01-15 17:49:18 UTC
I've added the ability to limit amount of mails EPIC returns.
mailLimit:1 to mailLimit:100
Setting it below 1 is useless, and above 100 defaults back to 100.

Also, as per. Zaine's post, i have updated the way data is returned. Instead of being so convoluted in it's return, it's now sexy and easy to parse.

Enjoy! ;)
Karbowiak
State War Academy
Caldari State
#47 - 2012-01-18 16:09:14 UTC
aaaaaaand bump..

<3 EPIC
Karbowiak
State War Academy
Caldari State
#48 - 2012-01-27 15:12:29 UTC
i shall bump thy!

/me nudges the forum post

oh look at that Bear
Marchejita
NRDS What Else
Goonswarm Federation
#49 - 2012-02-08 10:25:43 UTC
is it possible to make some battle report in some system between two specifics times ?

http://eve-kill.net/?a=kill_related&kll_id=12384045 but between 8:00 to 10:00

Fara'a
Solarmark
Stellarium Alliance
#50 - 2012-02-26 09:53:49 UTC
I'm trying to set up a new corp KB (edk 4.++), and I'm unable to get data from the current one. How can I retrieve the data from eve-kill?
The most i managed were kills from current month, using idfeed, but since the corp has killmails from 2006 it would be nice to have them all.
Since the biggest problem is my lack of knowledge using idfeed What? I would appreciate if you can be as specific as you can Blink.
I don't mind doing some legwork, meaning getting mails year by year or month by month even, just need to know if i can get a hold on of all corp killmails.
Regards,
Fara'a

Hate it or love it, the underdog's on top, And I'm gonna shine until my heart stop.

Karbowiak
State War Academy
Caldari State
#51 - 2012-03-25 22:01:55 UTC
Sorry for the lacking of answering questions in this thread, i shall pick that up again! Lol

Marchejita wrote:
is it possible to make some battle report in some system between two specifics times ?

http://eve-kill.net/?a=kill_related&kll_id=12384045 but between 8:00 to 10:00


Battle reports are done automatically, so atm, no.

Fara'a wrote:
I'm trying to set up a new corp KB (edk 4.++), and I'm unable to get data from the current one. How can I retrieve the data from eve-kill?
The most i managed were kills from current month, using idfeed, but since the corp has killmails from 2006 it would be nice to have them all.
Since the biggest problem is my lack of knowledge using idfeed What? I would appreciate if you can be as specific as you can Blink.
I don't mind doing some legwork, meaning getting mails year by year or month by month even, just need to know if i can get a hold on of all corp killmails.
Regards,
Fara'a

getting mails from eve-kill you do via idfeed.

As for help doing it, you should look at the eve-id people :)
Khorkrak
KarmaFleet
Goonswarm Federation
#52 - 2012-03-26 17:04:39 UTC  |  Edited by: Khorkrak
Is there a way to get a copy of the entire set of kills, pilots, corps and alliances directly as opposed to hammering the EPIC API to do so? I.e. MySQL dumps of the corresponding tables gzipped posted somewhere on eve dev periodically would suffice. I can use the API but would rather not be a drain on performance.

Developer of http://www.decloaked.com and http://sourceforge.net/projects/pykb/

Karbowiak
State War Academy
Caldari State
#53 - 2012-03-26 19:01:56 UTC
Khorkrak wrote:
Is there as way to get a copy of the entire set of kills, pilots, corps and alliances directly as opposed to hammering the EPIC API to do so? I.e. MySQL dumps of the corresponding tables gzipped posted somewhere on eve dev periodically would suffice. I can use the API but would rather not be a drain on performance.


sadly no, we don't do period data dumps of killmails.

Would be easier to explain why if you come by our irc channel tbh Smile
Karbowiak
State War Academy
Caldari State
#54 - 2012-04-01 17:59:30 UTC
Updated with a new function that i had forgotten to add, the ability to list a single killmail.

Also removed some of the examples since they were old and not current at all..
Etil DeLaFuente
Aliastra
Gallente Federation
#55 - 2012-04-08 23:22:04 UTC  |  Edited by: Etil DeLaFuente
There is a bug in the Json produced with your EPIC API if no items are dropped or destroyed (capsule). Instead of creating a null object it creates an empty array. I have left the internal ID so you can reproduce it.

I used the mask value : 1606910

Exemple :

{
"timestamp": "xxxxxxxx",
"internalID": 13002332,
"externalID": xxxxxxxx,
"victimName": "xxxxxxxx",
"victimExternalID": xxxxxxxx,
"victimCorpName": "xxxxxxxx",
"victimAllianceName": "xxxxxxxx",
"victimShipID": xxxxxxxx,
"solarSystemName": "xxxxxxxx",
"involved": [{
"characterID": xxxxxxxx,
"characterName": "xxxxxxxx",
"corporationID": xxxxxxxx,
"corporationName": "xxxxxxxx",
"allianceID": xxxxxxxx,
"allianceName": "xxxxxxxx.",
"factionID": xxxxxxxx,
"factionName": xxxxxxxx,
"securityStatus": xxxxxxxx,
"damageDone": xxxxxxxx,
"finalBlow": xxxxxxxx,
"weaponTypeID": xxxxxxxx,
"shipTypeID": xxxxxxxx
}],
"items": []
}
Etil DeLaFuente
Aliastra
Gallente Federation
#56 - 2012-04-09 00:54:30 UTC
Can you consider adding the possibility to query the epic api by ids ? e.g allianceId, CorporationId, etc..

Some alliances and corps use a dot at the end and for some reason that character is stripped from the url.

Etil DeLaFuente
Aliastra
Gallente Federation
#57 - 2012-04-14 08:34:09 UTC
Bump

Etil DeLaFuente wrote:
There is a bug in the Json produced with your EPIC API if no items are dropped or destroyed (capsule). Instead of creating a null object it creates an empty array. I have left the internal ID so you can reproduce it.

I used the mask value : 1606910

Exemple :

{
"timestamp": "xxxxxxxx",
"internalID": 13002332,
"externalID": xxxxxxxx,
"victimName": "xxxxxxxx",
"victimExternalID": xxxxxxxx,
"victimCorpName": "xxxxxxxx",
"victimAllianceName": "xxxxxxxx",
"victimShipID": xxxxxxxx,
"solarSystemName": "xxxxxxxx",
"involved": [{
"characterID": xxxxxxxx,
"characterName": "xxxxxxxx",
"corporationID": xxxxxxxx,
"corporationName": "xxxxxxxx",
"allianceID": xxxxxxxx,
"allianceName": "xxxxxxxx.",
"factionID": xxxxxxxx,
"factionName": xxxxxxxx,
"securityStatus": xxxxxxxx,
"damageDone": xxxxxxxx,
"finalBlow": xxxxxxxx,
"weaponTypeID": xxxxxxxx,
"shipTypeID": xxxxxxxx
}],
"items": []
}

and
Etil DeLaFuente wrote:
Can you consider adding the possibility to query the epic api by ids ? e.g allianceId, CorporationId, etc..

Some alliances and corps use a dot at the end and for some reason that character is stripped from the url.
plan q
Perkone
Caldari State
#58 - 2012-04-14 14:54:42 UTC
btw poked him and if you ever need to get his attention pop into irc
irc.coldfront.org #esc
Karbowiak
State War Academy
Caldari State
#59 - 2012-04-14 15:22:23 UTC  |  Edited by: Karbowiak
Etil DeLaFuente wrote:
Bump

Etil DeLaFuente wrote:
There is a bug in the Json produced with your EPIC API if no items are dropped or destroyed (capsule). Instead of creating a null object it creates an empty array. I have left the internal ID so you can reproduce it.

I used the mask value : 1606910

Exemple :

{
"timestamp": "xxxxxxxx",
"internalID": 13002332,
"externalID": xxxxxxxx,
"victimName": "xxxxxxxx",
"victimExternalID": xxxxxxxx,
"victimCorpName": "xxxxxxxx",
"victimAllianceName": "xxxxxxxx",
"victimShipID": xxxxxxxx,
"solarSystemName": "xxxxxxxx",
"involved": [{
"characterID": xxxxxxxx,
"characterName": "xxxxxxxx",
"corporationID": xxxxxxxx,
"corporationName": "xxxxxxxx",
"allianceID": xxxxxxxx,
"allianceName": "xxxxxxxx.",
"factionID": xxxxxxxx,
"factionName": xxxxxxxx,
"securityStatus": xxxxxxxx,
"damageDone": xxxxxxxx,
"finalBlow": xxxxxxxx,
"weaponTypeID": xxxxxxxx,
"shipTypeID": xxxxxxxx
}],
"items": []
}

and
Etil DeLaFuente wrote:
Can you consider adding the possibility to query the epic api by ids ? e.g allianceId, CorporationId, etc..

Some alliances and corps use a dot at the end and for some reason that character is stripped from the url.


Done! ;)

I have added lookup by external and internal id, so you can do either one.
Tho externalid lookup MIGHT be a bit iffy, esp. if the ID is an old one.
This is mostly on corps tho, where there is two external ids, and i can't for the love of it figure out which one is the unused one, lol..
Karbowiak
State War Academy
Caldari State
#60 - 2012-04-14 15:58:22 UTC  |  Edited by: Karbowiak
RABBLE