Closed nicoSWD closed 3 months ago
Looks like some new APIs are available:
GET https://www.ifsc-climbing.org/api/dapi/events/all?dateFrom=$range(2023-01-01,2023-12-31)&$limit=100
GET https://dapi.ifsc-climbing.org/v2/content/en-gb/events/ifsc-asia-asian-k-championships-b-l-s-jamshedpur-ind-2023
The new calendar is a lot prettier, but also a lot less useful at the current stage.
POST /events/ifsc-european-championships-villars-2024/result/index HTTP/2
Host: www.ifsc-climbing.org
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0
Accept: text/x-component
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://www.ifsc-climbing.org/events/ifsc-european-championships-villars-2024/result/index
Next-Action: efa2fa106f24654dd09188f3c815302653521600
Next-Router-State-Tree: %5B%22%22%2C%7B%22children%22%3A%5B%5B%22pageName%22%2C%22events%2Fifsc-european-championships-villars-2024%2Fresult%2Findex%22%2C%22oc%22%5D%2C%7B%22children%22%3A%5B%22__PAGE__%22%2C%7B%7D%5D%7D%5D%7D%2Cnull%2Cnull%2Ctrue%5D
Content-Type: text/plain;charset=UTF-8
Content-Length: 28
Origin: https://www.ifsc-climbing.org
[{"event_id":1381,"id":225}]
Old APIs are still operational
https://github.com/sportclimbing/ifsc-calendar/blob/main/resources/docs/ifsc-api.md
If the schedules become available (which they likely will), parsing the new format could be a lot easier if they're more standardized (eg not fat-fingered by an IFSC employee into a 36k € Drupal CMS)
IFSC news RSS feed broke too
Whatever the f this is... https://react-fe-en.ifsc-dev.deltatre.digital/
How to disable stuff in prod
New tech:
New video page: https://www.ifsc-climbing.org/videos/index
Only highlights as it seems, though. And pagination does not work
Not much I can do right now. I'll have to wait until schedules become available to see the new format and think of a new strategy.
I'll update the parser to fetch date ranges for events soon in the meanwhile.
The IFSC just redesigned their entire site, breaking everything I built in the process 🥲. As of now, the old schedules are not available, but we have those already anyway.
Stopping calendar updates until further notice.