/SimpleDanbooruFavTagApi

Loops the users tags and creates a json with the name of the tag and a number which is how many the tag appears in all of the users favorites

Primary LanguagePython

Most if it is written by https://gemini.google.com/, this and that edited by me (the human)

Notes by gemini:

How to run: Save the script as a Python file (e.g., main.py). Open a terminal and navigate to the directory where you saved the script. Run the script with arguments:

usage: main.py [-h] --username USERNAME --pages PAGES --limit LIMIT [--yourusername YOURUSERNAME] [--apikey APIKEY] [--beautify BEAUTIFY] main.py: error: the following arguments are required: --username, --pages, --limit

Note by Hapse the human:

your api key: https://danbooru.donmai.us/users/YOUR_USER_ID/api_keys

examples

python main.py --username albert --pages 10 --limit 10

python main.py --username albert --pages 10 --limit 10 --yourusername BOBBY --apikey SECRETKEY --beautify True