gelbooru should work, remove caching, fix random
This commit is contained in:
parent
e6acb47796
commit
c34ddea659
14 changed files with 480 additions and 401 deletions
16
README.md
16
README.md
|
@ -48,13 +48,21 @@
|
|||
---
|
||||
|
||||
> **Note**
|
||||
> To use the e621 API, you must update the following environment variables in your `.env` file:
|
||||
> To use the **e621 API**, you must update the following environment variables in your `.env` file:
|
||||
>
|
||||
> ```env
|
||||
> # REQUIRED if you want to use the e621 API
|
||||
> E621_USER_AGENT=YourApplicationName/1.0 (by username on e621)
|
||||
> E621_USER_AGENT=YourApplication/1.0 (by username on e621)
|
||||
> E621_USERNAME=your-username
|
||||
> E621_API_KEY=your-apikey
|
||||
> ```
|
||||
>
|
||||
> Replace `your-username` and `your-apikey` with your e621 account credentials. Update the `User-Agent` string to include your application name, version, and a contact method (e.g., your e621 username) to comply with e621's API guidelines.
|
||||
>
|
||||
>
|
||||
> To use the **Gelbooru API**, you must also update the following:
|
||||
>
|
||||
> ```env
|
||||
> GELBOORU_API_KEY=your-apikey
|
||||
> GELBOORU_USER_ID=your-user-id
|
||||
> ```
|
||||
> You can find these credentials in your [Gelbooru account settings](https://gelbooru.com/index.php?page=account&s=options).
|
||||
> These are required for authenticated API requests and higher rate limits.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue