Skip to content

fsotomsk/ingress-api-public

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ingress-api

disclaimer

this code is for educational purposes only. using it on production services will probably be against the service's ToS and get you banned.

wtf?

ingress-api aims to provide a wrapper for the ingress "API".

usage

var Api = require('ingress-api');
var api = new Api();

api.login('username', 'password', function(err, handshake) {
    if (err) {
        console.log('error logging in:', err);
        process.exit(1);
    }

    console.log('logged in. result:', handshake);

    api.api('playerUndecorated/getInventory', {}, function(err, data) {
        if (err) {
            console.log('error getting inventory:', err);
            return;
        }
        console.log(data);
    });
});

About

ingress api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published