NOTE - This API is no longer hosted. The code provided in this repository can be repurposed and hosted.
A simple CRUD API for books.
Required parameters -
isbn
- ISBN (International Standard Book Number) of the booktitle
- Title of the bookauthor
- Book's author
curl -i -X POST -H "Content-Type:application/json" -d "{ \"isbn\" : \"978-0156027328\", \"title\" : \"Life of Pi\", \"author\" : \"Yann Martel\" }" http://crudapi.us-east-1.elasticbeanstalk.com/books
Retrieves a book by its ISBN. Since ISBNs are unique, a single book is returned. Required parameter - isbn
curl http://crudapi.us-east-1.elasticbeanstalk.com/books/search/findBookByIsbn?isbn=978-0156027328
Retrives books by the provided title. All books matching the title will be returned. Required parameter - title
curl http://crudapi.us-east-1.elasticbeanstalk.com/books/search/findBooksByTitle?title=Life%20of%20Pi
Retrives all books written by the author. Required parameter - author
curl http://crudapi.us-east-1.elasticbeanstalk.com/books/search/findBooksByAuthor?author=Yann%20Martel
Retrieves the top 10 words used in all book titles.
curl http://crudapi.us-east-1.elasticbeanstalk.com/top10words