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

scores

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scores

Node module for score tracking for NCAA basketball.

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
decreased by-60%
Maintainers
1
Weekly downloads
 
Created
Source

Scores

===

A node module for tracking scores for NCAA Basketball off of ESPN's website.

Usage

var ScoreTracker = require('scores').ScoreTracker;

var scoreTracker = new ScoreTracker({
  interval: // miliseconds (Default: 15min)
, scoresUrl: // url
});

scoreTracker.on('gameChange', function(game) {
  // do something with game object
});

scoreTracker.watch();

Game Object
{ 
  id: 'HawaiivUCSantaBarbara20132702', // <home team>v<visitor team><date>
  startTime: 'Wed Feb 27 2013 22:00:00 GMT-0700',
  status: 'scheduled',
  winner: false, // 'home', 'visitor', false
  home: { 
    team: 'Hawaii', 
    score: 0
  },
  visitor: { 
    team: 'UC Santa Barbara', 
    score: 0
  }
}

MIT License

FAQs

Package last updated on 20 Mar 2013

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