blazingdocs-1.0.1
توضیحات
BlazingDocs Python client
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | blazingdocs-1.0.1 |
| نام | blazingdocs |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Mentalstack |
| ایمیل نویسنده | hello@blazingdocs.com |
| آدرس صفحه اصلی | https://blazingdocs.com |
| آدرس اینترنتی | https://pypi.org/project/blazingdocs/ |
| مجوز | MIT |
# 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
```python
client = BlazingClient('API-KEY')
```
### Getting account info
```python
account = client.get_account()
```
### Getting merge templates list
```python
templates = client.get_templates()
```
### Getting usage info
```python
usage = client.get_usage()
```
### Executing merge
```python
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
نیازمندی
| مقدار | نام |
|---|---|
| >=2.26.0 | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.4 | Python |
نحوه نصب
نصب پکیج whl blazingdocs-1.0.1:
pip install blazingdocs-1.0.1.whl
نصب پکیج tar.gz blazingdocs-1.0.1:
pip install blazingdocs-1.0.1.tar.gz