Skip to content

Commit

Permalink
Update README.md (Noctem#283)
Browse files Browse the repository at this point in the history
Included working examples for ignoring Pokémon and making the sever externally visible (IPv4 and IPv6).

Both was frequently asked for on reddit.
  • Loading branch information
pperle authored and DerScreever committed Jul 19, 2016
1 parent 130730d commit f76d57b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ Building off [Mila432](https://github.com/Mila432/Pokemon_Go_API)'s PokemonGo AP
_Note:
5 steps is approximately a 1.2km radius. More than 10 is redundant (you usually can't walk that far before despawn anyway)_

## Working examples
### ignore Pokémon
`python example.py -a PTC -u myUsername -p myPassword -l "Central Park, New York, NY" -st 5 -i Pidgey,Weedle,Zubat`

### make server externally visible
#### IPv4
`python example.py -a PTC -u myUsername -p myPassword -l "Central Park, New York, NY" -st 5 -H 0.0.0.0 -L 5000`
#### IPv6
`python example.py -a PTC -u myUsername -p myPassword -l "Central Park, New York, NY" -st 5 -H :: -L 5000`

## Common Errors
> _`Exception, e <- Invalid syntax.`_
Expand Down

0 comments on commit f76d57b

Please sign in to comment.