You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add NUM_STEPS as 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_STEPS and DISTANCE_UNITS have 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_objects calls
Misc
Replaced map search implementation generate_location_steps with the latest from PokemonGo-Map
Disabled debug data loading for now
Unify Pokemon dictionary object into a Pokemon class
Use position as a tuple (lat, lng, 0) everywhere instead of p['lat'], p['lng']