frc-events-api

0.0.0 • Public • Published

FRC-Events-API

Node.js wrapper for FRC Events API API Docs

Installation

npm install frc-events-api

Usage

var FRCAPI = require('frc-events-api');
 
var api = new FRCAPI({username: 'YOUR_USERNAME', auth: 'YOUR_AUTH_KEY', season: '2015'}); //season is optional
//api.METHODNAME(options, callback)
api.events({teamNumber: 1678}, function (err, data){
    if (!err){
        console.log(data);
    }
})

Methods

Method Required Parameters Optional Parameters
api.alliances eventCode
api.awards eventCode, teamNumber
api.awardsList
api.matches eventCode tournamentLevel, teamNumber, matchNumber, start, end
api.rankings eventCode teamNumber, top
api.schedule eventCode tournamentLevel, teamNumber, start, end
api.hybridSchedule eventCode, tournamentLevel start, end
api.season
api.events eventCode, teamNumber, districtCode, excludeDistrict
api.districts
api.teams teamNumber, eventCode, districtCode, page

Readme

Keywords

Package Sidebar

Install

npm i frc-events-api

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • ecwyne