Posted on: 11/16/15 07:58PM
There is no login API. You must log in to the site the same way as normal.
You don't, however, need to give your user a web view. You can simply have your program collect the username and password itself and send those in the request.
Your request should be a POST sent to this address:
gelbooru.com/index.php?page=account&s=login&code=00The POST string should look like this:
user={0}&pass={1}&submit=Log+in
with {0} replaced by the username and {1} replaced by the password. Then you get the cookies from the response.
Yes, it is the user ID cookie instead of username. My apologies.