soccer-scrape
Scrape football data from Bet365
A pretty rigid library to fetch todays unplayed fixtures. It currently only supports three attributes, and comes from a defined source, Bet365, because they have the most extensive, whacky leagues available.
Installation
OS X & Linux:
npm install soccer-scrape --save
Usage example
Currently the only function available is getFixtures
, this returns an object.
const data = /*{ "scheduled": "19:30", "teams": { "home": "AC Milan U19", "away": "Pro Vercelli U19" }}*/
Development setup
git clone git@github.com:o8e/soccer-scrape.git
npm i
npm run dev
Release History
- 0.0.2
- Update docs and publish to NPM (module code remains unchanged)
- Add testing with mocha/chai and configure travis
- 0.0.1
- Develop initial function to fetch fixtures
Meta
Ollie Tribe – tribe@myself.com
Distributed under the MIT license. See LICENSE
for more information.
Contributing
- Fork it (https://github.com/o8e/soccer-scrape/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request