biggo-api-pms
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

BigGo API PMS Javascript Client

BigGo API PMS Javascript Client is a API written in Javascript.

short future:

Getting Started

Installation

Using npm

npm i biggo-api-pms --save

Using yarn

yarn add biggo-api-pms

Using pnpm

pnpm add biggo-api-pms

Usage

Using ESM:

import { BiggoAPIPMS } from "biggo-api-pms"

Using CJS:

const { BiggoAPIPMS } = require("biggo-api-pms")

Initializing

To get started, first obtain a client id and secret from BigGo API. Then, use the following code to obtain an API object:

const api = new BiggoAPIPMS({ 
  clientID: '<Your client ID>',
  clientSecret: '<Your client secret>' 
})

You can refer to this guide to get the client id and secret

Funmula-Corp/guide

Accessing BigGo API PMS

You can access all BigGo API PMS resources using the api object. Simply use the object obtained from new BiggoAPIPMS(). For example:

// Get list of platforms the user has access.
const platformList = await api.getPlatformList()
// Get list of groups in the platform.
const groupList = await api.getGroupList('<Platform ID>')
// Get list of reports in the platform.
const reportList = await api.getReportList('<Platform ID>')
// Get file content or save report as file.
const reportJson = await api.getReport('<Platform ID>', '<Report ID>', 'json')

if you need more information, you can refer to this document.

Typescript

This library supports typescript.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i biggo-api-pms

Weekly Downloads

2

Version

0.1.3

License

MIT

Unpacked Size

21.2 kB

Total Files

15

Last publish

Collaborators

  • biggo