GETBook Detail
https://api-books.dataandapis.com/v1/books/{id}
Parámetros de ruta
| Parámetro | Ejemplo | |
|---|---|---|
| id | 2701 | Obligatorio |
Petición de ejemplo
curl "https://api-books.dataandapis.com/v1/books/2701" \
-H "X-Api-Key: YOUR_API_KEY"Respuesta de ejemplo{
"ok": true,
"book": {
"id": 2701,
"title": "Moby Dick; Or, The Whale",
"authors": "Melville, Herman, 1819-1891",
"first_author": "Herman Melville",
"language": "en",
"issued": "2001-07-01",
"subjects": "Whaling -- Fiction; Sea stories; Psychological fiction; Ship captains -- Fiction; Adventure stories; Mentally ill -- Fiction; Ahab, Captain (Fictitious character) -- Fiction; Whales -- Fiction; Whaling ships -- Fiction",
"locc": "PS",
"bookshelves": "Best Books Ever Listings; Category: Adventure; Category: Novels; Category: Classics of Literature; Category: American Literature",
"links": {
"gutenberg_url": "https://www.gutenberg.org/ebooks/2701",
"text": "https://www.gutenberg.org/cache/epub/2701/pg2701.txt",
"epub": "https://www.gutenberg.org/cache/epub/2701/pg2701-images.epub",
"cover": "https://www.gutenberg.org/cache/epub/2701/pg2701.cover.medium.jpg"
}
},
"more_by_author": [
{
"id": 15,
"title": "Moby-Dick; or, The Whale",
"language": "en"
},
{
"id": 1900,
"title": "Typee: A Romance of the South Seas",
…
Ver la respuesta completa
{
"ok": true,
"book": {
"id": 2701,
"title": "Moby Dick; Or, The Whale",
"authors": "Melville, Herman, 1819-1891",
"first_author": "Herman Melville",
"language": "en",
"issued": "2001-07-01",
"subjects": "Whaling -- Fiction; Sea stories; Psychological fiction; Ship captains -- Fiction; Adventure stories; Mentally ill -- Fiction; Ahab, Captain (Fictitious character) -- Fiction; Whales -- Fiction; Whaling ships -- Fiction",
"locc": "PS",
"bookshelves": "Best Books Ever Listings; Category: Adventure; Category: Novels; Category: Classics of Literature; Category: American Literature",
"links": {
"gutenberg_url": "https://www.gutenberg.org/ebooks/2701",
"text": "https://www.gutenberg.org/cache/epub/2701/pg2701.txt",
"epub": "https://www.gutenberg.org/cache/epub/2701/pg2701-images.epub",
"cover": "https://www.gutenberg.org/cache/epub/2701/pg2701.cover.medium.jpg"
}
},
"more_by_author": [
{
"id": 15,
"title": "Moby-Dick; or, The Whale",
"language": "en"
},
{
"id": 1900,
"title": "Typee: A Romance of the South Seas",
…{
"ok": true,
"book": {
"id": 2701,
"title": "Moby Dick; Or, The Whale",
"authors": "Melville, Herman, 1819-1891",
"first_author": "Herman Melville",
"language": "en",
"issued": "2001-07-01",
"subjects": "Whaling -- Fiction; Sea stories; Psychological fiction; Ship captains -- Fiction; Adventure stories; Mentally ill -- Fiction; Ahab, Captain (Fictitious character) -- Fiction; Whales -- Fiction; Whaling ships -- Fiction",
"locc": "PS",
"bookshelves": "Best Books Ever Listings; Category: Adventure; Category: Novels; Category: Classics of Literature; Category: American Literature",
"links": {
"gutenberg_url": "https://www.gutenberg.org/ebooks/2701",
"text": "https://www.gutenberg.org/cache/epub/2701/pg2701.txt",
"epub": "https://www.gutenberg.org/cache/epub/2701/pg2701-images.epub",
"cover": "https://www.gutenberg.org/cache/epub/2701/pg2701.cover.medium.jpg"
}
},
"more_by_author": [
{
"id": 15,
"title": "Moby-Dick; or, The Whale",
"language": "en"
},
{
"id": 1900,
"title": "Typee: A Romance of the South Seas",
"language": "en"
},
{
"id": 2489,
"title": "Moby Dick; Or, The Whale",
"language": "en"
},
{
"id": 2694,
"title": "I and My Chimney",
"language": "en"
},
{
"id": 4045,
"title": "Omoo: Adventures in the South Seas",
"language": "en"
},
{
"id": 8118,
"title": "Redburn. His First Voyage Being the Sailor Boy Confessions and Reminiscences of the Son-Of-A-Gentleman in the Merchant Navy",
"language": "en"
},
{
"id": 10712,
"title": "White Jacket; Or, The World on a Man-of-War",
"language": "en"
},
{
"id": 11231,
"title": "Bartleby, the Scrivener: A Story of Wall-Street",
"language": "en"
},
{
"id": 12384,
"title": "Battle-Pieces and Aspects of the War",
"language": "en"
},
{
"id": 12841,
"title": "John Marr and Other Poems",
"language": "en"
}
],
"note": "Download links are constructed from Gutenberg's stable cache layout; a rare title may lack a given format."
}



