Repository navigation
Releases
Releases · timwah/pokeslack
v1.0.1
Features
- Add
NUM_STEPSas an env / config variable to increase the distance pokesearch searches #2 - Add
DISTANCE_UNIT=meters/miles(default=miles) to toggle between metric and freedom units (displayed as meters away and miles away) - Both
NUM_STEPSandDISTANCE_UNITShave default values (5 and 'miles' respectively) to preserve backward compatibility, and will be required in the next release
Bugs
- Fix the way env variables are loaded by introducing
pokeconfig.py. This fixes Windows, where $USERNAME was incorrectly loaded when running locally. - Added better retry code for failed
get_map_objectscalls
Misc
- Replaced map search implementation
generate_location_stepswith the latest from PokemonGo-Map - Disabled debug data loading for now
- Unify Pokemon dictionary object into a
Pokemonclass - Use position as a tuple
(lat, lng, 0)everywhere instead ofp['lat'], p['lng']