Crates.io | eve_esi |
lib.rs | eve_esi |
version | |
source | src |
created_at | 2024-04-01 04:44:52.180359 |
updated_at | 2024-11-14 12:31:09.538996 |
description | Rust API wrapper for interaction with with EVE Online's ESI. |
homepage | |
repository | https://github.com/autumn-order/eve_esi |
max_upload_size | |
id | 1192145 |
Cargo.toml error: | TOML parse error at line 23, column 1 | 23 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Rust API wrapper for interaction with EVE Online's ESI.
let user_agent = format!("APPLICATION_NAME/1.0 (example@example.com)");
let esi_client = eve_esi::Client::new(&user_agent);
let character_id: i32 = 2114794365;
let character: eve_esi::model::Character = esi_client.get_character(character_id).await.unwrap();
println!(character);
Make certain you set the user agent as demonstrated above, ensure it includes contact email in case there are any issues with your ESI requests.
See the axum example for a more complete usage demonstration.
To test out the example:
cargo run --example axum