API Documentation
Generate 800×480 BMP images for E-Ink displays showing F1 race schedules in 1bit, B/W/R, or Spectra 6 mode.
/calendar.bmp
Generates F1 calendar as a BMP image (800×480) for 1bit, 4-bit B/W/R, 4-bit B/W/R/Y, and Spectra 6 E-Ink displays.
Parameters
| Parameter | Type | Description |
|---|---|---|
| lang | string |
Language code for calendar text
Values: cs, de, en, es, fr, it, ja, nl, pl, pt-BR, sk, tr, zh-CN (default:
en)
|
| year | integer |
Season year for specific race
optional — e.g. 2026
|
| round | integer |
Round number (1-24) for specific race
optional — e.g. 5
|
| tz | string |
Timezone for schedule times (IANA format)
optional — e.g. America/New_York,
Europe/Prague
|
| display | string |
Output mode for 1bit, B/W/R, B/W/R/Y, or Spectra 6 displays
Values: 1bit,
bwr,
bwry,
spectra6 (default:
1bit)
|
| weather | boolean |
Enable or disable the weather overlay
Values: true,
false
|
| weather_type | string |
Which weather data variant to render
Values: race_day,
current
|
Response
image/bmp
800×480
1bit / 4-bit B/W/R / 4-bit B/W/R/Y / Spectra 6
1 hour
Code Examples
# Download next race calendar
curl -o calendar.bmp "https://f1.rhiz3k.freeddns.org/calendar.bmp"
# With Czech language and timezone
curl -o calendar.bmp "https://f1.rhiz3k.freeddns.org/calendar.bmp?lang=cs&tz=Europe/Prague"
# Specific race (year and round)
curl -o calendar.bmp "https://f1.rhiz3k.freeddns.org/calendar.bmp?year=2025&round=5"
# B/W/R/Y output for four-color E-Ink
curl -o calendar.bmp "https://f1.rhiz3k.freeddns.org/calendar.bmp?display=bwry"
import httpx
async def get_f1_calendar(lang: str = "en", tz: str = "Europe/Prague"):
"""Download F1 calendar as BMP image."""
async with httpx.AsyncClient() as client:
response = await client.get(
"https://f1.rhiz3k.freeddns.org/calendar.bmp",
params={"lang": lang, "tz": tz}
)
response.raise_for_status()
with open("calendar.bmp", "wb") as f:
f.write(response.content)
print("Calendar saved as calendar.bmp")
# Usage
import asyncio
asyncio.run(get_f1_calendar(lang="cs"))
// Fetch and display calendar
async function loadF1Calendar(lang = 'en', tz = 'Europe/Prague') {
const url = new URL('https://f1.rhiz3k.freeddns.org/calendar.bmp');
url.searchParams.set('lang', lang);
url.searchParams.set('tz', tz);
const response = await fetch(url);
const blob = await response.blob();
// Display in img element
const img = document.getElementById('calendar');
img.src = URL.createObjectURL(blob);
}
// Download as file
async function downloadCalendar() {
const response = await fetch('/calendar.bmp?lang=cs');
const blob = await response.blob();
const link = document.createElement('a');
link.href = URL.createObjectURL(blob);
link.download = 'f1-calendar.bmp';
link.click();
}
E-Ink Display Usage
Fetch /calendar.bmp and display directly on your E-Ink display. Recommended refresh interval: every 1-6 hours. Compatible with any 800×480 E-Ink display (e.g., Waveshare 7.5", LaskaKit).
For LaskaKit / zivyobraz.eu:
- 1 In zivyobraz.eu select content source: URL with image
-
2
Paste URL:
https://f1.rhiz3k.freeddns.org/calendar.bmp?lang=cs&tz=Europe/Prague - 3 Set refresh interval to 1-6 hours
/teams.bmp
Generate a BMP image showing all F1 teams with their drivers, photos, and championship points in 1bit, B/W/R, B/W/R/Y, or Spectra 6 output modes.
Parameters
| Parameter | Type | Description |
|---|---|---|
| lang | string |
Language code for calendar text
Values: cs, de, en, es, fr, it, ja, nl, pl, pt-BR, sk, tr, zh-CN (default:
en)
|
| year | integer |
Season year for team data
optional — e.g. 2026
|
| display | string |
Display output mode
Values: 1bit,
bwr,
bwry,
spectra6 (default:
1bit)
|
Response
image/bmp
800×480
1-bit / 4-bit / Spectra 6
no-store
Other Endpoints
/api/teams/{year}
Get all teams with drivers and points for a season (JSON)
/api/standings/leader
Get current championship leaders (driver and constructor)
/api/races/{year}
List of all races for a given season
/api/race/{year}/{round}
Detailed race information including schedule
/api/stats
Request statistics (last hour and 24h counts)
/health
Service health check