#scraping #api #api-bindings #http-api #athletics

atletiek_nu_api

A scraping library for the atletiek.nu website

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

Download history 1/week @ 2024-09-21 11/week @ 2024-10-12 1/week @ 2024-10-19 2/week @ 2024-11-02

238 downloads per month

AGPL-3.0-or-later

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