---
title: Add --seas-type support to import-plays-sportradar.mjs
type: task
status: completed
description: >-
  import-plays-sportradar.mjs queries all games for a week number regardless of season type, wasting
  Sportradar API quota on cached REG games when importing POST. Add --seas-type filter matching
  import-games-sportradar.mjs.
base_uri: user:task/league/add-seas-type-to-import-plays-sportradar.md
created_at: '2026-03-17T19:04:45.541Z'
entity_id: 03525f1f-30e4-41f0-a3a0-aed3362d22a8
finished_at: '2026-03-17T19:14:30.127Z'
observations:
  - ████████████████████████████████████████████████
owner_identity_uri: █████████████████████████
priority: Medium
public_read: true
started_at: '2026-03-17T19:13:02.041Z'
tags:
  - user:tag/league-xo-football.md
updated_at: '2026-03-17T19:14:30.425Z'
visibility_analyzed_at: '2026-11-05T23:48:18.420Z'
---

Identified during 2025 season close-out (pre-Phase 6). When importing POST play data, the script fetches all games for the given week number including REG games that are already cached. The sister script import-games-sportradar.mjs already has --seas-type POST support (added during this close-out). Apply the same pattern to import-plays-sportradar.mjs to filter the game query by seas_type.
