{
"data": {
"count": 2,
"query": "pride and prejudice",
"results": [
{
"authorIds": [
"OL21594A"
],
"authors": [
"Jane Austen"
],
"coverId": 14348537,
"coverUrl": "https://covers.openlibrary.org/b/id/14348537-M.jpg",
"editionCount": 4042,
"firstPublishYear": 1813,
"isbn": "1402798563",
"subjects": [
"Fiction, Romance, Historical, Regency",
"British and Irish fiction (fictional works by one author)",
"Brothers and sisters",
"Courtship",
"Drama",
"English fiction",
"English literature",
"Families",
"Family",
"Family life"
],
"title": "Pride and Prejudice",
"workId": "OL66554W"
},
{
"authorIds": [
"OL21594A"
],
"authors": [
"Jane Austen"
],
"coverId": 13148521,
"coverUrl": "https://covers.openlibrary.org/b/id/13148521-M.jpg",
"editionCount": 132,
"firstPublishYear": 1813,
"isbn": "9798583924769",
"subjects": [
"British and irish fiction (fictional works by one author)",
"Brothers and sisters",
"Children's fiction",
"Courtship",
"Drama",
"English fiction",
"English literature",
"Families",
"Family",
"Family life"
],
"title": "Pride and Prejudice",
"workId": "OL15165350W"
}
]
},
"error": null,
"message": "Found 2 book(s) for \"pride and prejudice\". Call GET /books/:id (or /isbn/:isbn) for full metadata."
}
curl --location --request GET 'https://zylalabs.com/api/14977/book+data+api/39355/search+books?q=pride and prejudice&limit=5&offset=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"authors": [
{
"id": "OL21594A",
"name": "Jane Austen"
}
],
"coverId": 14348537,
"coverUrl": {
"large": "https://covers.openlibrary.org/b/id/14348537-L.jpg",
"medium": "https://covers.openlibrary.org/b/id/14348537-M.jpg",
"small": "https://covers.openlibrary.org/b/id/14348537-S.jpg"
},
"description": "Pride and Prejudice is an 1813 novel of manners written by Jane Austen. The novel follows the character development of Elizabeth Bennet, the dynamic protagonist of the book who learns about the repercussions of hasty judgments and comes to appreciate the difference between superficial goodness and actual goodness.",
"firstPublishYear": 1853,
"id": "OL66554W",
"isbn10": null,
"isbn13": "9781009432580",
"language": "eng",
"links": {
"openLibrary": "https://openlibrary.org/works/OL66554W"
},
"pageCount": 446,
"physicalFormat": null,
"publishDate": "2024",
"publisher": "Cambridge University Press",
"sources": {
"description": "open_library",
"pageCount": "open_library",
"title": "open_library"
},
"subjects": [
"Fiction, Romance, Historical, Regency",
"British and Irish fiction (fictional works by one author)",
"Brothers and sisters",
"Courtship",
"Drama",
"English fiction",
"English literature",
"Families",
"Family",
"Family life"
],
"title": "Pride and Prejudice"
},
"error": null,
"message": "Fetched book metadata."
}
curl --location --request GET 'https://zylalabs.com/api/14977/book+data+api/39356/get+book+by+work+id&workId=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"authors": [
{
"id": "OL21594A",
"name": "Jane Austen"
}
],
"coverId": 14348537,
"coverUrl": {
"large": "https://covers.openlibrary.org/b/id/14348537-L.jpg",
"medium": "https://covers.openlibrary.org/b/id/14348537-M.jpg",
"small": "https://covers.openlibrary.org/b/id/14348537-S.jpg"
},
"description": "Pride and Prejudice is an 1813 novel of manners written by Jane Austen. The novel follows the character development of Elizabeth Bennet, the dynamic protagonist of the book who learns about the repercussions of hasty judgments and comes to appreciate the difference between superficial goodness and actual goodness.",
"firstPublishYear": 1853,
"id": "OL66554W",
"isbn10": "0141439513",
"isbn13": "9780141439518",
"language": "eng",
"links": {
"openLibrary": "https://openlibrary.org/works/OL66554W"
},
"pageCount": 435,
"physicalFormat": "Paperback",
"publishDate": "2003",
"publisher": "Penguin Books",
"sources": {
"description": "open_library",
"pageCount": "open_library",
"title": "open_library"
},
"subjects": [
"Fiction, Romance, Historical, Regency",
"British and Irish fiction (fictional works by one author)",
"Brothers and sisters",
"Courtship",
"Drama",
"English fiction",
"English literature",
"Families",
"Family",
"Family life"
],
"title": "Pride and Prejudice"
},
"error": null,
"message": "Fetched book metadata."
}
curl --location --request GET 'https://zylalabs.com/api/14977/book+data+api/39357/get+book+by+isbn&isbn=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"authorId": "OL21594A",
"bio": "Jane Austen was an English writer. Although Austen was widely read in her lifetime, she published her works anonymously. The most urgent preoccupations of her bright, young heroines are courtship and marriage. Austen herself never married.",
"birthDate": "December 16, 1775",
"deathDate": "July 18, 1817",
"name": "Jane Austen",
"photoUrl": "https://covers.openlibrary.org/a/id/15214274-M.jpg",
"totalWorks": 2239,
"works": [
{
"coverId": null,
"subtitle": null,
"title": "Tavat ja tunteet",
"workId": "OL46238208W"
},
{
"coverId": null,
"subtitle": null,
"title": "Leikkiä ja totta",
"workId": "OL46238140W"
}
]
},
"error": null,
"message": "Fetched author metadata and 2 work(s). Call GET /books/:id for full metadata on any of them."
}
curl --location --request GET 'https://zylalabs.com/api/14977/book+data+api/39358/get+author?limit=20&offset=Optional&authorId=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"status": "up"
},
"error": null,
"message": "Service is healthy"
}
curl --location --request GET 'https://zylalabs.com/api/14977/book+data+api/39359/health+check' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 书籍数据 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
通过标题、作者或ISBN搜索数百万本书。获取干净的元数据:作者、描述、出版日期、页数、出版社、主题、ISBN-10/13、三种尺寸的封面和作者简介
您可以通过书名、作者名或ISBN进行搜索 ISBN-10和ISBN-13会自动检测并允许使用连字符
作者 描述 主题 ISBN-10 和 ISBN-13 出版社 出版日期 页数 语言以及小 中 大封面图片
并不是每本书在每个目录中都有每个字段。没有值的字段以空值或空列表返回,从不省略
请通过Telegram联系我们 @pintoflow 寻求帮助、功能请求或定制计划