1.0.3 • Published 11 months ago

soccerbot v1.0.3

Weekly downloads
4,088
License
MIT
Repository
github
Last release
11 months ago

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

Library for scraping soccer data from the internet

🛠️ Install

Nodejs 12 or higher need to be installed first

npm install soccerbot

or

yarn add soccerbot

🚀 Quick start

Type this into your ts file.

import { soccerway, transfermarkt, fotbalunas, eurofotbal, sportnet } from 'soccerbot';

console.log(soccerway.teamUrl('533')); // show url

soccerway.team('533')
  .then(res => console.log(res));

console.log(transfermarkt.teamUrl('62')); // show url

transfermarkt.team('62')
  .then(res => console.log(res));

console.log(fotbalunas.teamUrl('62')); // show url

fotbalunas.team('62')
  .then(res => console.log(res));

console.log(eurofotbal.teamUrl('cesko/sparta-praha')); // show url

eurofotbal.team('cesko/sparta-praha')
  .then(res => console.log(res));

console.log(sportnet.teamUrl('fk-inter-bratislava/tim/46770')); // show url

sportnet.team('fk-inter-bratislava/tim/46770')
  .then(res => console.log(res));

🛠️ Sources

SourceSpeedStabilityCoverage
transfermarkt⚽⚽⚽⚽⚽⚽World
soccerwayWorld
fotbalunas⚽⚽⚽Czech Republic
eurofotbal⚽⚽⚽⚽Europe
sportnetSlovakia

Note: Soccerway, Fotbalunas and sportnet is taking data from multiple pages, so it takes longer period of time. The reason is to prevent rare limit (30 sec on average).

🪪 License

Copyright © 2021 - 2024 Dominik Hladik

All contents are licensed under the MIT license.

1.0.2

1 year ago

1.0.3

11 months ago

1.0.1

2 years ago

1.0.0

2 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.4.0

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago