LemonDew

Results 5 comments of LemonDew

You need to call the "GetInventory" API call. Then you can get more information about the player, please see: ``` api.GetInventory(function (err, inventory) { if (!err) { var cleanedInventory =...

``` api.Heartbeat(function (err, hb) { var mapPokemon = []; var nearbyPokemon = []; var pokeStops = []; if (err) { console.log(err); return callback({ nearbyPokemon : nearbyPokemon, mapPokemon : mapPokemon, pokeStops...

Maybe this snippet can help you: ``` api.Heartbeat(function (err, hb) { var mapPokemon = []; var nearbyPokemon = []; var pokeStops = []; if (err) { console.log(err); return callback({ nearbyPokemon...

And for collecting a pokestop (it needs to be

You need to call "GetInventory", like so: ``` api.GetInventory(function (err, inventory) { if (!err) { var cleanedInventory = { player_stats: null, eggs : [], pokemon: [], items: [] }; for...