| Crates.io | brickset |
| lib.rs | brickset |
| version | 0.1.1 |
| created_at | 2023-05-24 20:52:48.710986+00 |
| updated_at | 2023-05-24 20:52:48.710986+00 |
| description | BrickSet API bindings |
| homepage | https://github.com/ryukoposting/brickset-rs |
| repository | https://github.com/ryukoposting/brickset-rs |
| max_upload_size | |
| id | 873752 |
| size | 118,220 |
This crate provides utilities for working with the BrickSet API. This includes:
log (default): Generate log messages using the log crate.reqwest (default): High-level wrapper for reqwest. If
you aren't using reqwest, you should disable this feature.The examples in this crate require a couple of environment variables:
export BRICKSET_KEY="<your BrickSet API key>"
export BRICKSET_USERNAME="<your BrickSet username>"
get_wanted_sets uses the high-level reqwest-based API to retrieve a BrickSet user's
wantlist.
cargo run --example get_wanted_sets
get_wanted_sets_low does the same thing as get_wanted_sets, but doesn't use
the high-level wrapper.