open All Channels
seplocked EVE Technology Lab
blankseplocked [EVSCO / EVE-KILL] APIs (Proxy, Image, CharacterInfo)
 
This thread is older than 90 days and has been locked due to inactivity.


 
Author Topic

Karbowiak
Sniggerdly
Posted - 2011.01.21 20:37:00 - [1]
 

Edited by: Karbowiak on 03/02/2011 23:01:27
EVSCO has amassed a few APIs that are in use by various people day in and day out, and we would like share those APIs with everyone else.

As with CCP, if you hammer it - we hammer you back (with the ban hammer, durr)

IMAGE Server
Caches images for 7 days internally, and also sets a 7 day expire header.
Address: http://img.evsco.net/
Usage: same as the standard CCP Image server

API Proxy
The API Proxy stores the API result from CCP in memcached, and allows the user to request it as many times as wanted without ever bothering CCPs server (Unless the cachedUntil time is met, then one query is sent off to CCP obviously)
Address: http://api.evsco.net/
Usage: same as the standard CCP API server

CharacterInfo
Character info shows information such as last x mount of kills done by a pilot, including their total kills and losses, and total isk value of said kills and losses.
Output is in the form of XML
Address: http://eve-kill.net/?a=characterinfo&external_id=<id>&killids=<x>
Usage: If you want to see latest kills done by the pilot, replace <x> with a number (min 1, max 20), and external_id is pretty self explanitory

All services are accessible via IPv4 and IPv6.
IMAGE and API proxies use Memcached to cache their output.
Where CharacterInfo uses Varnish.

Karbowiak
Sniggerdly
Posted - 2011.01.21 20:39:00 - [2]
 

Edited by: Karbowiak on 15/02/2011 19:25:32
Update:
) Both image and API proxy now supports https. (SSL)
And all requests done to the API proxy is over SSL, but you can request from the API proxy via http or https - either way works :)
Sadly the certificate used is a self signed one, will look at getting a proper SSL cert asap
) API proxy now returns a cachedUntil value a little out in the future, 15 seconds out into the future to be exact. (To stop requests coming in that just ends up being returned stale data)
) CharacterInfo was updated to show more information about the kills the pilot has done (victim name, id, corp, alliance, system, etc) And also more information about the pilot you want the information from.
) Made a try / catch thingy that will first try https, and if it doesnt get a responce it will try http instead. So you are always sure to get a responce (unless CCP kills the API server all together, at which point - we are all ****ed!)

EveChatter
Eve Chatter
Posted - 2011.01.21 20:48:00 - [3]
 

Eve Chatter will definitely be using this proxy for images.

Hanathor
Gallente
El Gremio Segundo
Posted - 2011.01.21 22:21:00 - [4]
 

Thanks very very much!

The fu*****g 302 redirect of ccp server is... i don't say.... Evil or Very Mad

Karbowiak
Sniggerdly
Posted - 2011.01.21 23:16:00 - [5]
 

Originally by: Hanathor
Thanks very very much!

The fu*****g 302 redirect of ccp server is... i don't say.... Evil or Very Mad


Np, just remember its always in sync with CCPs servers, so if CCPs servers are down, chances are this also is (its not down, just doesnt return any usefull data)

Karbowiak
Sniggerdly
Posted - 2011.01.26 16:30:00 - [6]
 

Updated with SSL news

Keldar Anassi
Caldari
Big Bad Wolves
Posted - 2011.02.03 23:13:00 - [7]
 

Using the Char info and the Image services, great stuff! Thanks to EVSCO for the hard work.

EveChatter
Eve Chatter
Posted - 2011.02.03 23:16:00 - [8]
 

I'm using this very awesome feature to display Kills & Losses for everyone. See this link for the feature in action:

http://evechatter.com/index.php/topic,505.msg715.html#msg715

Karbowiak
Sniggerdly
Posted - 2011.02.05 17:51:00 - [9]
 

Originally by: Keldar Anassi
Using the Char info and the Image services, great stuff! Thanks to EVSCO for the hard work.

If you could reply with which service is using it, that'd be fantastic :)

Keldar Anassi
Caldari
Big Bad Wolves
Posted - 2011.02.10 18:53:00 - [10]
 

Originally by: Karbowiak
Originally by: Keldar Anassi
Using the Char info and the Image services, great stuff! Thanks to EVSCO for the hard work.

If you could reply with which service is using it, that'd be fantastic :)


Ofcourse.. Using this on EVEPress.com with our Avatar capture and Killboard Widget.

Karbowiak
Sniggerdly
Posted - 2011.02.15 19:25:00 - [11]
 

Did a little update, to make sure that if https fails, it will fallback to http.

Karbowiak
Sniggerdly
Posted - 2011.02.24 22:37:00 - [12]
 

as mentioned before, it would really be great if people would reply here if they used it.

Otherwise i might have to implement an APIKey style thing, where people have to sign up to use it. Crying or Very sadCrying or Very sad

Lady Apsalar
Amarr
Helljumpers
En Garde
Posted - 2011.02.27 13:02:00 - [13]
 

thanks for these. I wrote a Kill/Loss script in python for my corps IRC channel with the CharacterInfo data

Karbowiak
Sniggerdly
Posted - 2011.03.18 13:34:00 - [14]
 

Originally by: Lady Apsalar
thanks for these. I wrote a Kill/Loss script in python for my corps IRC channel with the CharacterInfo data


np :)
theres still an increasing usage of this - but people dont write back that they are using, which makes me sad.
if this continues i'll just either shut it down or make it require a key.. Rolling Eyes


 

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only