Skip to content

Releases: TemplateFoxPDF/pythonsdk

v1.6.1

15 Feb 21:36

Choose a tag to compare

What's New

  • PDF generation: Generate a PDF from a saved template using POST /v1/pdf/create. Provide template_id (12-char string) and data (object); choose export_type (url default or binary) and set expiration (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, optional export_type and expiration. Response example URL is now consistent with the real response format.

Generated from TemplateFox API v1.6.1

v1.6.0

15 Feb 21:23

Choose a tag to compare

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-key header.
  • 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). Require x-api-key header. 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

15 Feb 20:04

Choose a tag to compare

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

15 Feb 10:32

Choose a tag to compare

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

12 Feb 14:55

Choose a tag to compare

Synced with TemplateFox API 1.3.0

This release was automatically generated.

v1.1.1.dev2+gfe6303fdd.d20260209

12 Feb 14:35

Choose a tag to compare

Synced with TemplateFox API 1.1.1.dev2+gfe6303fdd.d20260209

This release was automatically generated.

v1.2.0

11 Feb 14:15

Choose a tag to compare

Synced with TemplateFox API 1.2.0

This release was automatically generated.

v1.1.3

09 Feb 16:31

Choose a tag to compare

Synced with TemplateFox API 1.1.3

This release was automatically generated.

v1.0.1

05 Feb 12:49

Choose a tag to compare

Add homepage, keywords, and documentation URLs

v1.0.0

04 Feb 20:24

Choose a tag to compare

Initial release of TemplateFox Python SDK

Installation

pip install templatefox

Features

  • Generate PDFs from HTML templates
  • Full API coverage for TemplateFox API v1.0.0
  • Type hints for better IDE support