JSPM

  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q37316F
  • License ISC

Parse match info from livesoccertv

Package Exports

  • livesoccertv-parser

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (livesoccertv-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

livesoccertv-parser

© All rights reserved to Live soccer TV

Install

npm install --save livesoccertv-parser

Usage

The parser works with promises:

const matches = require('livesoccertv-parser')
console.log(matches('spain', 'real-madrid')) //=> [{...}, {...}, ...]

Match object:

Match {
  played: false,
  competition: 'Supercopa de España',
  date: 'August 13',
  time: '16:00',
  game: 'Barcelona vs Real Madrid',
  tvs: 
    [
      'TeleCinco',
      'TV3',
      'Radio Barca (International)',
      'LAOLA1.TV (Austria, Georgia, Germany…)',
    ]
}

Contribute

JavaScript Style Guide

Feel free to open an issue or a PR.

License

ISC license

Author

me
© 2017 Pablo Varela