pipitor 0.2.2

A Twitter bot that gathers, filters and Retweets Tweets automatically.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::de;

api_requests! {
    // XXX: This would be HEAD request if we could skip deserialization of the response
    GET "https://api.twitter.com/1.1/statuses/show.json" => de::IgnoredAny;
    pub struct Show {
        id: i64;
        trim_user: bool = true,
        include_entities: bool,
    }

    POST "https://api.twitter.com/1.1/statuses/retweet.json" => de::IgnoredAny;
    pub struct Retweet {
        id: i64;
    }
}