There is the REST API now, but documentation is not great yet. Here is a post that does a good job explaining the basics