An open API service indexing awesome lists of open source software.

https://github.com/danysantiago/pokemon-go-cli


https://github.com/danysantiago/pokemon-go-cli

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Pokemong GO CLI

### Usage:
Initialize by logging in with your Pokemon Trainer Club or Google account.
```
Welcome to PokemonGO CLI!
>
Account Type ('google'|'ptc'): ptc
Username: MY_USERNAME
Password: ***********
```
Use the scan command to look for nearby Pokemons.
```
> scan
[i] Scanning lat/long/alt: : *** ***
[+] There is a Pidgey at 200 meters
```
Seems like a Pidgey is close, go directly to him!
```
> scan ,
[i] Scanning lat/long/alt: : *** *** ***
[+] There is a Paras at 200 meters
[+] There is a Rattata at 200 meters
[0] There is a Pidgey near! I can try to catch it!
```
Catch that Pidgey!
```
> catch 0
[i] Encountering pokemon Pidgey...
[i] Trying to catch pokemon Pidgey...
[i] Successful catch
```
Now lets see what CP was the Pidgey.
```
> inv pokemons recent
┌─────┬─────┬──────────────┬──────┬──────────────────────────────────────────┐
│ i │ # │ Name │ CP │ Capture Date │
├─────┼─────┼──────────────┼──────┼──────────────────────────────────────────┤
│ 0 │ 016 │ Pidgey │ 92 │ Just Now │
└─────┴─────┴──────────────┴──────┴──────────────────────────────────────────┘
```
For more commands and help try `> help`

### Setup:
1. `git clone --recursive https://github.com/danysantiago/pokemon-go-cli.git`
2. `cd pokemong-go-cli`
3. `npm install`
4. `node app.js`

### Warning:
As usual, this utilizes un-official Niantic api, beware, you might get banned.

### Notes:
* Remember that teleporting too far too quickly will causes all pokemons to 'flee' when trying to catch them.
* If your Google account has two-factor authentication, you will need to create an app password. See: https://support.google.com/accounts/answer/185833?hl=en.
* This interface was built on top of https://github.com/Armax/Pokemon-GO-node-api, thanks!