UNPKG

fantasy-api-client

Version:

API client to easily interact with various fantasy sports APIs including ESPN, Yahoo, and Sleeper

12 lines (11 loc) 882 B
export declare function getDrafts(leagueId: string | undefined): Promise<any>; export declare function getDraftPicks(draftId: string | undefined): Promise<any>; export declare function getNFLState(): Promise<any>; export declare function getLeague(leagueId: string | undefined): Promise<any>; export declare function getMatchupsByWeek(leagueId: string | undefined, week: number): Promise<any>; export declare function getWinnersBracket(leagueId: string | undefined): Promise<any>; export declare function getLosersBracket(leagueId: string | undefined): Promise<any>; export declare function getUsers(leagueId: string | undefined): Promise<any>; export declare function getPlayers(): Promise<any>; export declare function getRosters(leagueId: string | undefined): Promise<any>; export declare function getTransactionsByWeek(leagueId: string | undefined, week: number): Promise<any>;