Command line usage and/or REST API?

Not sure if this is what you are looking for