Feature Request: Endpoint to query multiple PGCRs at the same time
Heya,
I am running a service that provides my users with various stats. To do that I am saving their activity history (PGCRs) in a local database.
Workflow:
- call GetActivityHistory endpoint to get the PGCR instance ids the user was part of
- call the GetPGCR endpoint for every instance id
This leads to a lot of requests, as many user have played 10.000 activities or more. With a rate limit of 25/s, a single user requires over 6 minutes of api requests. This does not scale well with a lot of users.
Sadly the GetActivityHistory endpoint only returns the data for the user, and not all activity members (which is what I need), making the PGCR necessary.
The GetActivityHistory endpoint currently returns up to 250 activities in a single request. My suggestion is a new endpoint, or an update to the current GetPGCR endpoint. The endpoint would allow multiple PGCRs to be requested at once, for example by passing a comma separated list as a query argument, as is currently done with components in GetProfile calls.
This would drastically reduce the number of request required in my use case.