Releases: TemplateFoxPDF/pythonsdk
Releases · TemplateFoxPDF/pythonsdk
v1.6.1
What's New
- PDF generation: Generate a PDF from a saved template using
POST /v1/pdf/create. Providetemplate_id(12-char string) anddata(object); chooseexport_type(urldefault orbinary) and setexpiration(60–604800 seconds, default 8640) for URL links. - Bug Fix: Fix consistent example URL in the PDF endpoint response so example URLs match actual responses, improving reliability when parsing responses or building integrations.
API Changes
Updated Endpoints:
POST /v1/pdf/create- Generate a PDF from a template with dynamic data. Requires API key (x-api-key). Request fields:template_id,data, optionalexport_typeandexpiration. Response example URL is now consistent with the real response format.
Generated from TemplateFox API v1.6.1
v1.6.0
What's New
- PDF job status endpoint: Get the current status of async PDF generation jobs using GET /v1/pdf/jobs/{job_id}. Response includes status (pending, processing, completed, failed) and error_message on failure. API key required in the
x-api-keyheader. - Polling guidance: Poll every 1–2 seconds for small documents and every 5–10 seconds for large documents while waiting for completion.
- Endpoint rename / migration: Replace calls to GET /v1/pdf/status/{job_id} with GET /v1/pdf/jobs/{job_id} to align with REST conventions; update integrations accordingly.
API Changes
New Endpoints:
GET /v1/pdf/jobs/{job_id}- Get status of an async PDF job (pending, processing, completed, failed). Requirex-api-keyheader. Use for polling until completion or failure.
Removed Endpoints:
GET /v1/pdf/status/{job_id}- Removed (renamed to/v1/pdf/jobs/{job_id}); update any existing client code.
Generated from TemplateFox API v1.6.0
v1.5.0
feat: update API client methods API changes: - Add API client - Add API client - Update API client - Update API client - Update API client - ... and 7 more API files Model changes: - Add app_routers_v1_pdf_async_export_type model - Add app_routers_v1_pdf_export_type model - Add create_async_pdf_request model - Add create_async_pdf_response model - Add job_list_response model - ... and 19 more model files Removed: - Remove export_type model - Remove test_export_type tests Generated from OpenAPI spec v1.5.0
v1.4.0
feat: update API client methods API changes: - Update API client - Update API client - Update API client - Update API client - Update API client - ... and 4 more API files Model changes: - Update __init__ model - Update account_info_response model - Update create_pdf_request model - Update create_pdf_response model - Update export_type model - ... and 13 more model files Generated from OpenAPI spec v1.4.0
v1.3.0
Synced with TemplateFox API 1.3.0
This release was automatically generated.
v1.1.1.dev2+gfe6303fdd.d20260209
Synced with TemplateFox API 1.1.1.dev2+gfe6303fdd.d20260209
This release was automatically generated.
v1.2.0
Synced with TemplateFox API 1.2.0
This release was automatically generated.
v1.1.3
Synced with TemplateFox API 1.1.3
This release was automatically generated.
v1.0.1
Add homepage, keywords, and documentation URLs
v1.0.0
Initial release of TemplateFox Python SDK
Installation
pip install templatefoxFeatures
- Generate PDFs from HTML templates
- Full API coverage for TemplateFox API v1.0.0
- Type hints for better IDE support