sportradar-api-client
Version:
Node and NestJS wrappers for Sportradar feeds
44 lines (43 loc) • 3.84 kB
TypeScript
import { HttpService } from '@nestjs/axios';
import { AxiosResponse } from 'axios';
import { Observable } from 'rxjs';
import { Configuration } from '../configuration';
import { DefaultSportradarMlbApiServiceInterface } from './default.serviceInterface';
export declare class DefaultSportradarMlbApiService implements DefaultSportradarMlbApiServiceInterface {
protected httpClient: HttpService;
protected basePath: string;
defaultHeaders: Record<string, string>;
configuration: Configuration;
constructor(httpClient: HttpService, configuration: Configuration);
private canConsumeForm;
dailyBoxscore(locale: string, year: number, month: number, day: number, format: string): Observable<AxiosResponse<any>>;
dailyChangeLog(locale: string, year: number, month: number, day: number, format: string): Observable<AxiosResponse<any>>;
dailySchedule(locale: string, year: number, month: number, day: number, format: string): Observable<AxiosResponse<any>>;
dailySummary(locale: string, year: number, month: number, day: number, format: string): Observable<AxiosResponse<any>>;
dailyTransactions(locale: string, year: number, month: number, day: number, format: string): Observable<AxiosResponse<any>>;
gameBoxscore(locale: string, game_id: string, format: string): Observable<AxiosResponse<any>>;
gameExtendedSummary(locale: string, game_id: string, format: string): Observable<AxiosResponse<any>>;
gameSummary(locale: string, game_id: string, format: string): Observable<AxiosResponse<any>>;
glossary(locale: string, format: string): Observable<AxiosResponse<any>>;
injuries(locale: string, format: string): Observable<AxiosResponse<any>>;
leagueDepthChart(locale: string, format: string): Observable<AxiosResponse<any>>;
leagueHierarchy(locale: string, format: string): Observable<AxiosResponse<any>>;
leagueLeaders(locale: string, year: number, season_type: string, format: string): Observable<AxiosResponse<any>>;
leagueSchedule(locale: string, year: number, season_type: string, format: string): Observable<AxiosResponse<any>>;
playByPlay(locale: string, game_id: string, format: string): Observable<AxiosResponse<any>>;
playerProfile(locale: string, player_id: string, format: string): Observable<AxiosResponse<any>>;
rankings(locale: string, year: number, season_type: string, format: string): Observable<AxiosResponse<any>>;
seasonalPitchMetrics(locale: string, player_id: string, format: string): Observable<AxiosResponse<any>>;
seasonalSplits(locale: string, year: number, season_type: string, team_id: string, format: string): Observable<AxiosResponse<any>>;
seasonalStatistics(locale: string, year: number, season_type: string, team_id: string, format: string): Observable<AxiosResponse<any>>;
seasonalTransactions(locale: string, year: number, format: string): Observable<AxiosResponse<any>>;
seasons(locale: string, format: string): Observable<AxiosResponse<any>>;
seriesSchedule(locale: string, year: number, season_type: string, format: string): Observable<AxiosResponse<any>>;
seriesStatistics(locale: string, series_id: string, team_id: string, format: string): Observable<AxiosResponse<any>>;
seriesSummary(locale: string, series_id: string, format: string): Observable<AxiosResponse<any>>;
standings(locale: string, year: number, season_type: string, format: string): Observable<AxiosResponse<any>>;
statcastLeaders(locale: string, year: number, season_type: string, format: string): Observable<AxiosResponse<any>>;
teamDepthCharts(locale: string, team_id: string, format: string): Observable<AxiosResponse<any>>;
teamProfile(locale: string, team_id: string, format: string): Observable<AxiosResponse<any>>;
venues(locale: string, format: string): Observable<AxiosResponse<any>>;
}