sportradar-api-client
Version:
Node and NestJS wrappers for Sportradar feeds
38 lines (37 loc) • 3.19 kB
TypeScript
import { HttpService } from '@nestjs/axios';
import { AxiosResponse } from 'axios';
import { Observable } from 'rxjs';
import { Configuration } from '../configuration';
import { DefaultSportradarNflApiServiceInterface } from './default.serviceInterface';
export declare class DefaultSportradarNflApiService implements DefaultSportradarNflApiServiceInterface {
protected httpClient: HttpService;
protected basePath: string;
defaultHeaders: Record<string, string>;
configuration: Configuration;
constructor(httpClient: HttpService, configuration: Configuration);
private canConsumeForm;
currentSeasonSchedule(locale: string, format: string): Observable<AxiosResponse<any>>;
currentWeekSchedule(locale: string, format: string): Observable<AxiosResponse<any>>;
dailyChangeLog(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>>;
draftSummary(locale: string, year: number, format: string): Observable<AxiosResponse<any>>;
gameBoxscore(locale: string, game_id: string, format: string): Observable<AxiosResponse<any>>;
gameRoster(locale: string, game_id: string, format: string): Observable<AxiosResponse<any>>;
gameStatistics(locale: string, game_id: string, format: string): Observable<AxiosResponse<any>>;
leagueHierarchy(locale: 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>>;
postgameStandings(locale: string, year: number, season_type: string, format: string): Observable<AxiosResponse<any>>;
prospects(locale: string, year: number, format: string): Observable<AxiosResponse<any>>;
seasonSchedule(locale: string, year: number, season_type: string, format: string): Observable<AxiosResponse<any>>;
seasonalStatistics(locale: string, year: number, season_type: string, team_id: string, format: string): Observable<AxiosResponse<any>>;
seasons(locale: string, format: string): Observable<AxiosResponse<any>>;
teamDraftSummary(locale: string, year: number, team_id: string, format: string): Observable<AxiosResponse<any>>;
teamProfile(locale: string, team_id: string, format: string): Observable<AxiosResponse<any>>;
teamRoster(locale: string, team_id: string, format: string): Observable<AxiosResponse<any>>;
topProspects(locale: string, year: number, format: string): Observable<AxiosResponse<any>>;
trades(locale: string, year: number, format: string): Observable<AxiosResponse<any>>;
weeklyDepthCharts(locale: string, year: number, season_type: string, week_number: number, format: string): Observable<AxiosResponse<any>>;
weeklyInjuries(locale: string, year: number, season_type: string, week_number: number, format: string): Observable<AxiosResponse<any>>;
weeklySchedule(locale: string, year: number, season_type: string, week_number: number, format: string): Observable<AxiosResponse<any>>;
}