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
pandadoc-python-client-6.2.0.tar.gz
(113.6 kB
view details)
Built Distribution
File details
Details for the file pandadoc-python-client-6.2.0.tar.gz
.
File metadata
- Download URL: pandadoc-python-client-6.2.0.tar.gz
- Upload date:
- Size: 113.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81530256f6cbaaee9c18059ed514153a833b19cf95061040a548c63d6b1cb3d3 |
|
MD5 | 8b3b5e3d4f49f5fa99d938895ffa13eb |
|
BLAKE2b-256 | ffde1788dc19bb480664110f2a1f3456a8562446413ccb0ddfdc2819da40eaa4 |
File details
Details for the file pandadoc_python_client-6.2.0-py3-none-any.whl
.
File metadata
- Download URL: pandadoc_python_client-6.2.0-py3-none-any.whl
- Upload date:
- Size: 485.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2786399a489ddd4c05fb2f4dc26d662e88b1961b2e48cbe3eebe7365c8a21d24 |
|
MD5 | 0a6b9127084a1c8e9cbebe0a602add54 |
|
BLAKE2b-256 | aa39aec7ae9705bc84d2f8139f9c519f6654dff342425fe29bebc9289f62a8dc |