UNPKG

ufc-scraper

Version:

An API to scrape UFC fighter information, statistics, records, and rankings from UFC.com

14 lines (13 loc) 608 B
import { FighterStats } from './interfaces/fighter_stats'; import { FighterInfo } from './interfaces/fighter_info'; import { Fighter } from './interfaces/fighter'; export declare function getFighter(fighterName?: string): Promise<Fighter | null>; export declare function getFighterInfo(fighterName?: string): Promise<FighterInfo | null>; export declare function getFighterStats(fighterName?: string): Promise<FighterStats | null>; interface Rankings { [Division: string]: { [rank: number]: string; }; } export declare function getRankings(): Promise<Rankings | null>; export {};