Get Detail Author
To get the data in the specified collection. If no parameters are passed, it lists all of them. Otherwise, it lists the documents in the collection matching the specified parameters:
Method : GET
URL : /api/author?id=(id)
URL : /api/author?slug=(slug)
Response : 200 - OK
{
"id": 1,
"name": "Suzanne Collins",
"link": "https://www.goodreads.com/author/show/153394.Suzanne_Collins",
"image": "https://images.gr-assets.com/authors/1630199330p5/153394.jpg",
"born": "Hartford, Connecticut, The United States",
"web": "http://suzannecollinsbooks.com/",
"bio": "Librarian Note: There is more than one author in the Goodreads database with this name.Since 1991, Suzanne Collins has been busy writing for children’s television. She has worked on the staffs of several Nickelodeon shows, including the Emmy-nominated hit Clarissa Explains it All and The Mystery Files of Shelby Woo. For preschool viewers, she penned multiple stories for the Emmy-nominated Little Bear and Oswald. She also co-wrote the critically acclaimed Rankin/Bass Christmas special, Santa, Baby! Most recently she was the Head Writer for Scholastic Entertainment’s Clifford’s Puppy Days.While working on a Kids WB show called Generation O! she met children’s author James Proimos, who talked her into giving children’s books a try.Thinking one",
"created_at": "2023-05-24T08:04:27.745623+00:00",
"slug": "suzanne-collins",
"books": [
{
"id": 290,
"slug": "mockingjay",
"title": "Mockingjay (The Hunger Games #3)",
"pages": "390",
"language": "English",
"published": "2010-08-24",
"link": "https://www.goodreads.com/book/show/7260188-mockingjay",
"image": "https://images-na.ssl-images-amazon.com/images/S/compressed.photo.goodreads.com/books/1586722918i/7260188.jpg",
"image_small": "https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1586722918i/7260188._SY75_.jpg"
},
{
"id": 181,
"slug": "the-hunger-games-trilogy-boxset",
"title": "The Hunger Games Trilogy Boxset (The Hunger Games #1-3)",
"pages": "1155",
"language": "English",
"published": "2008-01-01",
"link": "https://www.goodreads.com/book/show/7938275-the-hunger-games-trilogy-boxset",
"image": "https://images-na.ssl-images-amazon.com/images/S/compressed.photo.goodreads.com/books/1360094673i/7938275.jpg",
"image_small": "https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1360094673i/7938275._SY75_.jpg"
}
],
"quotes": [
{
"id": 77,
"quote": "You love me. Real or not real?\"I tell him, \"Real."
},
{
"id": 153,
"quote": "You don’t forget the face of the person who was your last hope."
}
]
}
Response : 404 - Not Found
Not Found
Response : 500 - Server Error
Internal Server Error