UNPKG

rotowire-api-client

Version:

Node and NestJS wrappers for Rotowire feeds

19 lines (18 loc) 1.03 kB
import { HttpService } from '@nestjs/axios'; import { AxiosResponse } from 'axios'; import { Observable } from 'rxjs'; import { Configuration } from '../configuration'; import { DefaultRotowireMlbApiServiceInterface } from './default.serviceInterface'; export declare class DefaultRotowireMlbApiService implements DefaultRotowireMlbApiServiceInterface { protected httpClient: HttpService; protected basePath: string; defaultHeaders: Record<string, string>; configuration: Configuration; constructor(httpClient: HttpService, configuration: Configuration); private canConsumeForm; dailyProjections(format: string, date?: string): Observable<AxiosResponse<any>>; expectedLineups(format: string, date?: string): Observable<AxiosResponse<any>>; injuries(format: string): Observable<AxiosResponse<any>>; newsInjuries(format: string, date?: string): Observable<AxiosResponse<any>>; projectedStarters(format: string, date?: string, spring_training?: number): Observable<AxiosResponse<any>>; }