polyphony-chat / chorus

A Rust library for interacting with multiple Polyphony- and Spacebar-Compatible instances at once.
https://crates.io/crates/chorus
Mozilla Public License 2.0
16 stars 7 forks source link

Get User Recent Games #538

Closed kozabrada123 closed 1 month ago

kozabrada123 commented 1 month ago

https://docs.discord.sex/resources/user#get-user-recent-games

Part of #189

bitfl0wer commented 1 month ago

Is this a v10 endpoint, or still part of v9?

kozabrada123 commented 1 month ago

This is.. interesting

both /api/v9/users/{id}/profile/recent-games and /api/v10/users/{id}/profile/recent-games return a 404, meanwhile /api/v9/users/{id}/profile and /api/v10/users/{id}/profile work with no other changes other than the url

kozabrada123 commented 1 month ago

It is true that the profile I was testing on had no recent games, but I'd expect it to return an empty array instead of a 404