I'm not sure if anyone would use that, but API logic could be extracted into separate package and used as command-line interface.