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.
Anna Clemens 368fcfdb8c
fix: Helion -> Helions
11 months ago
src fix: Helion -> Helions 11 months ago
.gitignore chore: initial commit 5 years ago
Cargo.toml feat: update a bit 12 months ago
LICENSE chore: initial commit 5 years ago
README.md feat: update a bit 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);
}