Skip to content

A npm module to allow you to interact with the Ocotoprint REST API

Notifications You must be signed in to change notification settings

GwilymNewton/octoprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 printer
  • disconnectFromPrinter() - Instructs OctoPrint to disconnect from the printer.
  • fakeAckToPrinter() - NOT YET IMPLIMENTED ##Files
  • getAllFiles() - 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 system
  • deleteFolder() - delete folder on the file system
  • fileDetails() - NOT YET IMPLIMENTED
  • selectFile() - NOT YET IMPLIMENTED
  • sliceFile() - NOT YET IMPLIMENTED
  • copyFile() - NOT YET IMPLIMENTED
  • moveFile() - NOT YET IMPLIMENTED
  • deleteFile() - NOT YET IMPLIMENTED

##Jobs -jobStatus() - Retrieve information about the current job (if there is one).

About

A npm module to allow you to interact with the Ocotoprint REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published