![crates-badge] ![docs-badge] ![license-badge] ![ci-badge]
Letterboxd API client for accessing the data on the Letterboxd.com website in Rust.
```rust
async fn main() -> letterboxd::Result<()> { let apikeypair = letterboxd::ApiKeyPair::fromenv().unwrap(); let client = letterboxd::Client::new(apikey_pair);
let req = letterboxd::SearchRequest {
input: "Fight Club".to_string(),
per_page: Some(1),
..Default::default()
};
let resp = client.search(&req).await?;
println!("{:?}", resp);
Ok(())
} ```
For more examples cf. tests/integration.rs
.
Note: Not all APIs are implemented. Feel free to contribute missing implementation, usually these are very straight forward.
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.