I thought it would be cool to make a little script that would make an occurrence chart of how many times players play maps with an assumed bell curve trend ranging from maps you've played hundreds of times to those you aced (or gave up) on one try.
I have a script that returns an array of the number of plays and another for the number of beatmaps with that many plays, but I can only seem to get up to 51 beatmaps with a single request. I could send multiple requests, offset by the number of maps already received, but I can't imagine that would sit well with players who have tens of thousands of maps played. Anyone out there know how I can get all of a user's beatmaps (and plays on them) with a single request? I suspect the problem here is that I don't know how to use the oAuth token, but I can't be sure.
Here's the script I threw together (yes I'm aware the total map counter is broken in the paste and no my key is not in the paste)
I have a script that returns an array of the number of plays and another for the number of beatmaps with that many plays, but I can only seem to get up to 51 beatmaps with a single request. I could send multiple requests, offset by the number of maps already received, but I can't imagine that would sit well with players who have tens of thousands of maps played. Anyone out there know how I can get all of a user's beatmaps (and plays on them) with a single request? I suspect the problem here is that I don't know how to use the oAuth token, but I can't be sure.
Here's the script I threw together (yes I'm aware the total map counter is broken in the paste and no my key is not in the paste)