BlazingDocs Python client
Project description
BlazingDocs Python client
High-performance document generation API. Generate documents and reports from СSV, JSON, XML with 99,9% uptime and 24/7 monitoring.
Installation
Run this line from Terminal:
pip install blazingdocs
Integration basics
Setup
You can get your API Key at https://app.blazingdocs.com
client = BlazingClient('API-KEY')
Getting account info
account = client.get_account()
Getting merge templates list
templates = client.get_templates()
Getting usage info
usage = client.get_usage()
Executing merge
client = BlazingClient('API-KEY')
parameters = MergeParameters()
with open('templates/PO-Template.json', 'r', encoding='utf-8') as f:
data = f.read()
with open('templates/PO-Template.docx', 'rb') as f:
file = FormFile('PO-Template.docx')
file.content = f.read()
operation = client.merge_with_form_file(
data=data,
filename='output.pdf',
parameters=parameters,
template=file
)
Documentation
See more details here https://docs.blazingdocs.com
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
blazingdocs-1.0.1.tar.gz
(5.7 kB
view details)
Built Distribution
File details
Details for the file blazingdocs-1.0.1.tar.gz
.
File metadata
- Download URL: blazingdocs-1.0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf626e03a25acda7cf64154604ee421712ee537f310dc3081d072858486a2c48 |
|
MD5 | 32b0bd09d09e4c9592dd5482e8f2257b |
|
BLAKE2b-256 | 1884f5764d726661ed5217bd692edb21bd076083aedc67dcdc21047bd30bce19 |
File details
Details for the file blazingdocs-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: blazingdocs-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 001d059ad6149e3031a031f1681514094bc5d4fb7997267b67b8499b454e02ba |
|
MD5 | 31823211c38fc6b08b56666b69374d75 |
|
BLAKE2b-256 | d3e8f2f8f8c7f61a5f76c57d1c37707c5667ca85587e0f6f4378d551ba48a201 |