given a json object of a driftio leaderboard, spits out a csv file so you can do cool stuff with the data
Json object - api response for leaderboard
Csv_writer_object - for writing the data to
Text_file_object - for other misc, optional
Average xp : 2519.60
Average level : 16.96
Average money : 1434.96
Average driven : 386809.50
Average drift : 150965.56
Average skill : 41.03
Average CANYON_games_played : 9.93
Average CANYON_wins : 5.13
Average CANYON_best_time : 30412.82
blahblahblah its a long list
Maximum playtime : Venna(61.67)
Maximum xp : Venna(92213.00)
Maximum level : Venna(197.00)
Maximum money : Venna(30153.00)
Maximum driven : Venna(9796110.80)
Maximum drift : Venna(6500796.26)
Maximum skill : melanoid(54.72)
Maximum CANYON_games_played : Venna(331.00)
Maximum CANYON_wins : Venna(313.00)
Maximum VINEYARD_games_played : Venna(309.00)
Maximum VINEYARD_wins : Venna(294.00)
Maximum SKI_RESORT_games_played : Venna(234.00)
Maximum SKI_RESORT_wins : Venna(220.00)
Maximum BEACH_games_played : Venna(266.00)
Maximum BEACH_wins : Venna(256.00)
Minimum CANYON_best_time : BlueDriftR8(38837.00)
Minimum CANYON_best_lap : WD⭐️(35792.00)
Minimum VINEYARD_best_time : WD⭐️(57065.00)
Minimum VINEYARD_best_lap : WD⭐️(53559.00)
Minimum SKI_RESORT_best_time : Razbiva4(61002.00)
Minimum SKI_RESORT_best_lap : Razbiva4(57097.00)
Minimum BEACH_best_time : WD⭐️(52694.00)
Minimum BEACH_best_lap : WD⭐️(49645.00)
Total Playtime: 18 days
average playtime: 4.3 hours
Average level: 24.8
Average distance driven: 670665 miles or 1079331.69 km
Average distance drifted to driven ratio : 0.27