Tumblr API for Rust
E.g. Create a new photo post:
```rust extern crate rumblr;
use rumblr::TumblrClient;
fn main() { let client = TumblrClient::new() .proxy("http://127.0.0.1:1087") .unwrap() .load_keys("rumblr.keys") .unwrap();
println!(
"{:?}",
client.legacy_post(
"cestxavier.tumblr.com",
None,
None,
None,
None,
None,
None,
None,
rumblr::PostAction::New,
rumblr::PostType::Photo {
caption: None,
link: None,
source: Some("https://uvwvu.xyz/favicon.png"),
data: None,
data64: None,
},
)
);
} ```
All client methods sync with Tumblr API.
Support Neue Post Format.