Help Using the API
Anyway, that works great, but now I want to do more. I'd like to be able to get a list of items available to print and start printing one, and be able to disable the motors or move the axis by voice... and to do that I need to know how to do that in the API, but nothing I've tried works.
I found this documentation, but it has no examples: http://www.repetier-server.com/manuals/programming/API/index.html
I tried to follow it, like by doing this to send the extruder to the home location (G28): http://repetier-server.example.com:3344/printer/send/Home_Office?cmd=G28&apikey=abaad32-bbbb-cccc-aaaa-asdadsfasdfas
But unfortunately it won't move with that...
Can anyone help me figure out how to use the API to send gcode commands, list available models, and start printing one?
Comments