Neurophysiologically Pseudoscientific Manatee
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

scores-parser

3.0.0 • Public • Published

scores-parser Build Status

Extract soccer results from the web.

npm install -g scores-parser

Format

[
    { status: 'FT', home: 'team 1', result: '2-0', away: 'team 2'},
    { status: 'HT', home: 'team 1', result: '0-1', away: 'team 2'},
    { status: '30"', home: 'team 1', result: '0-0', away: 'team 2'},
    { status: '18:00', home: 'team 1', result: '?-?', away: 'team 2'},
]

Usage

var scores = require('scores-parser')
 
scores({}, function (data) {
  // handle results
})
 
scores({ date: 'YYYY-MM-DD' }, function (data) {
  // handle results
})

License

MIT

install

npm i scores-parser

Downloadsweekly downloads

27

version

3.0.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar