You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
11 months ago | |
---|---|---|
src | 11 months ago | |
.gitignore | 5 years ago | |
Cargo.toml | 12 months ago | |
LICENSE | 5 years ago | |
README.md | 12 months ago |
README.md
lodestone-scraper
A Lodestone client library.
use ffxiv_types::World;
use lodestone_scraper::LodestoneScraper;
fn main() {
let ls = LodestoneScraper::default();
let search = ls.character_search()
.name("Duvivi Duvi")
.world(World::Adamantoise)
.send()
.unwrap();
let character = ls.character(search.results[0].id).unwrap();
assert_eq!("Duvivi Duvi", character.name);
assert_eq!(World::Adamantoise, character.world);
}