Skip to main content

Python client for the PDFire.io API.

Project description

PDFire.io logo

PDFire Python

GitHub

This package provides a client for the PDFire.io API. Read the Documentation for a list of available options.

Installation

pip install pdfire

Basic usage

from pdfire import Client, ConversionParams

client = Client('YOUR-API-KEY')

pdf = client.convert(ConversionParams(
  url = 'https://google.com',
  margin = 0,
  format = 'A4',
))

pdf.save_to('/path/on/disk.pdf')

License

MIT

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

pdfire-2.0.0.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

pdfire-2.0.0-py3-none-any.whl (8.2 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