Tags: Sholofly/geocachingapi-python
Tags
Updates to support Geocaching Home Assistant integration feature upda… …tes (#23) * Fix missing async keyword, see home-assistant/core#99977 * Add nearby caches to status * Change trackable distance traveled data type * Fix missing status initialization for nearby caches * Fix typo causing cache coordinates not to be parsed * Added update_caches and _get_cache_info, with some more stuff, have not been able to test that it works yet, /Per&Albin * add seperate call for geocaches * Started working on the trackable journey list, not yet tested /Albin Per * fix for appending to array in trackable journey api * add support for trackable objects * uncommented code * Revert formatting * Fix errors and add missing cache data points * Rename caches -> tracked_caches * Correctly parse location data for caches * Rename caches_codes -> cache_codes * Fix trackable parsing, add additonal fields to caches and trackables, some refactoring and cleanup * Formatting * Always return original value if new value could not be parsed * Update NearbyCachesSetting * Rename cache update function * Replace cache find count with found date and found switch * Rework foundByUser to be nullable * Fix nearby caches update condition and limit take parameter for API * Remove unused function, align variables and functions to snake_case * Improve trackable journey data and change API endpoint * Reverse geocode trackable journey locations * Add distance between journeys * Handle blocking reverse geocoding outside of init function * Separate nearby caches logic to allow directed usage * Add comments and improve documentation * Add settings validation method * Add cache and trackable URLs * Formatting and cleanup * Update test * Limits: cache and trackable limits in settings and in API call. Error handling: Raise error if too many codes were configured in settings. Automatically remove duplicate codes * Move limits to limits.py --------- Co-authored-by: Per Samuelsson <samuelsson.per.magnus@gmail.com> Co-authored-by: Albin <clumpyabbe99@gmail.com> Co-authored-by: Jakob Windt <jakob.windt@gmail.com> Co-authored-by: jwindt <69906626+belgien@users.noreply.github.com>
Releases/0.1.0 (#9) * Added publish to Pypi after release (#5) * Added publish to Pypi after release (#6) * - Run workflows on latest Ubuntu & python 3.8 - Apply correct versioning convention to workflow trigger * Build on PR to develop * Fix PR workflow * Build on pr workflow - rename (#8) Co-authored-by: Reinder Reinders <reinder.reinders@gmail.com>