neow

1.0.0 • Public • Published

NEOW

Build Status

_N_ode.js _E_VE _O_nline API _W_rapper for the modern days - Promises, CoffeeScript, Tests, Caching, etc.

NEOW tries to be the best EVE Online and EVE-Central API wrapper available for Node.js. In contrast to hamster.js, NEOW can parse nested <rowset> elements such as found in the eve/SkillTree.xml.aspx API without returning garbled/partial results. It also includes support for parsing eve-central market data.

Features

  • Access all of the EVE API
  • Access the EVE Central API
  • Memory and Disk Caching
  • Formatters for skill levels, ISK values, etc.
  • Unit tested
  • Examples included

Installation

npm install neow

Usage

JavaScript

neow = require('neow');

client = new neow.EveClient({
	keyID: '1234567',
	vCode: 'nyanyanyanyanyanyanyanyan'
});

client.fetch('account:Characters')
	.then(function(result){
		for(characterID in result.characters) {
			console.log(result.characters[characterID])
		}
	})
	.done().

CoffeeScript

neow = require 'neow'

client = new neow.EveClient
	keyID: '1234567'
	vCode: 'nyanyanyanyanyanyanyanyan'

client.fetch('account:Characters')
	.then (result) ->
		for characterID, character of result.characters
			console.log character
	.done()

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i neow

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • sseemayer