Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.rewind.rest/llms.txt

Use this file to discover all available pages before exploring further.

Overview

The Attending domain tracks live events you bought tickets for: sports games, concerts, theater, and other one-off events. Events come from two sources:
  • Google Calendar — auto-extracts ticketing details from event descriptions when Google’s parsers populate them.
  • Gmail — per-vendor parsers for the major ticket sellers, with a universal EventReservation schema parser as a fallback for everything else.
Data syncs daily at 4:00 AM Pacific via cron, with incremental Gmail and Calendar pulls.

Key endpoints

EndpointDescription
GET /attending/eventsAttended events with filters
GET /attending/events/:idSingle event with venue, tickets, and player appearances
GET /attending/seasons/:league/:seasonAttended games in a sports season with W/L record
GET /attending/venuesVenue catalog with city, capacity, and lat/long
GET /attending/playersPlayers you have watched play, with photos
GET /attending/players/:idPlayer detail with per-event appearance lines
GET /attending/statsAggregate counts by category, type, and year
GET /attending/year/:yearYear in review with monthly breakdown, top venues, top performers

Event categories

Every event has a top-level category and a more specific event_type:
CategoryEvent types
sportsmlb_game, nfl_game, nba_game, wnba_game, mls_game, ncaaf_game, ncaab_game
musicconcert
artstheater, comedy, other

Event filters

The events endpoint supports filtering by:
  • categorysports, music, or arts.
  • event_type — specific event type (e.g., mlb_game, concert).
  • season / year — sports season or calendar year.
  • venue_id — filter to a single venue.
  • attended1 for confirmed attendance, 0 for tickets bought but not used, omit for both.

Sports enrichment

Sports events are enriched with team and score data from the MLB Stats API (baseball) and ESPN (NFL, NBA, WNBA, MLS, NCAAF, NCAAB). Each row carries league-specific fields in event_data. For MLB games:
FieldDescription
home_teamFull team object (see below)
away_teamFull team object (see below)
home_scoreFinal score for the home team
away_scoreFinal score for the away team
winning_pitcherPitcher of record on the winning side
my_team_wontrue if the team you root for won
home_team and away_team are full team objects. The same shape appears as primary_team on player rows and team on per-game appearances, so consumers never need a second call to render a logo or tint:
FieldDescription
idLeague-native team id
abbreviation, name, location”SEA”, “Mariners”, “Seattle”
primary_color, secondary_color, ui_tint_colorBrand hex colors for backgrounds and accents
logo_url, logo_dark_url, logo_light_urlSVG cap variants for light + dark hosts
conference, divisionLeague grouping
W/L counts on the seasons endpoint are scoped to events you actually attended (attended=1), so a 6-game home season with one no-show reports a 5-1 attended record rather than the team’s full 5-2 record. For MLB games, per-game box scores resolve into per-player appearance lines (batting line, pitching line, decisions) that surface on the players endpoints. Player photos backfill from MLB Stats and ESPN.