mirror of
https://github.com/tr4nt0r/python-xbox.git
synced 2026-04-24 23:36:08 +03:00
[PR #103] fix(people): correct friends list API endpoint for target users #103
Labels
No labels
👻 bug
🐣 good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/python-xbox#103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/tr4nt0r/python-xbox/pull/103
Author: @misiektoja
Created: 2/26/2026
Status: 🔄 Open
Base:
main← Head:friends-list-fix-v2📝 Commits (1)
66b9776fix(people): correct friends list API endpoint for target users📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/pythonxbox/api/provider/people/__init__.py(+1 -1)📄 Description
The
get_friends_by_xuidmethod was incorrectly routing to/users/me/people/xuids({xuid})/which only checks the relationship between the authenticated user and the target, returning empty data (0 friends) if they aren't mutual friends.This fixes the URL path to
/users/xuid({xuid})/people/friends/as in Xbox Android app, correctly utilizing Xbox Live Contract v7 to fetch a target user's friends list.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.