# 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+writeto create, send, delete, and download documents, andreadto 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.
Metadata
Release files for pandadoc-python-client 6.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pandadoc-python-client-6.2.0.tar.gz | 113.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pandadoc_python_client-6.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 599.4 kB
Release files / pandadoc-python-client-6.2.0.tar.gz
| Download URL | pandadoc-python-client-6.2.0.tar.gz |
|---|---|
| Size | 113.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81530256f6cbaaee9c18059ed514153a833b19cf95061040a548c63d6b1cb3d3
|
|
BLAKE2b-256 checksum How to use checksums |
ffde1788dc19bb480664110f2a1f3456a8562446413ccb0ddfdc2819da40eaa4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|
Release files / pandadoc_python_client-6.2.0-py3-none-any.whl
| Download URL | pandadoc_python_client-6.2.0-py3-none-any.whl |
|---|---|
| Size | 485.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2786399a489ddd4c05fb2f4dc26d662e88b1961b2e48cbe3eebe7365c8a21d24
|
|
BLAKE2b-256 checksum How to use checksums |
aa39aec7ae9705bc84d2f8139f9c519f6654dff342425fe29bebc9289f62a8dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|
Security for pandadoc-python-client 6.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.