I tried to use login and password_hash to log in to e621 for a linux tool I'm developing, but I couldn't find a way to do so. What I'm looking to do is login to my account and apply my blacklist to the search that it conducts based on your entry to the textfield popup. Here's a snippet of the code that (attempts) to use the API:
tags="$(zenity --entry)";
ID="/home/user/.e6ID2.txt";
wget -O - 'https://e621.net/post/index.json?login=NikolaiTheFur&password_hash=(my_api_key)&tags='$tags | jq --raw-output '.[].ID' - > "$ID";
Running this portion of the code will successfully output a list of all the post IDs to /home/user/.e6ID2.txt, but the list of IDs it outputs will include posts with tags that I have blacklisted.
Does anybody have an idea of what I'm doing wrong?
Updated by TonyCoon