atletiek_nu_api

Crates.ioatletiek_nu_api
lib.rsatletiek_nu_api
version
sourcesrc
created_at2023-10-08 18:58:16.769067
updated_at2024-12-20 19:24:01.68619
descriptionA scraping library for the atletiek.nu website
homepagehttps://github.com/zeskeertwee/atletiek-nu-api
repositoryhttps://github.com/zeskeertwee/atletiek-nu-api
max_upload_size
id997378
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
zeskeertwee (zeskeertwee)

documentation

README

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

Commit count: 83

cargo fmt