6 releases
0.1.5 | Jun 9, 2022 |
---|---|
0.1.4 | Jun 9, 2022 |
#81 in #twitter
11KB
71 lines
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);
}
Dependencies
~4–8.5MB
~161K SLoC