Examples ======== Below are example scripts that demonstrate how to submit a PDF generation job to Influxion, poll for its completion, and download the resulting PDF file. All examples define configuration parameters (such as ``BASE_URL`` and polling intervals) at the top of the script for easy customization. .. list-table:: Available examples :header-rows: 0 * - Python (httpx) - :download:`generate_pdf.py ` * - Bash (curl & jq) - :download:`generate_pdf.sh ` * - PowerShell (Invoke-RestMethod) - :download:`generate_pdf.ps1 ` Python example ~~~~~~~~~~~~~~ .. literalinclude:: examples/generate_pdf.py :language: python Bash example ~~~~~~~~~~~~ .. literalinclude:: examples/generate_pdf.sh :language: bash PowerShell example ~~~~~~~~~~~~~~~~~~ .. literalinclude:: examples/generate_pdf.ps1 :language: powershell