Skip to content

Releases

v1.0.1

Choose a tag to compare

@timwah timwah released this 29 Jul 04:31

Features

  • 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']