pandadoc-node-client
v6.2.0
Published
The Official PandaDoc Node client SDK
Downloads
25,998
Readme
The Official PandaDoc Node client SDK
PandaDoc SDK spans a broad range of functionality to help you build incredible documents automation experiences inside your product.
Docs
Requirements
Node >= 12
Installation
From package manager:
npm install pandadoc-node-client
Or directly from the repository:
npm install git+https://github.com/PandaDoc/pandadoc-api-node-client.git
Getting Started
import * as pd_api from "pandadoc-node-client";
// replace it with your API key
const API_KEY = "YOUR_API_KEY";
const configuration = pd_api.createConfiguration(
{ authMethods: {apiKey: `API-Key ${API_KEY}`} }
);
const apiInstance = new pd_api.TemplatesApi(configuration);
apiInstance.listTemplates({ deleted: false, tag: ["doe-inc-proposals"] }).then((data) => {
console.log('API called successfully. Returned data: %o', data);
}).catch((error) => console.error(error));
Authorization
apiKey
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
oauth2
- Type: OAuth
- Flow: accessCode
- Authorization URL: https://app.pandadoc.com/oauth2/authorize
- Scopes:
- read+write: default
Examples
License
SDK is licensed under the MIT License.