amateurhockeybot
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

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.

Package Sidebar

Install

npm i amateurhockeybot

Weekly Downloads

2

Version

0.2.1

License

MIT

Unpacked Size

99.3 kB

Total Files

51

Last publish

Collaborators

  • celtian