| 0 |
Open Library provides an experimental API to search. |
|
|
| 1 |
|
|
|
| 2 |
**WARNING: This API is under active development and may change in future.** |
|
|
| 3 |
|
|
|
| 4 |
# Overview & Features |
|
|
| 5 |
|
|
|
| 6 |
The Open Library Search API is one of the most convenient and complete ways to retrieve book data on Open Library. The API: |
0 |
The Open Library Search API is one of the most convenient and complete ways to retrieve book data on Open Library. The API: |
| 7 |
|
1 |
|
| 8 |
1. Is able to return data for **multiple** books in a single request/response |
2 |
1. Is able to return data for **multiple** books in a single request/response |
| 9 |
2. Returns both Work level information about the book, as well as Edition level information (such as) |
3 |
2. Returns both Work level information about the book (like author info, first publish year, etc), as well as Edition level information (like title, identifiers, covers, etc) |
| 10 |
3. Author IDs are returned which you can use to fetch the author's image, if available |
4 |
3. Author IDs are returned which you can use to fetch the author's image, if available |
| 11 |
4. Options are available to return Book Availability along with the response. |
5 |
4. Options are available to return Book Availability along with the response. |
| 12 |
5. Powerful sorting options are available, such as star ratings, publication date, and number of editions. |
6 |
5. Powerful sorting options are available, such as star ratings, publication date, and number of editions. |
| 13 |
|
7 |
|
| 14 |
# Endpoint |
8 |
## Examples |
| 15 |
|
|
|
| 16 |
The endpoint for this API is: |
|
|
| 17 |
https://openlibrary.org/search.json |
|
|
| 18 |
|
|
|
| 19 |
# Examples |
|
|
| 20 |
|
20 |
|
| ... |
|
... |
|
| 192 |
- You can see the exact boosting logic in the code here: https://github.com/internetarchive/openlibrary/blob/dc49fddb78a3cb25138922790ddd6a5dd2b5741c/openlibrary/plugins/worksearch/schemes/works.py#L439-L448 |
192 |
- You can see the exact boosting logic in the code here: https://github.com/internetarchive/openlibrary/blob/dc49fddb78a3cb25138922790ddd6a5dd2b5741c/openlibrary/plugins/worksearch/schemes/works.py#L439-L448 |
|