neow
Node EVE Online API Wrapper with promises
Last updated 6 years ago by sseemayer .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install neow 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (6 years ago)

8 Versions

  • 1.0.0                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 8
Dependencies (6)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |