Crates.io | bns |
lib.rs | bns |
version | 0.1.0 |
source | src |
created_at | 2016-08-28 19:01:17.053279 |
updated_at | 2016-08-28 19:01:17.053279 |
description | Rust library that web scraps character information from certain MMO. |
homepage | |
repository | https://github.com/Marqin/bns-rs |
max_upload_size | |
id | 6159 |
size | 7,312 |
Rust library that web scraps character information from certain MMO.
curl = "^0.3.5"
scraper = "^0.4.0"
let chara = players::Character::new(
String::from("PUT_API_DOMAIN_NAME_HERE"),
String::from("eu"),
String::from("SOME_CHARACTER_NAME")
).unwrap();
println!("{:?}", chara);
You have to guess what to put instead of PUT_API_DOMAIN_NAME_HERE
, because
I don't want to be sued for misusing trademark.
Character::new
returns Result<Character, String>
, where two of possible errors are:
This may change in future versions to some custom Error structs.