This is an api to fetch books
The base URL for all API requests is:
https://example-library-api.com
GET /books
Returns a list of all books in the library.
limit
(optional): The maximum number of books to return. Default is 10.offset
(optional): The number of books to skip before starting to return results. Default is 0.Returns a JSON object with the following properties:
count
: The total number of books in the library.results
: An array of book objects, each with the following properties:
id
: The unique identifier of the book.title
: The title of the book.author
: The author of the book.description
: A brief description of the book.publication_date
: The publication date of the book.Request:
GET /books?limit=5&offset=10
Response: