A Python 3.9+ library to call the Heart of the City API to get walking counts for center city Auckland, New Zealand. The API has access to counts from 2012-01-23 to the present.
poetry add --git https://github.com/mrcagney/hotc
See the Jupyter notebook notebooks/examples.ipynb
.
- Development status is Alpha
- This project uses semantic versioning
- Need to add more documentation and tests
- Alex Raichev (maintainer), 2017-11-17
- Updated counter locations to agree with the current ones Heart of the City publishes.
- Updated dependencies.
- Changed fields to 'counter_id' and 'counter_name'.
- Updated counter names to agree with those returned by the API.
- Improved docstrings.
- Bugfixed date formatting and boolean inpurt errors introduced in version 2.2.0.
- Updated dependencies.
- Updated walking counters.
- Added type hints.
- Uncapped dependency versions.
- Upgraded to Python 3.9.
- Switched back to vanilla requests, because requests-futures wasn't faster.
- Breaking change: simplified get_hotc to make one request.
- Switched to Poetry.
- Fixed
requests-futures
deprecation warnings.
- Updated API URL.
- Fixed error in case of empty HTTP 200 response.
- Corrected version number.
- First release.