Class: baseObjects

baseObjects

An implementation for interacting with the GitHub backend.


new baseObjects()

gitHubServer.js

Version:
  • 1.0.0
Author:
License:
  • Apache-2.0
Source:
Requires:
Example
import {Companies, Interactions, Users, Billings} from './api/gitHubServer.js'
const companies = new Companies(token, org, processName)
const interactions = new Interactions(token, org, processName)
const users = new Users(token, org, processName)
const billings = new Billings(token, org, processName)

const allCompanies = await companies.getAll()
const allInteractions = await interactions.getAll()
const allUsers = await users.getAll()
const allBillings = await billings.getAll()

const company = await companies.findByName('myCompany')
const interaction = await interactions.findByName('myInteraction')
const user = await users.findByName('myUser')

Requires