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-5.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1d872e3fa3d8be26ba8cdbe31450af8531e776a5190814b5053c92ac3ad85d6 |
|
MD5 | 3d0600c218e636d8a2fd1671d275233c |
|
BLAKE2b-256 | 3dc8e9c01df9ec659dbd03cc958d536eab37478cb30aabd6dd4777bca37381bc |
Close
Hashes for pandadoc_python_client-5.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84e2625045b0c14015018f46e94704b9143489a95c5ce4b94d5105d16b93b54a |
|
MD5 | 2316b678d0496ab6c5d962227f7e5f25 |
|
BLAKE2b-256 | 8888c67a9ba1e0fcaf5d3f91e15e183155b9b052741e20f266cc8bcb561b590b |