Skip to content

Conversation

@nikhilutexas
Copy link
Contributor

Summary

  • Add calendar integration for Milano Cortina 2026 filtered by country
  • Support for 93 participating nations with NOC codes and aliases
  • Filter events by country code (usa, can, ger) or full names
  • Medal events only filter option
  • Returns ICS or JSON format

Implementation

  • integrations/olympics.py - Main integration reading from pre-scraped JSON
  • tools/scrape_olympics.py - Playwright scraper to bypass Olympics.com bot detection
  • data/olympics_schedule.json - Pre-scraped schedule data (1,791 events)

Usage

GET /olympics/events?country=usa
GET /olympics/events?country=canada&medal_events_only=true
GET /olympics/events?country=all&ics=false

Notes

  • Scraper needs to be run manually every few days during Olympics (Feb 6-22)
  • See tools/scrape_olympics.py for instructions

🤖 Generated with Claude Code
via Happy

Add calendar integration for Milano Cortina 2026 filtered by country:
- Support for 93 participating nations with NOC codes and aliases
- Filter events by country (usa, canada, germany) or full names
- Medal events only filter option
- Returns ICS or JSON format

Includes Playwright scraper (tools/scrape_olympics.py) to bypass
Olympics.com bot detection. Run manually every few days during Feb 6-22.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
@nikhilutexas nikhilutexas merged commit b20b208 into main Feb 9, 2026
0 of 2 checks passed
@nikhilutexas nikhilutexas deleted the feat/olympics-by-country branch February 9, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant