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.
 

Question regarding API and ratting

Author
Vixen Soul
Perkone
Caldari State
#1 - 2012-11-20 19:53:24 UTC
I don't see within the API where I can find information on a players ratting. What they have killed, how much money they made, etc.

Where can I find this information?

Thanks
Turk Fezzik
Sons of Seyllin
Pirate Lords of War
#2 - 2012-11-20 21:30:28 UTC
Pull the wallet data and look for the appropriate reference type.

http://wiki.eveonline.com/en/wiki/EVE_API_EVE_Reference_Types

One of these three...

refTypeID="16" refTypeName="Bounty"
refTypeID="17" refTypeName="Bounty Prize"
refTypeID="85" refTypeName="Bounty Prizes"
Vixen Soul
Perkone
Caldari State
#3 - 2012-11-20 21:31:58 UTC
Turk Fezzik wrote:
Pull the wallet data and look for the appropriate reference type.

http://wiki.eveonline.com/en/wiki/EVE_API_EVE_Reference_Types

One of these three...

refTypeID="16" refTypeName="Bounty"
refTypeID="17" refTypeName="Bounty Prize"
refTypeID="85" refTypeName="Bounty Prizes"


Interesting, but look at this website:

http://sh0ktherapy.com/eve/ratter/index.php?pswc=pancakes&period=alltime

It says what ships, even, the player has killed. Will wallet data show this?
Vixen Soul
Perkone
Caldari State
#4 - 2012-11-20 21:45:14 UTC  |  Edited by: Vixen Soul
Also,

Apparently you can get the information for all users based on a single corp api key. I don't think it all comes from the wallet journal!

I take it back, thanks sorry!
Cismani
Bush Chook Brewery
Apocalypse Now.
#5 - 2012-11-21 05:43:43 UTC
Vixen Soul wrote:


Interesting, but look at this website:

http://sh0ktherapy.com/eve/ratter/index.php?pswc=pancakes&period=alltime

It says what ships, even, the player has killed. Will wallet data show this?


hot damn...

i like that...

any idea who wrote that script?
Vixen Soul
Perkone
Caldari State
#6 - 2012-11-21 05:46:09 UTC
Cismani wrote:
Vixen Soul wrote:


Interesting, but look at this website:

http://sh0ktherapy.com/eve/ratter/index.php?pswc=pancakes&period=alltime

It says what ships, even, the player has killed. Will wallet data show this?


hot damn...

i like that...

any idea who wrote that script?


I don't know but it doesnt work anymore since the new legacy API system, that's why I'm trying to recreate it.
Dimitrie
Dixie Chicks
Crazy Chicks
#7 - 2012-11-21 08:14:17 UTC
http://wiki.eve-id.net/APIv2_Char_JournalEntries_XML

look at the reason section: For each type of NPC killed, its typeID is followed by a colon and the quantity killed. These pairs are seperated by commas, and if there are too many (more than about 60 characters' worth) the list is ended with a literal ",..." to indicate that more have been left off the list.
TheSkeptic
Federal Navy Academy
Gallente Federation
#8 - 2012-11-21 08:29:26 UTC
Your link triggered my curiosity enough for me to have a quick look this morning and I think I've found what you're looking for.

The WalletJournal api will log bounties with attributes like: refTypeID="85" ownerName1="CONCORD"

It also shows the amount etc as well, but I think the key field is reason="2383:1,11027:2,"
It's just a comma delimited list of typeId:quantitiy
So the above example was for

1x Guristas Invader
2x Guristas Infiltrator

...

Vixen Soul
Perkone
Caldari State
#9 - 2012-11-21 09:41:12 UTC
Thank you both for your helpful responses!

I've actually spent the last entire afternoon in my pilgrim AFK in .5 with my drones out in a belt killing rats. It does give the name and stuff in the reason, so I'm looking forward to developing this!

Thanks again :)
Nutbolt
University of Caille
Gallente Federation
#10 - 2012-11-22 08:19:17 UTC
Personally I prefer something which looks neater. Doesn't quite have the pie charts, but does have basic line graphs.

http://code.google.com/p/eve-online-carebear-statistics/

It uses a directors API key to work out the isk made using the taxable income, then as you stated the reason code gives you the ship ids killed etc...

We have also edited ours (we run it for the corp) so that it works with Incursions, essentially creating a new agent called CONCORD (they are the ones to payout for incursions). There is a major lack of information, including location about Incursions, but we simply have a separate tab for it.