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.
| Example | What it does | Language |
|---|---|---|
| Live printer dashboard | A wall display of every printer: state, progress, time left, temperatures and loaded filament, updated live over MQTT | TypeScript |
| Upload and print | Upload an STL, 3MF or STEP file from the command line and print copies of it | Python |
| Parts catalog kiosk | A touch-friendly catalog of your parts with a Print button, for makerspaces, classrooms and shop floors | TypeScript |
| Order intake webhook | Receive orders from any storefront or ERP, create them in Printago and print them | TypeScript |
| CSV batch print | Queue a production plan from a CSV: every row is checked and previewed before anything is queued | Python |
| Queue control | List, pause, resume, cancel, retry and reorder jobs from the terminal | Python |
| Production report | Print history by printer, part and failure reason, exported to CSV | Python |
| Prometheus exporter | Printer metrics and alert rules for Prometheus and Grafana | Python |
| Camera snapshot archiver | Save every camera snapshot, one folder per print, for review or timelapses | TypeScript |
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!