Skip to content

ilefa/bluefit

Repository files navigation

Bluefit

version badge

Bluefit is a TypeScript library that allows you to easily fetch the realtime occupancy of the Rec Center.

Big thanks to u/MasterEjzz for discovering how to do this first for their super cool automated data tracking spreadsheet in Google Sheets.

Installation

Use npm to install Bluefit.

npm install @ilefa/bluefit

Since Bluefit is currently hosted on GitHub packages, you will need to make a .npmrc file in the root of your project, and insert the following:

@ilefa:registry=https://npm.pkg.github.com

Usage

import { getOccupancy } from '@ilefa/bluefit';

// Fetch current occupancy of the Rec Center
let occupants = await getOccupancy();

12

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GPL-3.0

About

Internal API to fetch Rec Center Occupancy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published