openapi: 3.1.0
info:
title: Preciser Chart Data Opp Team Data API
version: v1
description: The Preciser API delivers basketball and baseball game analytics generated by Preciser's AI/computer-vision pipeline as live stats feeds and widgets. The public API index at https://api.preciser.io advertises two data endpoints served from https://plg-api.preciser.io/v1. Access requires a Preciser account; contact Preciser for API credentials and onboarding.
contact:
name: Preciser
url: https://preciser.io/apis
x-api-index: https://api.preciser.io/
servers:
- url: https://plg-api.preciser.io/v1
description: Production
tags:
- name: Opp Team Data
paths:
/opp-team-data/id/{seasonId}:
get:
operationId: getOppTeamData
summary: Get opponent team data for a season
description: Returns opponent-team data for a single season, identified by its Preciser season identifier. Advertised by the Preciser API index.
parameters:
- name: seasonId
in: path
required: true
description: Preciser identifier for the season.
schema:
type: string
responses:
'200':
description: Opponent team data for the requested season.
content:
application/json: {}
tags:
- Opp Team Data