Skip to content
Letterboxd API for access to data on the Letterboxd.com website in Rust.
Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
src
tests
.gitignore
.rustfmt.toml
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md

README.md

Letterboxd API for Rust CircleCI

Letterboxd API for access to data on the Letterboxd.com website in Rust.

Example

let mut core = Core::new().unwrap();
let client = letterboxd::Client::new(&core.handle(), API_KEY, API_SECRET);

let mut req = letterboxd::SearchRequest::new(String::from("Fight Club"));
let do_search = client.search(&req, None /* no auth token needed */);

let do_print = |resp| {
    println!("{:?}", resp);
    Ok(())
};

core.run(do_search.and_then(do_print)).unwrap();

For more examples cf. tests/integration.rs.

Progress

  • Request signing
  • Endpoint Auth
  • Endpoint Comment
  • Endpoint Contributor
  • Endpoint Film (except for film/report)
  • Endpoint List
  • Endpoint Log-Entry
  • Endpoint Me
  • Endpoint Member
  • Endpoint Search

License

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this document by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

You can’t perform that action at this time.