UNPKG

@hardbulls/wbsc-crawler

Version:

Tool to crawl events, leagues and statistics from WBSC based websites.

24 lines 919 B
import { Game } from "./Model/Game"; import { Standing } from "./Model/Standing"; import { StatisticsCrawlerOptions } from "./StatisticsCrawler"; import { PlayerStatistics } from "./Model/PlayerStatistics"; export { GameCrawler } from "./GameCrawler"; export { StandingsCrawler } from "./StandingsCrawler"; export { StatisticsCrawler } from "./StatisticsCrawler"; export { JsonStatisticsCrawler } from "./JsonStatisticsCrawler"; export { Game } from "./Model/Game"; export { Standing } from "./Model/Standing"; export { GameStatus } from "./Model/GameStatus"; type CrawlOptions = { timezone?: string; standings?: string; games?: string; statistics?: StatisticsCrawlerOptions; }; interface CrawlResponse { standings: Standing[]; games: Game[]; statistics: PlayerStatistics[]; } export declare const crawl: (options: CrawlOptions) => Promise<CrawlResponse>; //# sourceMappingURL=index.d.ts.map