szurubooru-client 0.6.2

Creator: bradpython12

Last updated:

Add to Cart

Description:

szurubooruclient 0.6.2

szurubooru-client
SzurubooruClient is a wrapper around the excellently-documented Szurubooru API,
including type-safe (if not API-safe) Query and Sort tokens.
Creating a new client
Basic authentication
Please keep in mind that this is not the preferred method of authentication. Tokens
are far superior.
use szurubooru_client::SzurubooruClient;
let client = SzurubooruClient::new_with_basic_auth("http://localhost:5001", "myuser",
"mypassword", true).unwrap();

Token authentication
The far superior and more secure means of authentication
use szurubooru_client::SzurubooruClient;
let client = SzurubooruClient::new_with_token("http://localhost:5001", "myuser", "sz-123456", true).unwrap();

For all other methods for making the requests, see the documentation.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.