Given that there’s a lot of people who are just end-users and who don’t care much for tinkering with things under-the-hood in their applications, I’ve set up a server which will allow you to get the corporation logo for a given corporation easily- by making a simple GET request. Heck, simply using this in an image tag is fine by me, though obviously client-side caching is always good. Simply use the URL below.
http://clg.eve-metrics.com/<corporationID>.png Example: http://clg.eve-metrics.com/853748831.png
Nice and simple, no?
There’s just one caveat- this currently only works for corporations in alliances. The API has some very odd ideas about letting out-of-alliance corps have their corporation sheets grabbed, meaning I can’t retrieve shape data from those corporations. I have made a bug report to CCP, and I’ll keep you updated when/if this gets fixed. In the meantime, I’ve got a workaround- visit the CLG website and you can submit your limited key and user ID to add your corporation’s logos to the database.
I’m making no charge for this service, though of course donations in ISK are hugely appreciated if you use this. If you’re a heavy user and want to start using this, please drop me a line first.
One other thing you might want to know if you’re caching- this will actually redirect you with a 302 error code. This means that your average request doesn’t even need to hit the extremely light Rack application which generates the images if the file’s there already, thus making my server and your response times both happier things. It shouldn’t make any difference, but I’m mentioning it just in case.
If you cook up any mods or tools to use this (I’d love to see an EDK mod to add this) do let me know and I’ll drop a link in this post. Edit: There’s an EDK mod in the works! Woot!