Skip to main content

Examples

Code Examples​

The API Keys page in the Printago app includes ready-to-use code examples in cURL, JavaScript, and Python. Drop your API key into one and it runs. Navigate to Admin > API Keys to see them.

Example Apps​

printago/api-examples on GitHub has runnable reference apps for the things people most often build on the API. Each folder stands on its own: copy one out, put your API key in .env, and run it.

ExampleWhat it doesLanguage
Live printer dashboardA wall display of every printer: state, progress, time left, temperatures and loaded filament, updated live over MQTTTypeScript
Upload and printUpload an STL, 3MF or STEP file from the command line and print copies of itPython
Parts catalog kioskA touch-friendly catalog of your parts with a Print button, for makerspaces, classrooms and shop floorsTypeScript
Order intake webhookReceive orders from any storefront or ERP, create them in Printago and print themTypeScript
CSV batch printQueue a production plan from a CSV: every row is checked and previewed before anything is queuedPython
Queue controlList, pause, resume, cancel, retry and reorder jobs from the terminalPython
Production reportPrint history by printer, part and failure reason, exported to CSVPython
Prometheus exporterPrinter metrics and alert rules for Prometheus and GrafanaPython
Camera snapshot archiverSave every camera snapshot, one folder per print, for review or timelapsesTypeScript

They also show the practices that keep an integration inside the rate limits: MQTT instead of polling for anything live, a client ID suffix generated once per process, and backing off on 429.

What's Possible with the API​

The Printago API is the same one that powers app.printago.io. You can:

  • List and manage your connected printers
  • Upload 3D models and create SKUs
  • Submit print jobs to your queue
  • Monitor print status and progress
  • Access print history and analytics
  • Subscribe to real-time printer state and entity change events via MQTT

Building something cool with Printago? Join our Discord community to connect with our developers and other print farm automation enthusiasts!