Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

blazingdocs-1.0.1-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page