Skip to content

Celtian/amateurhockeybot

Repository files navigation

AmateurHockeyBot

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

Source Speed Stability
lnskutec 🏒🏒🏒 🏒🏒🏒
chhl 🏒🏒🏒 🏒🏒🏒

License

Copyright © 2022 - 2023 Dominik Hladik

All contents are licensed under the MIT license.

About

Library for scraping hockey data from the internet

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks