Add an API!

This is super weird writing it by hand but it still counts!
Add API info to README
Merge branch 'api'