Skip to main content

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 command will first download a sqlite database file to the given path. After downloading, the database will then use the undocumented sync API to synchronize it with the latest available data. The database contains only the publicly available data. User data is not synchronized. If a database already exists as database_path, the command will skip the download step and only perform the synchronization.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boardlib-0.6.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

boardlib-0.6.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file boardlib-0.6.0.tar.gz.

File metadata

  • Download URL: boardlib-0.6.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for boardlib-0.6.0.tar.gz
Algorithm Hash digest
SHA256 cf051f4953f224cdcd0729b792a7b5042d4db7d87c75f373ab42ceb32e9bf8ee
MD5 7e4b58a754de667f3b6beeeaecb5d2fe
BLAKE2b-256 f6f473101f6ed102203e6350460985f6dcb505323e1fa8d101c8b420f9aab60d

See more details on using hashes here.

File details

Details for the file boardlib-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: boardlib-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for boardlib-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7e8e90ee941b757e19b5653fdc84a7d766114c6036f27d8b478a1f2bfa97e48
MD5 ec1a4e832c9f48d7b193d13285c593b4
BLAKE2b-256 1f567c943847e5f5dcacf7b2065796d79599192c90cc418a58afaf90bcf0c8d2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page