
lodestone
Library for scraping data off of FFXIV's lodestone
Examples
Get a profile from a user id
use model::profile::Profile;
let profile = Profile::get(user_id).unwrap();
Search for a profile
fn search_user(name: &str, dc: Option<Datacenter>) -> Result<Vec<Profile>, Error> {
let search = SearchBuilder::new().character(name);
if let Some(d) = dc {
search = search.datacenter(d);
}
search.send()
}