Releases: jmshal/pokevision-cli
1.0.5
1.0.4
Changelog
- Ability to push notifications to a slack webhook (
--slack
,--slack-webhook-url
,--slack-channel
) - Adds a forever mode which prevents common API errors/downtime from stopping the process (
--forever
) - Ability to ignore common Pokémon (Rattata, Pidgey, Weedle, Caterpie, Zubat) (
--ignore-common
) - Ability to restrict the maximum range (in meters) (
--range=N
) - Prettifies the terminal output, and includes a Google Maps link to the coordinates
Bugfixes
- Fixed the duplicate Pokémon bug where a Pokémon could be listed twice, or re-occur on the next poll
Example
$ pokevision watch --lat=34.00846023931052 --lon=-118.49802017211914 --name=Office --slack --slack-webhook-url=XXX --slack-channel=pokemon --forever --ignore-common --range=300
Goldeen (https://maps.google.com/maps?q=34.008127253796,-118.49830250257&z=19)
45m away from Office
Expires in 8 minutes
Goldeen (https://maps.google.com/maps?q=34.008127253796,-118.49830250257&z=19)
45m away from Office
Expires in 8 minutes
Goldeen (https://maps.google.com/maps?q=34.008127253796,-118.49830250257&z=19)
45m away from Office
Expires in 8 minutes
Electabuzz (https://maps.google.com/maps?q=34.008790763176,-118.49757264487&z=19)
55m away from Office
Expires in 1 minute
Electabuzz (https://maps.google.com/maps?q=34.008790763176,-118.49757264487&z=19)
55m away from Office
Expires in 1 minute
Omanyte (https://maps.google.com/maps?q=34.009281622135,-118.49784634188&z=19)
93m away from Office
Expires in 4 minutes
Support
This version has been officially tested on the following platforms;
- Windows 10 (64 bit)
- Mac OS X El Capitan (64 bit)
If you have any issues on other platforms, please create an issue/submit a pull request.
1.0.4-rc.3
Changelog
- Ability to push notifications to a slack webhook
- Adds a forever mode (
--forever
) - Ability to ignore common Pokémon (
--ignore-common
) - Ability to restrict the maximum range (
--range=N
) - Prettifies the terminal output
Example
$ pokevision watch --lat=34.00846023931052 --lon=-118.49802017211914 --name=Office --slack --slack-webhook-url=XXX --slack-channel=pokemon --forever --ignore-common --range=300
Electabuzz (2 minutes) at 34.009281622135/-118.49784634188
Shellder (1 minute) at 34.00974867823/-118.49884989372
Psyduck (5 minutes) at 34.008127253796/-118.49830250257
Kabuto (3 minutes) at 34.007904895169/-118.4934671352
Electabuzz (1 minute) at 34.008372025295/-118.49447071366
Staryu (6 minutes) at 34.006079044182/-118.49182490277
Ekans (6 seconds) at 34.006867650323/-118.49155119578
Geodude (2 minutes) at 34.006741762417/-118.49173366716
Nidorina (1 minute) at 34.009707683102/-118.49520058507
Staryu (6 minutes) at 34.005749600448/-118.49027389049
Shellder (3 minutes) at 34.004652196031/-118.49082130825
Drowzee (7 minutes) at 34.007428877695/-118.49948851445
Doduo (4 minutes) at 34.007828703036/-118.49948851445
Growlithe (5 minutes) at 34.012492884561/-118.49684278394
Nidoran♂ (7 minutes) at 34.012184931996/-118.49647785227
Support
This version has been officially tested on the following platforms;
- Windows 10 (64 bit)
- Mac OS X El Capitan (64 bit)
If you have any issues on other platforms, please create an issue/submit a pull request.
1.0.4-rc.2
This release adds the ability to send live updates to Slack, for your entire team to enjoy. And adds a "forever" mode, which prevents exiting when the PokeVision API is down. It also introduces a couple of flags to help filter out Pokémon you don't care about; --ignore-common
ignores the Pokémon you literally find everywhere, and --range=300
limits the max range to 300 meters.
Example
$ pokevision watch --lat=34.00846023931052 --lon=-118.49802017211914 --name=Office --slack --slack-webhook-url=XXX --slack-channel=pokemon --forever --ignore-common --range=300
Electabuzz (2 minutes) at 34.009281622135/-118.49784634188
Shellder (1 minute) at 34.00974867823/-118.49884989372
Psyduck (5 minutes) at 34.008127253796/-118.49830250257
Kabuto (3 minutes) at 34.007904895169/-118.4934671352
Electabuzz (1 minute) at 34.008372025295/-118.49447071366
Staryu (6 minutes) at 34.006079044182/-118.49182490277
Ekans (6 seconds) at 34.006867650323/-118.49155119578
Geodude (2 minutes) at 34.006741762417/-118.49173366716
Nidorina (1 minute) at 34.009707683102/-118.49520058507
Staryu (6 minutes) at 34.005749600448/-118.49027389049
Shellder (3 minutes) at 34.004652196031/-118.49082130825
Drowzee (7 minutes) at 34.007428877695/-118.49948851445
Doduo (4 minutes) at 34.007828703036/-118.49948851445
Growlithe (5 minutes) at 34.012492884561/-118.49684278394
Nidoran♂ (7 minutes) at 34.012184931996/-118.49647785227
Support
This version has been officially tested on the following platforms;
- Windows 10 (64 bit)
- Mac OS X El Capitan (64 bit)
If you have any issues on other platforms, please create an issue/submit a pull request.
1.0.4-rc.1
This release adds the ability to send live updates to Slack, for your entire team to enjoy. And adds a "forever" mode, which prevents exiting when the PokeVision API is down.
Example
$ pokevision watch --lat=34.00846023931052 --lon=-118.49802017211914 --name=Office --slack --slack-webhook-url=XXX --slack-channel=pokemon --forever
2016/07/22 23:43:14 Electabuzz (2 minutes) at 34.009281622135/-118.49784634188
2016/07/22 23:43:14 Shellder (1 minute) at 34.00974867823/-118.49884989372
2016/07/22 23:43:14 Psyduck (5 minutes) at 34.008127253796/-118.49830250257
2016/07/22 23:43:14 Kabuto (3 minutes) at 34.007904895169/-118.4934671352
2016/07/22 23:43:14 Electabuzz (1 minute) at 34.008372025295/-118.49447071366
2016/07/22 23:43:14 Staryu (6 minutes) at 34.006079044182/-118.49182490277
2016/07/22 23:43:14 Ekans (6 seconds) at 34.006867650323/-118.49155119578
2016/07/22 23:43:14 Geodude (2 minutes) at 34.006741762417/-118.49173366716
2016/07/22 23:43:14 Weedle (7 minutes) at 34.008332287824/-118.49875866199
2016/07/22 23:43:14 Nidorina (1 minute) at 34.009707683102/-118.49520058507
2016/07/22 23:43:14 Staryu (6 minutes) at 34.005749600448/-118.49027389049
2016/07/22 23:43:14 Shellder (3 minutes) at 34.004652196031/-118.49082130825
2016/07/22 23:43:14 Drowzee (7 minutes) at 34.007428877695/-118.49948851445
2016/07/22 23:43:14 Zubat (7 minutes) at 34.00795459958/-118.49930605164
2016/07/22 23:43:14 Doduo (4 minutes) at 34.007828703036/-118.49948851445
2016/07/22 23:43:14 Growlithe (5 minutes) at 34.012492884561/-118.49684278394
2016/07/22 23:43:14 Nidoran♂ (7 minutes) at 34.012184931996/-118.49647785227
Support
This version has only been tested on OS X 10.11.4 El Capitan. If you have any issues on other platforms, please create an issue/submit a pull request.
1.0.3
This update fixes some fatal errors, as the PokeVision.com API changed some of their schema types.
Currently there is only one command - pokevision watch
, which takes a longitude & latitude coordinate and watches the nearby Pokémon. You can optionally pass it the interval you'd like to check for updates (minimum of 30 seconds).
The cli talks directly to the PokeVision.com API. So no need to sign-in.
Example
$ pokevision watch --lat=34.00846023931052 --lon=-118.49802017211914
2016/07/22 23:43:14 Found new Pokémon...
2016/07/22 23:43:14 Electabuzz (2 minutes) at 34.009281622135/-118.49784634188
2016/07/22 23:43:14 Shellder (1 minute) at 34.00974867823/-118.49884989372
2016/07/22 23:43:14 Psyduck (5 minutes) at 34.008127253796/-118.49830250257
2016/07/22 23:43:14 Kabuto (3 minutes) at 34.007904895169/-118.4934671352
2016/07/22 23:43:14 Electabuzz (1 minute) at 34.008372025295/-118.49447071366
2016/07/22 23:43:14 Staryu (6 minutes) at 34.006079044182/-118.49182490277
2016/07/22 23:43:14 Ekans (6 seconds) at 34.006867650323/-118.49155119578
2016/07/22 23:43:14 Geodude (2 minutes) at 34.006741762417/-118.49173366716
2016/07/22 23:43:14 Weedle (7 minutes) at 34.008332287824/-118.49875866199
2016/07/22 23:43:14 Nidorina (1 minute) at 34.009707683102/-118.49520058507
2016/07/22 23:43:14 Staryu (6 minutes) at 34.005749600448/-118.49027389049
2016/07/22 23:43:14 Shellder (3 minutes) at 34.004652196031/-118.49082130825
2016/07/22 23:43:14 Drowzee (7 minutes) at 34.007428877695/-118.49948851445
2016/07/22 23:43:14 Zubat (7 minutes) at 34.00795459958/-118.49930605164
2016/07/22 23:43:14 Doduo (4 minutes) at 34.007828703036/-118.49948851445
2016/07/22 23:43:14 Growlithe (5 minutes) at 34.012492884561/-118.49684278394
2016/07/22 23:43:14 Nidoran♂ (7 minutes) at 34.012184931996/-118.49647785227
It shows you how long the Pokémon has left until de-spawning, and it's geographical coordinates.
Support
This version has only been tested on OS X 10.11.4 El Capitan. If you have any issues on other platforms, please create an issue/submit a pull request.
1.0.2
This release aims to assist finding bugs in this early access cli tool.
Currently there is only one command - pokevision watch
, which takes a longitude & latitude coordinate and watches the nearby Pokémon. You can optionally pass it the interval you'd like to check for updates (minimum of 30 seconds).
The cli talks directly to the PokeVision.com API. So no need to sign-in.
Example
$ pokevision watch --lat=34.00846023931052 --lon=-118.49802017211914
2016/07/22 23:43:14 Found new Pokémon...
2016/07/22 23:43:14 Electabuzz (2 minutes) at 34.009281622135/-118.49784634188
2016/07/22 23:43:14 Shellder (1 minute) at 34.00974867823/-118.49884989372
2016/07/22 23:43:14 Psyduck (5 minutes) at 34.008127253796/-118.49830250257
2016/07/22 23:43:14 Kabuto (3 minutes) at 34.007904895169/-118.4934671352
2016/07/22 23:43:14 Electabuzz (1 minute) at 34.008372025295/-118.49447071366
2016/07/22 23:43:14 Staryu (6 minutes) at 34.006079044182/-118.49182490277
2016/07/22 23:43:14 Ekans (6 seconds) at 34.006867650323/-118.49155119578
2016/07/22 23:43:14 Geodude (2 minutes) at 34.006741762417/-118.49173366716
2016/07/22 23:43:14 Weedle (7 minutes) at 34.008332287824/-118.49875866199
2016/07/22 23:43:14 Nidorina (1 minute) at 34.009707683102/-118.49520058507
2016/07/22 23:43:14 Staryu (6 minutes) at 34.005749600448/-118.49027389049
2016/07/22 23:43:14 Shellder (3 minutes) at 34.004652196031/-118.49082130825
2016/07/22 23:43:14 Drowzee (7 minutes) at 34.007428877695/-118.49948851445
2016/07/22 23:43:14 Zubat (7 minutes) at 34.00795459958/-118.49930605164
2016/07/22 23:43:14 Doduo (4 minutes) at 34.007828703036/-118.49948851445
2016/07/22 23:43:14 Growlithe (5 minutes) at 34.012492884561/-118.49684278394
2016/07/22 23:43:14 Nidoran♂ (7 minutes) at 34.012184931996/-118.49647785227
It shows you how long the Pokémon has left until de-spawning, and it's geographical coordinates.
Support
This version has only been tested on OS X 10.11.4 El Capitan. If you have any issues on other platforms, please create an issue/submit a pull request.
1.0.1
This is the initial "stable" release for the (unofficial) pokevision cli tool.
Currently there is only one command - pokevision watch
, which takes a longitude & latitude coordinate and watches the nearby Pokémon. You can optionally pass it the interval you'd like to check for updates (minimum of 30 seconds).
The cli talks directly to the PokeVision.com API. So no need to sign-in.
Example
$ pokevision watch --lat=34.00846023931052 --lon=-118.49802017211914
2016/07/22 23:43:14 Found new Pokémon...
2016/07/22 23:43:14 Electabuzz (2 minutes) at 34.009281622135/-118.49784634188
2016/07/22 23:43:14 Shellder (1 minute) at 34.00974867823/-118.49884989372
2016/07/22 23:43:14 Psyduck (5 minutes) at 34.008127253796/-118.49830250257
2016/07/22 23:43:14 Kabuto (3 minutes) at 34.007904895169/-118.4934671352
2016/07/22 23:43:14 Electabuzz (1 minute) at 34.008372025295/-118.49447071366
2016/07/22 23:43:14 Staryu (6 minutes) at 34.006079044182/-118.49182490277
2016/07/22 23:43:14 Ekans (6 seconds) at 34.006867650323/-118.49155119578
2016/07/22 23:43:14 Geodude (2 minutes) at 34.006741762417/-118.49173366716
2016/07/22 23:43:14 Weedle (7 minutes) at 34.008332287824/-118.49875866199
2016/07/22 23:43:14 Nidorina (1 minute) at 34.009707683102/-118.49520058507
2016/07/22 23:43:14 Staryu (6 minutes) at 34.005749600448/-118.49027389049
2016/07/22 23:43:14 Shellder (3 minutes) at 34.004652196031/-118.49082130825
2016/07/22 23:43:14 Drowzee (7 minutes) at 34.007428877695/-118.49948851445
2016/07/22 23:43:14 Zubat (7 minutes) at 34.00795459958/-118.49930605164
2016/07/22 23:43:14 Doduo (4 minutes) at 34.007828703036/-118.49948851445
2016/07/22 23:43:14 Growlithe (5 minutes) at 34.012492884561/-118.49684278394
2016/07/22 23:43:14 Nidoran♂ (7 minutes) at 34.012184931996/-118.49647785227
It shows you how long the Pokémon has left until de-spawning, and it's geographical coordinates.
Support
This version has only been tested on OS X 10.11.4 El Capitan. If you have any issues on other platforms, please create an issue/submit a pull request.