Fetch sports schedules from myclub.fi, including practice times, game dates, locations, and registration status.
This skill connects to the following external services:
id.myclub.fi — Authentication (login via form POST with CSRF token)*.myclub.fi — Fetching club pages and event schedules (each club has its own subdomain)No other external services are contacted.
~/.myclub-config.json with owner-only permissions (0600). They are never sent anywhere other than id.myclub.fi for authentication.id.myclub.fi over HTTPS. Schedule data is fetched from *.myclub.fi over HTTPS. No data is sent to any third party.Data that leaves your machine: your myclub.fi email and password are sent to id.myclub.fi for authentication. Schedule data is fetched from *.myclub.fi. No data is sent to any other service. Only install this skill if you trust myclub.fi with your credentials.
python3 scripts/fetch_myclub.py setup --username your_email@example.com --password your_password
Credentials are stored in ~/.myclub-config.json with owner-only permissions (600).
List all available accounts and their clubs.
python3 scripts/fetch_myclub.py discover [--json]
--json: Output JSON instead of formatted text
python3 scripts/fetch_myclub.py fetch --account "Account Name" [--period PERIOD | --start DATE [--end DATE]] [--json]
--period values: this week (default), next week, this month, next month
--start / --end: Custom date range in YYYY-MM-DD format (overrides --period)
--json: Output JSON instead of formatted text
| Field | Description |
|---|---|
| ------- | ------------- |
id | Unique event identifier |
name | Event description |
group | Team or group (e.g., "P2015 Black") |
venue | Location |
month | First day of event's month (YYYY-MM-DD) |
day | Day in Finnish format (e.g., "15.3."), or null if unavailable |
time | Time range (e.g., "17:00 - 18:00"), or null if unavailable |
event_category | Harjoitus (training), Ottelu (game), Turnaus (tournament), Muu (other) |
type | Inferred: training, game, tournament, meeting, other |
registration_status | Registration status text from myclub.fi, or "unknown" |
setup firstdiscover to check exact spelling (case-sensitive)discover; check internet connectiondata-events attribute on the calendar pagePython 3.10+ (no external dependencies — uses only standard library).
共 1 个版本