| Crates.io | kasane |
| lib.rs | kasane |
| version | 0.1.1 |
| created_at | 2024-09-22 19:43:50.761666+00 |
| updated_at | 2024-09-22 19:45:17.972706+00 |
| description | Tetter REST API client library |
| homepage | |
| repository | https://github.com/korewaChino/kasane |
| max_upload_size | |
| id | 1383235 |
| size | 93,862 |
kasane is a simple (and blazingly fast 🚀) library for the Tetter social media platform API.
It allows you to post tets at blazingly-fast(🚀) speeds, powered by Rust, Reqwest and Tokio.
[!NOTE] Both Tetter and kasane.rs are still in development. Things may change as time goes on.
Storage tabtetter.vercel.app > firebaseLocalStorageDb > firebase:authUser:XXXXXXXX > value > stsTokenManager > accessTokenaccessTokenNetwork tabAuthorization header, and copy the value of Bearer XXXXXXXXuse kasane::Tetter;
#[tokio::main]
async fn main() {
let client = kasane::Client::new(Some("your_token_here".to_string()));
let tet = kasane::Tet::compose(&client, "Hello from kasane.rs").await.unwrap();
println!("{:?}", tet);
}
See examples/ for more examples.