pokepush

command module
v0.0.0-...-419916e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2016 License: MIT Imports: 12 Imported by: 0

README

Pokepush

Build Status Go Report Card

Dead simple Pokemon Go push notifications through Pushbullet when a new Pokemon arrives in a specified locations. Supports multiple users subscribed to desired locations.

Setup

  • Download the binaries for your system from releases.
  • Acquire a pushbullet token from your accounts settings page.
  • Create config.json next to the binary.
  • Start.

Example Config:

{
  "users": [
    {
      "name": "Jim",
      "pushbullet_key": "PUSHBULLET_KEY",
      "places": ["Home", "Work"]
    }
  ],
  "places": [
    {"name": "Home", "lat": 51.501476, "lon": -0.140634},
    {"name": "Work", "lat": 51.5159394, "lon": -0.1352864}
  ],
  "logs": "pretty"
}
  • users - An array of users containing their name, pushbullet_key, an array of places. Names of places must match the ones in the places array.
  • places - An array of locations with their name, lat, and lon. You can covert an address to latitude/longitude here
  • logs - Sets log type, supports pretty and json. Default is pretty.

Docker

A docker image is also available over at Docker Hub.

Development

After git pulling the repo in to your $GOPATH, executing the following to get a development setup running.

make deps
make dev

TODO

  • Handle errors
  • Write tests
  • Handle scheduled places to only push notifications during specified times of day

Credit

License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL