Utilities for interacting with climbing board APIs
Project description
BoardLib 🧗♀️
Utilities for interacting with (undocumented) climbing board APIs.
Installation 🦺
python3 -m pip install boardlib
Usage ⌨️
Databases 💾
To download the climb database for a given board:
boardlib database <board_name> <database_path>
This will download a sqlite database file to the given path and synchronize it with the latest available data. The database contains all of the publicly available climb data. Only the synchronization will be attempted if there is already a database at the given path,
NOTE: The Moonboard is not currently supported for the database command. Contributions are welcome.
Supported Boards 🛹
All Aurora Climbing based boards (Kilter, Tension, etc.).
Logbooks 📚
To download your logbook entries for a given board:
boardlib logbook <board_name> --username=<username> --output=<output_file_name>.csv --grade-type="hueco"
This outputs a CSV file with the following fields:
["board", "angle", "name", "date", "grade", "tries", "is_mirror"]
For example, the command
boardlib moon2017 --username="Luke EF" --output="moon2017.csv" --grade-type="hueco"
would output a file named moon2017.csv
with the following contents:
board,angle,name,date,grade,tries, is_mirror
moon2017,40,C3PO,2021-07-13,V5,1, False
moon2017,40,LITTLE BLACK SUBMARINE,2021-07-13,V5,2, False
moon2017,40,MOUNTAIN GOAT HARD,2021-07-13,V5,1, False
...
See boardlib --help
for a full list of supported board names and feature flags.
Supported Boards 🛹
Currently all Aurora Climbing based boards (Kilter, Tension, etc.) and all variations of the Moonboard should be supported.
Bugs 🐞 and Feature Requests 🗒️
Please create an issue in the issue tracker to report bugs or request additional features. Contributions are welcome and appreciated.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file boardlib-0.3.0.tar.gz
.
File metadata
- Download URL: boardlib-0.3.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 156702b3b79adf0790d3f72db2be39d9c999a2bebf4e6eeccc2185e03b4b1bcf |
|
MD5 | 1983aac93e580435625ec56ff41eccc5 |
|
BLAKE2b-256 | 931b36d64d9e89c5a442d3ac8491738bc0922c00df32f0cc7627d172e7e3ed19 |
File details
Details for the file boardlib-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: boardlib-0.3.0-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08b47d87470f8c5ce5cda9846249dfcc86c36358ba1491e6cb157af6af24fed5 |
|
MD5 | a0d00918cb322c87d20e1fa3bd4237b7 |
|
BLAKE2b-256 | d9251250cf7051f594ea9e10fe621d0cc4838adc90ecf32d21dfc7eb3a14dfd4 |