Update README.md

Rough idea of what the API will look like. Needs a lot of work though, foreseeing DoS issues :(