1.0.3 • Published 3 years ago

@jthftc/first-npm v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

The first-npm package is mainly for ultilziing the FIRST Robotics API in a Node.JS environment.

Follow @javathehutts on Twitter for important announcements.

Installation

To install prebuilt first-npm binaries, use npm:

npm install first-npm --save

Programmatic usage

If you require first-npm inside your Node Application this to spawn an first-npm reference from inside your Node scripts:

//Spawn the first-npm Node module within your Node script
const first = require('ftc-npm');

//Used to login to the FIRST Robotics API
const ftc = new first("username","API-key"); 

//Grab the information associated with the team #14725 (Java The Hutts)
ftc.getTeam(14725).then(response => {
    console.log(response);
});

License

MIT

When using the first-npm or other GitHub logos, be sure to follow the GitHub logo guidelines.

1.0.3

3 years ago

1.0.1

3 years ago