TestingAPIs is still being built. If something breaks, email support@testingapis.com.

List authors with the number of books by each

GEThttps://api.testingapis.com/api/Books/authorsSign in to see this endpoint's URL

Responses

200
Objects of the form { author, books }, sorted by author.

Example

Request
curl -X GET "https://api.testingapis.com/api/Books/authors" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
[
  {"author": "Andrew Hunt & David Thomas", "books": 1},
  {"author": "Brandon Sanderson", "books": 1},
  "… 22 more items"
]

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.