0.2.1 • Published 4 months ago

amateurhockeybot v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

npm version Package License NPM Downloads Build & Publish codecov stars forks HitCount

Library for scraping hockey data from the internet

Install

Nodejs 12 or higher need to be installed first

npm install amateurhockeybot

or

yarn add amateurhockeybot

Quick start

Type this into your ts file.

import { chhl, lnskutec } from 'amateurhockeybot';

console.log(lnskutec.matchListUrl('2925')); // show url

lnskutec.matchList('2925')
  .then(res => console.log(res));

console.log(lnskutec.matchUrl('62')); // show url

lnskutec.match('62')
  .then(res => console.log(res));

console.log(chhl.matchListUrl('1')); // show url

chhl.matchList('1')
  .then(res => console.log(res));

console.log(chhl.matchUrl('1')); // show url

chhl.match('1')
  .then(res => console.log(res));

Sources

SourceSpeedStability
lnskutec🏒🏒🏒🏒🏒🏒
chhl🏒🏒🏒🏒🏒🏒

License

Copyright © 2022 - 2023 Dominik Hladik

All contents are licensed under the MIT license.