client.Users.GetPersonalBests throws a serialization exception if you use any of the optional parameters
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Start in SpeedrunComSharp/Users/UsersClient.cs at UserClient.GetPersonalBests, linked from the issue, and inspect how optional parameters are appended to the request URL. Verify requests with optional parameters produce valid SRC API URLs and no longer turn a 404 response into a serialization exception.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- C#
- Stars
- 32
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LiveSplit/SpeedrunComSharp
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
LiveSplit/SpeedrunComSharp#22 · 2 comments · 8 reactions ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
LiveSplit/SpeedrunComSharp#21 · 2 comments ·
-
Obsolete Runs Open
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
LiveSplit/SpeedrunComSharp#9 · 5 comments · 1 reaction ·
All issues in LiveSplit/SpeedrunComSharp
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1425 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cake-build/cake#5024 ·
-
Frontend status/draft TechnicalDebt
Difficulty 2/5 1-2 days Newbie friendliness 75/100
Altinn/altinn-auth#4143 ·