1.0.3 • Published 3 years ago

procore-sdk-client v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Procore NodeJS SDK Client

Installation

npm install procore-sdk-client

Environment Setup

  1. Copy .env.example as .env
  2. ClIENT_ID, CLIENT_SECRET values by creating a Procore app
  3. Update the NODE_ENV environment configuration value

Environment Configuration

  1. development -> api-sandbox-monthly.procore.com
  2. production -> live api.procore.com

SDK Intro

Declaring SDK

const procoreSDK = require('procore-sdk-client');

const token = 'user-token-goes-here';  // assign our token received from user
const company_id = '8484';  // declare company id

const SDK = new procoreSDK({ token, company_id });

Make call

void async function(){

  const company_users = await SDK.company.get_company_users();
  console.log(company_users);
}();
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago