4 releases
new 0.2.4 | Dec 20, 2024 |
---|---|
0.2.1 | Jan 16, 2024 |
0.2.0 | Oct 8, 2023 |
#1330 in Web programming
238 downloads per month
68KB
1.5K
SLoC
atletiek-nu-api
A work-in-progress attempt at scraping the atletiek.nu website for data. Kinda works but far from complete.
What it can do as of now:
- Search for competitions
- List registrations for a competition (including registration status such as accepted, rejected, etc.)
- List results for an athlete for a given competition
- Search athletes and list their profile with PB's, a list of all preformances in a specific category, and all competitions they participated in
- List competitions for a given time period
HTTP API
An api is hosted at https://atnapi.juandomingo.net
using cloudflare workers.
Documentation
Local HTTP API
I have stopped updating the rocket API in favor of an API on cloudflare workers.
However, it should be fairly trivial to update the rocket API to support all endpoints. Feel free to open a PR to update it.
There is also a HTTP api availible for download from the releases on github.com
Or, alternatively, you can compile the HTTP api from scratch after cloning the repository like so: cargo build --release --bin api
Dependencies
~11–25MB
~367K SLoC