2
2
PandaDoc SDK spans a broad range of functionality to help you build incredible documents automation experiences inside your product.
3
3
4
4
## Docs
5
- - [ Official public API documentation] ( https://developers.pandadoc.com/reference/about )
5
+ [ Official public API documentation] ( https://developers.pandadoc.com/reference/about )
6
6
7
7
## Requirements
8
8
python >= 3.6
@@ -25,28 +25,28 @@ import pandadoc_client
25
25
``` python
26
26
from pprint import pprint
27
27
28
- import openapi_client
29
- from openapi_client .api import templates_api
28
+ import pandadoc_client
29
+ from pandadoc_client .api import templates_api
30
30
31
31
# Configure API key authorization: apiKey
32
32
api_key = " YOUR_API_KEY"
33
33
34
34
# Defining the host is optional and defaults to https://api.pandadoc.com
35
35
# See configuration.py for a list of all supported configuration parameters.
36
- cfg = openapi_client .Configuration(
36
+ cfg = pandadoc_client .Configuration(
37
37
host = " https://api.pandadoc.com" ,
38
38
api_key = {" apiKey" : f " API-Key { api_key} " },
39
39
)
40
40
41
41
# Enter a context with an instance of the API client
42
- with openapi_client .ApiClient(cfg) as api_client:
42
+ with pandadoc_client .ApiClient(cfg) as api_client:
43
43
# Create an instance of the API class
44
44
api_instance = templates_api.TemplatesApi(api_client)
45
45
46
46
try :
47
47
resp = api_instance.list_templates(tag = " doe-inc-proposals" )
48
48
pprint(resp)
49
- except openapi_client .ApiException as e:
49
+ except pandadoc_client .ApiException as e:
50
50
pprint(" Exception when calling TemplatesApi->list_templates: %s \n " % e)
51
51
```
52
52
@@ -107,4 +107,4 @@ Class | Method | HTTP request | Description
107
107
* TemplatesApi* | [ ** list_templates** ] ( docs/TemplatesApi.md#list_templates ) | ** GET** /public/v1/templates | List Templates
108
108
109
109
## License
110
- SDK is licensed under the following [ License] ( LICENSE ) .
110
+ SDK is licensed under the following [ License] ( LICENSE ) .
0 commit comments