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

    0.0.3 • Public • Published

    SoccerBot

    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

    Go to command line and type

    import { soccerway, transfermarkt } 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));
    

    Note: Soccerway 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 Dominik Hladik

    All contents are licensed under the MIT license.

    Install

    npm i soccerbot

    DownloadsWeekly Downloads

    2

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    82.2 kB

    Total Files

    35

    Last publish

    Collaborators

    • avatar