1.0.0 • Published 10 years ago

neow v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

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

1.0.0

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago