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 Distribution
Close
Hashes for pandadoc-python-client-4.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c10145e7211b14cb43c812fa91e3926ad70b0207751f263a342fe0387a43676 |
|
MD5 | 79590265fd5507923dc0b7be015124d9 |
|
BLAKE2b-256 | 91d91bfbf868a03b736d57f17602126a05ae1cb23c51af898b6c6303057ae3f0 |
Close
Hashes for pandadoc_python_client-4.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e2d4fb1c7a6e107633bb6ef4786175182b8aede45872a55feef02ab70680c68 |
|
MD5 | 10a514022710ef9c7f157b16a26291c1 |
|
BLAKE2b-256 | de508c15caf4e6191736f220e83f8181c40f18d4caa3d0a22ae4bd260b8b9062 |