API for events data #33

Merged
Danhia merged 1 commits from Danhia/website:api-events into main 2022-03-19 20:42:35 +01:00
Owner

Added a new endpoint on /api/events/event_slug to retrieve events data.
If event is password protected, then so is the corresponding endpoint: you need to pass the password as a GET parameter ?password=password.
Currently the data retrieved is the list of teams/players and the scores.

Added a new endpoint on `/api/events/event_slug` to retrieve events data. If event is password protected, then so is the corresponding endpoint: you need to pass the password as a GET parameter `?password=password`. Currently the data retrieved is the list of teams/players and the scores.
Danhia added 1 commit 2022-03-19 20:42:11 +01:00
Danhia merged commit 7dad96d79f into main 2022-03-19 20:42:35 +01:00
Sign in to join this conversation.
No description provided.