Pokemon Go Node Api

Pokemon GO api node.js library
Alternatives To Pokemon Go Node Api
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Pokegoapi Java1,069
2 years ago13gpl-3.0Java
Pokemon Go API
Pokemon Go Node Api88648104 years ago15August 10, 201651mitJavaScript
Pokemon GO api node.js library
Pokemate117
7 years ago31gpl-3.0Java
Automated PokemonGo Application
Poke Api821017 years ago11August 21, 20163mitRuby
Poke API - A Ruby API gem for Pokémon GO.
Pokemon Go Node Api16
7 years ago1mitJavaScript
Pokemon Go! Node API library
Pokemongo_map8
7 years agomitJavaScript
An interactive Pokemon Go Pokemon Map built to replace the Google Version.
Pokespotter8327 years ago8August 11, 20161mitJavaScript
Find pokemon through the Pokemon Go API using Node.js
Scrapy Projects6
5 years agomitPython
Projects using selenium, requests, bs4, and scrapy for web scraping on google images, google trends and others
Pokemonstay5
2 years agoTypeScript
Pokemon Go in Google Maps
Pokeoutlook5
4 years ago2JavaScript
A lightweight web app for mapping Pokémon locations in Pokémon GO
Alternatives To Pokemon Go Node Api
Select To Compare


Alternative Project Comparisons
Readme

Poke.io

Pokemon GO api node.js library, still WIP, we have a dev channel on discord: https://discord.gg/W9CZTgn (is for dev only don't ask for support here)
Check 'example.js' for examples

Installation & Usage:

npm install pokemon-go-node-api
var Pokeio = require('pokemon-go-node-api')

Check example.js for the result showed in the demo or check the documentation below.

Demo:

alt tag

Documentation:

Pokeio.init(username, password, location, provider, callback)

Initializes Pokeio with either pokemon trainer club credentials or google account. Accepts locations by name or coordinates

Parameters

  • username {String} Your pokemon trainer club or google username
  • password {String} Your pokemon trainer club or google password
  • location {Object} location accepts a combination of type = 'name' & name or type = 'coords' & latitude, longitude, altitude
    • type {String} Must be one of ['name', 'coords']
    • name {String} Address for lookup using the google maps api.
    • coords {Object}
      • latitude {Number}
      • longitude {Number}
      • altitude {Number}
  • provider {String} Must be one of ['ptc', 'google']
  • callback {Function(error)}
    • error {Error}

Pokeio.GetAccessToken(username, password, callback)

Will save the access token to the Pokeio internal state.

Parameters

  • username {String} Your pokemon trainer club username
  • password {String} Your pokemon trainer club password
  • callback {Function(error, token)}
    • error {Error}
    • token {String}

Pokeio.GetApiEndpoint(callback)

Will save the api endpoint to the Pokeio internal state.

Parameters

  • callback {Function(error, api_endpoint)}
    • error {Error}
    • api_endpoint {String}

Pokeio.GetProfile(callback)

Parameters

  • callback {Function(error, profile)}
    • error {Error}
    • profile {Object}
      • creation_time {Number}
      • username {String}
      • team {Number}
      • tutorial {Number/Boolean}
        • poke_storage {String}
        • item_storage {String}
        • daily_bonus {Object}
          • NextCollectTimestampMs {Number}
          • NextDefenderBonusCollectTimestampMs {Number}
        • currency {Object}
          • type {String}
          • amount {Number}

Pokeio.GetLocation(callback)

Reads current latitude and longitude and returns a human readable address using the google maps api.

Parameters

  • callback {Function(error, formatted_address)}
    • error {Error}
    • formatted_address {String}

Pokeio.GetLocationCoords()

Returns

  • coordinates {Object}
    • latitude {Number}
    • longitude {Number}
    • altitude {Number}

Pokeio.SetLocation(location, callback)

Will save cooridinates to the Pokeio internal state. Accepts raw coordinates or location name based on the type property.

Parameters

  • location {Object}
    • type {String} One of ['name', 'coords']
    • name {String} Address for lookup using the google maps api.
    • coords {object}
      • latitude {Number}
      • longitude {Number}
      • altitude {Number}
  • callback {Function(error, coordinates)}
    • error {Error}
    • coordinates {Object}
      • latitude {Number}
      • longitude {Number}
      • altitude {Number}

Pokeio.RenamePokemon(id, name, callback)

Sets the nickname of a pokemon

Parameters

  • id {Object] The pokemon id to change
  • name {String} The new nickname
  • callback {Function(error, status)}
    • error {Error}
    • status {Number}

The status can eather of:

  • UNSET = 0
  • SUCCESS = 1
  • ERROR_INVALID_NICKNAME = 2
  • ERROR_POKEMON_NOT_FOUND = 3
  • ERROR_POKEMON_IS_EGG = 4

Thanks to:

Python demo: tejado

Contact me

@Arm4x Feel free to contact me for help or anything else

Popular Pokemon Projects
Popular Google Projects
Popular Games Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Google
Location
Pokemon
Google Maps