Socket
Socket
Sign inDemoInstall

epl-fixtures

Package Overview
Dependencies
103
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    epl-fixtures

Fixtures for Premier League clubs


Version published
Weekly downloads
8
increased by166.67%
Maintainers
1
Install size
17.3 MB
Created
Weekly downloads
 

Readme

Source

epl-fixtures

Fixtures for Premier League clubs (Premier League, FA Cup, Capital One Cup, Champions League, Europa League)

Build Status npm version npm version npm version

Installation

npm install epl-fixtures --save

Usage

Get all upcoming matches

const Fixtures = require('epl-fixtures');

new Fixtures().all(function (err, matches) {
  console.log(matches);
});
//=> [
//=>   {
//=>     time: '20:00',
//=>     clubs: [ 'Liverpool', 'Chelsea' ],
//=>     location: 'Anfield',
//=>     date: 'Wednesday 11 May 2016',
//=>     competition: 'Barclays Premier League'
//=>   },
//=>   {
//=>     time: '15:00',
//=>     clubs: [ 'Arsenal', 'Aston Villa' ],
//=>     location: 'Emirates Stadium',
//=>     date: 'Sunday 15 May 2016',
//=>     competition: 'Barclays Premier League'
//=>   }
//=> ]

Get upcoming matches for specific club

const Fixtures = require('epl-fixtures');

new Fixtures().club('man city', function (err, matches) {
  console.log(matches);
});
//=> [
//=>   {
//=>     time: '19:45',
//=>     clubs: [ 'Newcastle', 'Man City' ],
//=>     location: 'St. James\' Park',
//=>     date: 'Tuesday 19 April 2016',
//=>     competition: 'Barclays Premier League'
//=>   },
//=>   {
//=>     time: '12:45',
//=>     clubs: [ 'Man City', 'Stoke' ],
//=>     location: 'Etihad Stadium',
//=>     date: 'Saturday 23 April 2016',
//=>     competition: 'Barclays Premier League'
//=>   }
//=> ]

License

MIT © Daniel Eckermann

Keywords

FAQs

Last updated on 16 Apr 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc