Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/celtian/amateurhockeybot
Library for scraping hockey data from the internet
https://github.com/celtian/amateurhockeybot
library typescript
Last synced: about 10 hours ago
JSON representation
Library for scraping hockey data from the internet
- Host: GitHub
- URL: https://github.com/celtian/amateurhockeybot
- Owner: Celtian
- License: mit
- Created: 2022-02-03T21:34:39.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-02T19:08:34.000Z (6 months ago)
- Last Synced: 2024-11-12T17:49:43.559Z (4 days ago)
- Topics: library, typescript
- Language: TypeScript
- Homepage:
- Size: 721 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
AmateurHockeyBot
[![npm version](https://badge.fury.io/js/amateurhockeybot.svg)](https://badge.fury.io/js/amateurhockeybot)
[![Package License](https://img.shields.io/npm/l/amateurhockeybot.svg)](https://www.npmjs.com/amateurhockeybot)
[![NPM Downloads](https://img.shields.io/npm/dm/amateurhockeybot.svg)](https://www.npmjs.com/amateurhockeybot)
[![Build & Publish](https://github.com/celtian/amateurhockeybot/workflows/Build%20&%20Publish/badge.svg)](https://github.com/celtian/amateurhockeybot/actions)
[![codecov](https://codecov.io/gh/Celtian/amateurhockeybot/branch/master/graph/badge.svg?token=1IRUKIKM0D)](https://codecov.io/gh/celtian/amateurhockeybot/)
[![stars](https://badgen.net/github/stars/celtian/amateurhockeybot)](https://github.com/celtian/amateurhockeybot/)
[![forks](https://badgen.net/github/forks/celtian/amateurhockeybot)](https://github.com/celtian/amateurhockeybot/)
[![HitCount](http://hits.dwyl.com/celtian/amateurhockeybot.svg)](http://hits.dwyl.com/celtian/amateurhockeybot)> Library for scraping hockey data from the internet
## 🛠️ Install
_Nodejs 12 or higher need to be installed first_
```terminal
npm install amateurhockeybot
```or
```terminal
yarn add amateurhockeybot
```## 🚀 Quick start
_Type this into your ts file._
```terminal
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 - 2024 [Dominik Hladik](https://github.com/Celtian)
All contents are licensed under the [MIT license].
[mit license]: LICENSE