UNPKG

@hardbulls/wbsc-crawler

Version:

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

28 lines 1.34 kB
import { Game } from "./Model/Game"; import { Standing } from "./Model/Standing"; import { StatisticsCrawlerOptions } from "./StatisticsCrawler"; import { PlayerStatistics } from "./Model/PlayerStatistics"; export { GameCrawler, GameCrawlerOptions } from "./GameCrawler"; export { StandingsCrawler } from "./StandingsCrawler"; export { StatisticsCrawler } from "./StatisticsCrawler"; export { JsonStatisticsCrawler } from "./JsonStatisticsCrawler"; export { LivescoreCrawler } from "./LivescoreCrawler"; export { Game } from "./Model/Game"; export { Standing } from "./Model/Standing"; export { GameStatus } from "./Model/GameStatus"; export { Livescore } from "./Model/Livescore"; export { LivePlay, LivePlayPlayer, LivePlayBatterRecord, LivePlayPitch, LivePlayPitchType, LivePlaySituation, LivePlayBatter, LivePlayPitcher, LivePlayLineup, LivePlayEvent, LivePlayPitchOutcome, LivePlayLinescore, LivePlayLinescoreTotals, } from "./Model/LivePlay"; type CrawlOptions = { timezone?: string; tickerUrlPattern?: 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