PandaDoc Public API
Project description
The Official PandaDoc Python client SDK
PandaDoc SDK spans a broad range of functionality to help you build incredible documents automation experiences inside your product.
Docs
Requirements
Python >= 3.6
Installation
pip install
If the python package is hosted on a repository, you can install directly using:
pip install pandadoc-python-client
(you may need to run pip
with root permission: sudo pip install pandadoc-python-client
)
Then import the package:
import pandadoc_client
Getting Started
from pprint import pprint
import pandadoc_client
from pandadoc_client.api import templates_api
# Configure API key authorization: apiKey
api_key = "YOUR_API_KEY"
# Defining the host is optional and defaults to https://api.pandadoc.com
# See configuration.py for a list of all supported configuration parameters.
cfg = pandadoc_client.Configuration(
host = "https://api.pandadoc.com",
api_key={"apiKey": f"API-Key {api_key}"},
)
# Enter a context with an instance of the API client
with pandadoc_client.ApiClient(cfg) as api_client:
# Create an instance of the API class
api_instance = templates_api.TemplatesApi(api_client)
try:
resp = api_instance.list_templates(tag="doe-inc-proposals")
pprint(resp)
except pandadoc_client.ApiException as e:
pprint("Exception when calling TemplatesApi->list_templates: %s\n" % e)
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: Use
read+write
to create, send, delete, and download documents, andread
to view templates and document details.
Examples
Docs
Official PandaDoc public API docs
https://developers.pandadoc.com/reference/about
License
SDK is licensed under the following License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for pandadoc-python-client-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ef92298b16f9148f128433a27bdf07e6d407772b228947471e45ae749a86e39 |
|
MD5 | a2c4ee2449594046460d317623d63764 |
|
BLAKE2b-256 | 6d67590f50729a6e7a6e3ef32c6f97f3475a617beff182da552220c92882992f |
Close
Hashes for pandadoc_python_client-1.1.0-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28e65d6037d7237b887c6e4da4e0d7c2a007982b86d0435d0cc8f84e7817945c |
|
MD5 | ed13f8d3ddcb635ffbb82194c031535c |
|
BLAKE2b-256 | 3995eb664fb268247677220e024a86db451c98491489cd2d4f5b1a64c0ab6efc |
Close
Hashes for pandadoc_python_client-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6452fbf16e4e31417bbd6ed2016df815c33adfda555836d473d687037f87fe53 |
|
MD5 | 4c9bc8743c02cb8e7c0dab9add1c1c2b |
|
BLAKE2b-256 | a4f8334590737210e73d0f233d307f00e3d48feeca5ca806ad1ee25609a7479e |