imrahil / OctoPrint-PrintHistory

Plugin for OctoPrint - saves filename, print time and filament usage for each print
GNU Affero General Public License v3.0
64 stars 64 forks source link

Add API support #8

Closed ghost closed 9 years ago

ghost commented 9 years ago

It would be fantastic if information from the history could be fetched via the OctoPrint API. Not sure what you'd have to do or if it's possible. I'd be interested in helping with this, if/as needed.

imrahil commented 9 years ago

It's already available. Whole UI is using API for data. History data are here: http://octoprint_url:5000/plugin/printhistory/history?apikey=YOUR_API_KEY