Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

epl-fixtures

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

epl-fixtures

Fixtures for Premier League clubs

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-71.43%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 16 Apr 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc