Skip to content

An unofficial API for the FASTER Web fleet management system, relying on Puppeteer scripts, exported reports, and complex parsers.

License

Notifications You must be signed in to change notification settings

cityssm/node-faster-unofficial-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FASTER Web Unofficial API

npm (scoped) DeepSource Maintainability

An unofficial API for the FASTER Web fleet management system relying on Puppeteer scripts, exported reports, and complex parsers.

This API prioritizes functions that are not available through FASTER-supported methods.

This API uses the following two projects:

This unofficial API is in no way affiliated with or endorsed by FASTER Asset Solutions or Transit Technologies.

Installation

npm install @cityssm/faster-unofficial-api

Usage

⭐ This package requires a FASTER Web user name and password able to log into the FASTER Web application with permission to perform the function you need. For example, to execute an integration on demand using the executeIntegration() function, the provided user needs to have permission to do so.

import { FasterUnofficialAPI } from '@cityssm/faster-unofficial-api'

const fasterApi = new FasterUnofficialAPI(
  fasterTenant,
  fasterUserName,
  fasterPassword
)

const assets = await fasterApi.getAssets()

const inventory = await fasterApi.getInventory()

const itemUpdatedSuccessfully = await fasterApi.updateInventoryItem(
  itemNumber,
  storeroom,
  {
    itemName: 'New Item Name',
    itemDescription: 'Updated Item Description'
  }
)

const messageLog = await fasterApi.getMessageLog(startDate, endDate)

const executedSuccessfully = await fasterApi.executeIntegration(
  'Inventory Import Utility'
)

Related Projects

Building an intergration with FASTER Web?

Have a look at the City's open source projects related to FASTER Web.