Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 452 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 452 Bytes

Parking Boss API

This package adds managed access to the parking boss API. The API is relatively self documented by the types. In general you'll want to use it something like this:

import { Api } from "@parkingboss/api";

const api = Api({ client: "my-app" });

if (api.isLoggedIn()) {
  console.log(api);
} else {
  api.logIn();
}

This package expects to be run in a browser context. Refactoring for node has is an open TODO.