Drupal is a registered trademark of Dries Buytaert

apitemplate_io

16 sites No security coverage
View on drupal.org

Simple PHP client to interact with APITemplate.io's REST API v2. APITemplate.io is a PDF and image generation service.

This is an API module, supporting a few operations. Usage:

  1. Create account at APITemplate.io; add at least 1 PDF template.
  2. Configure API endpoint + key at /admin/config/system/apitemplate-io.
  3. Inject service 'apitemplate_io.client' into a service/form/controller.
  4. Call any of the available API operations on the client: createPdf(), mergePdfs(), listTemplates(); passing the appropriate JSON-vars + query parameters (as relevant for the operation being called).
  5. Use the returned URL/data as needed: serve as direct download (see ApiTemplateClient::serveFile()), save to filesystem, etc.

The provided test tool also serves as an example for how to use the API client.

Activity

Total releases
1
First release
Jun 2025
Latest release
8 months ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.0-beta4 Pre-release Jun 13, 2025