PDA

View Full Version : leaderboard data



sylekta
15-01-2018, 03:32
Is there an API you can pull data from (leaderboards)

If so, does it have all laptimes? or only PBs?
I would like to get more recent laptime data for GT3 cars after the patch, due to the balancing I dont think many of the top times will ever be beaten so it would be nice to be able to look up the fastest laptime in the last month or this patch version

If you could get the most recent 1000 laptimes for a car and get median or average laptimes that would be super cool.

If you have ever played dota, a website like dotabuff is the pipe dream

Jonas Gulle
19-01-2018, 09:39
Hi, I started to make something similar to what you are asking about. It is a simple scraper for the hxxp://cars2-stats-steam.wmdportal.com/index.php site that convert the data into json-blobs.

Check out hxxp://github.com/jonasgulle/pcars2

sp3ctor
25-01-2018, 18:47
Yeah, I am also curious in how to get the raw data behind the leaderboard. I'd love to dump all that into a stats package and run some tests. Is there a way to just get the data in CSV?