SpeedrunComSharp icon indicating copy to clipboard operation
SpeedrunComSharp copied to clipboard

client.Users.GetPersonalBests throws a serialization exception if you use any of the optional parameters

Open natronium opened this issue 3 years ago • 0 comments

i think it's constructing the URL incorrectly, getting a 404, and then failing to serialize that 404 json into an actual C# object

it looks like the code for UserClient.GetPersonalBests just concatenates the query parameters to the URL string without adding the necessary ? and &s, which doesn't generate a valid URL for the SRC API

natronium avatar Feb 16 '23 00:02 natronium