rememberthemilk 0.4.11

Client library for the Remember The Milk todo list service.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::env;

#[tokio::main]
async fn main() -> Result<(), reqwest::Error> {
    let api_key = env::args().nth(1).unwrap();
    let body = reqwest::get(&format!(
        "https://api.rememberthemilk.com/services/rest/?method=rtm.test.echo&api_key={}&name=foo",
        api_key
    ))
    .await?
    .text()
    .await?;
    println!("Body={}", body);
    Ok(())
}