Here is a blog post with a sketch API description.