Skip to content

Mousius/eveclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eve Client

Build Status Coverage Status Code Climate

Client for the Eve API with cache provided by Cacheman

Example

var Client = require('./lib/client'),
    client = new Client({
        key: '123456',
        code: 'yellowsubmarineyellowsubmarine'
    });

client.fetch('account', 'AccountStatus', {}, function(err, result) {
    console.log(err, result);
});

API

Client

new Client(options)

var options = {
  key: '1234', // Eve Key ID
  code: 'yellowsubmarine', // Eve Verification Code
  cache: null // (Optional Cacheman configuration, defaults to memory cache)
};

var client = new Client(options);

See Cacheman for cache details

Client#fetch(resource, endpoint, params, callback)

client.fetch('server', 'ServerStatus', {}, function(err, result) {
  console.log(err, result);
});

About

Client for Eve API

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.hamster

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published