tweety

Crates.iotweety
lib.rstweety
version0.1.5
sourcesrc
created_at2022-06-07 18:00:52.45694
updated_at2022-06-09 23:44:02.773191
descriptionA wrapper for twitter v2.0 api written for rust.
homepagehttps://github.com/Nicest-One/rust-tweety
repositoryhttps://github.com/Nicest-One/rust-tweety
max_upload_size
id601617
size35,629
(Nicest-One)

documentation

README

Tweety

A wrapper for twitter v2.0 api written for rust.

An example

Create a new tweety::Bot struct and send a message with it.

use tweety::Bot;

fn main() {
    let bot = Bot::new(
        access_token: "twitter bot access token"
    )
    let response = bot.send_message("This is a test Tweet! :)").unwrap();
    println!("{:?}", response.data);
}
Commit count: 0

cargo fmt