popflash_parser
popflash_parser
is a crate to parse and translate match information from https://popflash.site/ This tool is currently working as of February 27th 2022, although other similar tools have been borked when popflash
has changed it's web page structure so take caution when using.
Methods are used to get the match data from a url or match ID, they are functionally equivalent to the end user, only differing in what is used to call the function (a url, or match ID)
#
assert_eq!;
A Match
struct (see example output here: https://pastebin.com/AVt1zVV8) can be printed as follows
use *;
let match_data = from_id.await.unwrap;
println!;
println!;
// Convert to JSON string
let json_string = to_string.unwrap;
println!;
println!;
// Convert to JSON object
let json_object = from;
println!;
println!;