| Crates.io | r621 |
| lib.rs | r621 |
| version | 0.3.0 |
| created_at | 2024-01-01 21:18:38.945846+00 |
| updated_at | 2025-08-02 14:56:51.400986+00 |
| description | Provides a client to access e621 |
| homepage | https://git.doggoat.de/dhalucario/r621 |
| repository | https://git.doggoat.de/dhalucario/r621 |
| max_upload_size | |
| id | 1085572 |
| size | 60,532 |
A simple e621 client using requwest.
If you would like to contact me you can reach me via Telegram
use r621::client::{Authentication, Client};
use r621::post::Post;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let user_agent = "MyProject/1.0 (by username on e621)";
let auth = Authentication::Authorized {
username: "hexerade",
apikey: "1nHrmzmsvJf26EhU1F7CjnjC"
};
let mut esix_client = Client::new(auth, user_agent);
let posts = esix_client.list_posts(None, Some(String::from("lucario")), None).await?;
}