open All Channels
seplocked EVE Technology Lab
blankseplocked Node.js API library
 
This thread is older than 90 days and has been locked due to inactivity.


 
Author Topic

Trenker
Posted - 2011.06.30 11:32:00 - [1]
 

While playing around with node I created this:
Neal - Node.js Eve API Library (took me two hours to come up with this name)

It's a simple node.js module to query the Eve API and get a JSON object. Has a local memory cache and works with my ApiProxy.

Available ad Github at https://github.com/Trenker/neal
Also includes the docs
It is free (GPL), so have fun with it.

Code example:
// List the count of recent pod kills per system
var neal = require("neal");
neal.request({
scope: "map",
resource: "Kills",
callback: function(err, data) {
if (err) {
console.log(err);
return;
}
for (var e in data.solarSystems) {
var system = data.solarSystems[e];
console.log(
"There have been " +
system.podKills +
" pod kills in the system with ID " +
system.solarSystemID
);
}
}
});


Time to see some node.js apps here!


 

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