Crates.io | tumblr_api_derive |
lib.rs | tumblr_api_derive |
version | 0.1.0 |
source | src |
created_at | 2023-09-10 03:21:05.545638 |
updated_at | 2023-09-10 03:21:05.545638 |
description | proc macros used by tumblr_api |
homepage | |
repository | https://github.com/adrianmgg/tumblr_api |
max_upload_size | |
id | 968509 |
size | 15,763 |
A rust implementation of the Tumblr API.
This is still very much in beta! see Major Planned/Unimplemented Features
use tumblr_api::client::{Client, Credentials};
use tumblr_api::npf;
let client = Client::new(Credentials::new_oauth2(
"your consumer key",
"your consumer secret",
));
client
.create_post(
"blog-name",
vec![npf::ContentBlockText::builder("hello world").build()],
)
.send()
.await?;
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.