You can connect to the OctoPrint server via it's awesome REST API and pull back information about the state of the 3D printer, the temperatures of it's print bed, hotend(s), and any current print job ...
Using this plugin will allow you to interface with your MakerOS projects. Once installed you will be able to query your projects and download both .gcode and .STL files from your projects to your ...