Thanks for these new integrations!
In the sports category, is it possible to develop a biathlon app with IBU data? (Rankings, dates and times of upcoming races, shooting statistics…)
Thanks for these new integrations!
In the sports category, is it possible to develop a biathlon app with IBU data? (Rankings, dates and times of upcoming races, shooting statistics…)
Hi @Damien, I took the liberty of creating a new topic, so developers can more easily find their way around since the other topic is mainly for automatic tracking.
I’m running Claude on it ![]()
Hello everyone,
The Biathlon World Cup season is coming. I present to you Biathlon IBU, an external integration that adds to Gladys the official data from the IBU (the datacenter of biathlonresults.com).
What it brings
Calendar: the next race (discipline, location, date and time in your timezone), the number of minutes before the start, the last winner.
Rankings: general men and women (leader and points), plus the sprint, pursuit, individual, mass start and nations cup rankings in a widget.
Followed athletes: one device per athlete, with their general ranking and points, their shooting accuracy rate for the season (total, prone, standing) and their last race.
4 widgets: upcoming races (with a LIVE badge), ranking, athlete card, podium of the last race.
4 scene triggers: race about to start, results of a race, result of a followed athlete (filterable: victory, podium, top 10…), new general leader (yellow bib).
4 scene actions: next race, statistics of an athlete, leader of a ranking, refresh.
Example: “30 minutes before the women’s pursuit, send me ‘10 km Pursuit — Women in Hochfilzen starts at 1:20 PM’ on Telegram and turn on the TV”, or “if Jacquelin is on the podium, play the victory music” ![]()
Everything is translated into French, English, German and Spanish. It’s a cloud integration: the data comes from the IBU servers.
Installation
You need Gladys 5.1 or newer. The integration is available in the integrations catalog (Services category).
An IBU API key is required. You can request a personal key from the IBU, or reuse the one that the biathlonresults.com site sends from your browser (F12 → Network tab → a “sportapi” request → “apikey” header). The complete procedure is indicated in the configuration screen and in the documentation. The “Find an athlete” button then gives you the IBU ID of the athletes to follow.
Links
Repository: GitHub - gboulvin/Gladys-IBU · GitHub
Documentation: Gladys-IBU/docs/fr.md at main · gboulvin/Gladys-IBU · GitHub
This project is not affiliated with the IBU. It’s a first version: your feedback, ideas and bug reports are welcome, here or in the GitHub issues.
Happy season to everyone! ![]()
Thanks @GBoulvin!
I took the opportunity to change the title and category ![]()
Thanks!
I’ve installed the integration, I think I managed to find the API.
Here’s what I have:
The logs
HTTP 422 — UNPROCESSABLE_ENTITY — t_device_feature.min cannot be null; t_device_feature.max cannot be null
HTTP 422 — UNPROCESSABLE_ENTITY — t_device_feature.min cannot be null; t_device_feature.max cannot be null
[2026-11-15T10:39:11.450Z] [INFO] Starting the Biathlon-IBU integration...
[2026-11-15T10:39:11.809Z] [INFO] [gladys-sdk] connected to Gladys (http://172.30.0.1:80)
[2026-11-15T11:22:07.652Z] [INFO] onConfigUpdated -> new configuration received
[2026-11-15T11:22:07.798Z] [ERROR] IBU refresh failed IbuApiError: IBU Events: HTTP 401
at IbuClient.get (file:///app/src/ibu/client.js:77:13)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async BiathlonService.readEvents (file:///app/src/service.js:170:17)
at async Promise.all (index 0)
at async BiathlonService.refreshRaces (file:///app/src/service.js:176:24)
at async BiathlonService.refresh (file:///app/src/service.js:132:7)
at async runRefresh (file:///app/index.js:53:20) {
status: 401
}
[2026-11-15T11:22:11.661Z] [WARN] [actions] Connection test failed: IBU Events: HTTP 401
[2026-11-15T11:24:21.099Z] [INFO] onConfigUpdated -> new configuration received
[2026-11-15T11:25:45.300Z] [INFO] onConfigUpdated -> new configuration received
Oh yes, Claude forgot to specify a min/max value again. What a klutz! I’ll give him a tap on the fingers right away and a corrected version will be available shortly! ![]()
There you go, it’s fixed. I haven’t been able to test it in real life yet because I’m not on a computer, so no development tools. I’ll test it as soon as possible ![]()
Claude worked on it. He’s at his best in the release version available now. The widget limitations prevent him from doing better ![]()
Update and let me know if it’s good or if he needs to go back to work ![]()