Module mangadex_api::v5::legacy::id_mapping
source · [−]Expand description
Builder for the legacy ID mapping endpoint.
https://api.mangadex.org/swagger.html#/Legacy/post-legacy-mapping
Examples
use mangadex_api::v5::MangaDexClient;
use mangadex_api::types::LegacyMappingType;
let client = MangaDexClient::default();
let id_mappings_res = client
.legacy()
.id_mapping()
.map_type(LegacyMappingType::Manga)
.ids(vec![1, 2])
.build()?
.send()
.await?;
println!("ID mappings: {:?}", id_mappings_res);
Structs
Builder for LegacyIdMapping
.
Enums
Error type for LegacyIdMappingBuilder