octoprint
v0.0.4
Published
npm package to interact with the octoprint REST API
Maintainers
Readme
octoprint
npm wrapper for the OcotoPrint REST API, Still largely incomplete
##API
api_version()- Retrieve information regarding server and API version.
##Connection
getPrinterConnection()- Retrieve the current connection settings, including information regarding the available baudrates and serial ports and the current connection state.version.connectToPrinter()- Instructs OctoPrint to connect to the printerdisconnectFromPrinter()- Instructs OctoPrint to disconnect from the printer.fakeAckToPrinter()- NOT YET IMPLIMENTED ##FilesgetAllFiles()- Retrieve information regarding all files currently available and regarding the disk space still available locally in the system.getFilesFromFolder()- Retrieve information regarding the files currently available on the selected location.sendFile()- Upload a file to the selected location, and select or print.createFolder()- create a new empty folder on the file systemdeleteFolder()- delete folder on the file systemfileDetails()- NOT YET IMPLIMENTEDselectFile()- NOT YET IMPLIMENTEDsliceFile()- NOT YET IMPLIMENTEDcopyFile()- NOT YET IMPLIMENTEDmoveFile()- NOT YET IMPLIMENTEDdeleteFile()- NOT YET IMPLIMENTED
##Jobs
-jobStatus() - Retrieve information about the current job (if there is one).
