Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/o8e/soccer-scrape
:page_with_curl: Scrape football data from Bet365
https://github.com/o8e/soccer-scrape
bet365 betting crawler es6 football javascript puppeteer scraper soccer
Last synced: about 1 month ago
JSON representation
:page_with_curl: Scrape football data from Bet365
- Host: GitHub
- URL: https://github.com/o8e/soccer-scrape
- Owner: o8e
- License: mit
- Created: 2018-03-14T14:03:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-22T12:31:41.000Z (almost 7 years ago)
- Last Synced: 2024-10-11T09:28:46.214Z (3 months ago)
- Topics: bet365, betting, crawler, es6, football, javascript, puppeteer, scraper, soccer
- Language: JavaScript
- Homepage:
- Size: 98.6 KB
- Stars: 24
- Watchers: 4
- Forks: 24
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# soccer-scrape
> Scrape football data from Bet365[![npm version](https://badge.fury.io/js/soccer-scrape.svg)](https://badge.fury.io/js/soccer-scrape)
[![build status](https://travis-ci.org/o8e/soccer-scrape.svg?branch=master)](https://travis-ci.org/o8e/soccer-scrape)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:
```sh
npm install soccer-scrape --save
```## Usage example
Currently the only function available is `getFixtures`, this returns an object.
```javascript
import { getFixtures } from 'soccer-scrape'const data = getFixtures()
/*
{
"scheduled": "19:30",
"teams": {
"home": "AC Milan U19",
"away": "Pro Vercelli U19"
}
}
*/
```## Development setup
```sh
git clone [email protected]:o8e/soccer-scrape.git
```
```sh
npm i
```
```sh
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 – [email protected]
Distributed under the MIT license. See ``LICENSE`` for more information.
[https://github.com/o8e](https://github.com/o8e)
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request