Skip to content

Commit 67825ae

Browse files
Merge remote-tracking branch 'upstream/master'
2 parents ac8ee76 + ab69497 commit 67825ae

19 files changed

+1505
-5242
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ Now you select the result you want and the plugin will cast it's magic and creat
107107
- games
108108
- music releases
109109
- wiki articles
110+
- books
110111
111112
### Currently supported APIs:
112113
@@ -117,6 +118,8 @@ Now you select the result you want and the plugin will cast it's magic and creat
117118
| [MusicBrainz](https://musicbrainz.org/) | MusicBrainz is an API that offers information about music releases. | music releases | No | 50 per second | No |
118119
| [Wikipedia](https://en.wikipedia.org/wiki/Main_Page) | The Wikipedia API allows access to all Wikipedia articles. | wiki articles | No | None | No |
119120
| [Steam](https://store.steampowered.com/) | The Steam API offers information on all steam games. | games | No | 10000 per day | No |
121+
| [Open Library](https://openlibrary.org) | The OpenLibrary API offers metadata for books | books | No | Cover access is rate-limited when not using CoverID or OLID by max 100 requests/IP every 5 minutes. This plugin uses OLID so there shouldn't be a rate limit. | No |
122+
120123
121124
#### Notes
122125
@@ -146,6 +149,11 @@ Now you select the result you want and the plugin will cast it's magic and creat
146149
- [Steam](https://store.steampowered.com/)
147150
- you can find this ID in the URL
148151
- e.g. for "Factorio" the URL looks like this `https://store.steampowered.com/app/427520/Factorio/` so the ID is `427520`
152+
- [Open Library](https://openlibrary.org)
153+
- The ID you need is the "work" ID and not the "book" ID, it needs to start with `/works/`. You can find this ID in the URL
154+
- e.g. for "Fantastic Mr. Fox" the URL looks like this `https://openlibrary.org/works/OL45804W` so the ID is `/works/OL45804W`
155+
- This URL is located near the top of the page above the title, see `An edition of Fantastic Mr Fox (1970) `
156+
149157
150158
### Problems, unexpected behavior or improvement suggestions?
151159

esbuild.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ esbuild
4747
],
4848
format: 'cjs',
4949
watch: !prod,
50-
target: 'es2016',
50+
target: 'es2018',
5151
logLevel: 'info',
5252
sourcemap: prod ? false : 'inline',
5353
treeShaking: true,

0 commit comments

Comments
 (0)