Added some doc about the API in README