Skip to content

Instantly share code, notes, and snippets.

@Noctem
Created August 9, 2016 05:02
Show Gist options
  • Save Noctem/133189a2431d67efa8b049cf40b95f48 to your computer and use it in GitHub Desktop.
Save Noctem/133189a2431d67efa8b049cf40b95f48 to your computer and use it in GitHub Desktop.
Test pokeminer notifications.
#!/usr/bin/env python
import notification
import time
pokemon = {
'encounter_id': 9325,
'spawn_id': 3502935,
'pokemon_id': 6,
'expire_timestamp': time.time() + 600000 / 1000.0,
'lat': 40.758966,
'lon': -73.985069,
}
notification.notify(pokemon)
print('done')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment