This is currently just a basic library to help parsing the champions.json file from Riot Games' Data Dragon. In future I will be looking to expand this out a bit.
I'm a rust newbie and this is my starter learning project after finishing Rustlings. Hopefully it will help me achieve ~~world domination, full oxidation~~ some reasonable fluency in Rust and help others along the way with anything League of Legends related like maybe a calculator site or smthn idk.
```rust // You should be handling these errors, or not I'm not your Dad let champ_dir = ChampDir::new(Path::new("champion.json")).unwrap()
let bestchampinthegame = champdir.getby_key(516).unwrap();
println!("{}", bestchampinthegame.name);
Output: Ornn
```
I will probably maybe potentially add proper docs in the future but while it's so shrimple I think I can get away with just some example code. As everything comes from .json I tried to pass as many of the potential errors back as possible instead of risking a panic so watch out for that I guess.
0.2.0
0.1.1 - Added readme