5.3.1 • Published 4 years ago

livesoccertv-parser v5.3.1

Weekly downloads
23
License
MIT
Repository
github
Last release
4 years ago

livesoccertv-parser

© All rights reserved to Live soccer TV

Install

npm install livesoccertv-parser

Usage

The parser works with promises:

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

Match object:

Match {
  live: false
  played: true,
  competition: 'Supercopa de España',
  date: 'August 13',
  time: '4:00 PM',
  game: 'Barcelona vs Real Madrid',
  tvs:
    [
      'TeleCinco',
      'TV3',
      'Radio Barca'
    ]
}

API

  • Timezone

By default, the timezone is America/New_York. You can set your own with:

matches('spain', 'real-madrid', { timezone: 'Europe/Madrid' })
matches('england', 'arsenal', { timezone: 'Europe/London' })

Contribute

JavaScript Style Guide

Feel free to open an issue or a PR.

License

MIT

Related

More at pablo.im

  • microsoccer: Microservice to fetch soccer games schedules and tv channels.

Author

me
© 2018 Pablo Varela
5.3.1

4 years ago

5.3.0

5 years ago

5.2.0

5 years ago

5.1.4

6 years ago

5.1.3

6 years ago

5.1.2

6 years ago

5.1.0

6 years ago

5.0.0

6 years ago

4.3.3

6 years ago

4.3.2

6 years ago

4.3.1

6 years ago

4.3.0

6 years ago

4.2.3

6 years ago

4.2.2

6 years ago

4.2.1

6 years ago

4.2.0

6 years ago

4.1.2

6 years ago

4.1.0

6 years ago

4.0.5

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.1.3

7 years ago

3.1.2

7 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago