We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Friend
KeyError
Describe the bug A recent change to the Roblox API has brokenBaseUser.get_friends due to the endpoint no longer returning most fields.
BaseUser.get_friends
To Reproduce
import asyncio from os import getenv from dotenv import load_dotenv from roblox import Client from roblox.users import User load_dotenv() client: Client = Client(getenv("COOKIE")) async def main(): user: User = await client.get_authenticated_user() print(await user.get_friends()) asyncio.run(main())
Expected behavior A list of Friend instances is printed to the console.
Desired solution BaseUser.get_friends() should return a PageIterator of BaseUser instances.
BaseUser.get_friends()
BaseUser
Along with this update a new endpoint has been added /v1/users/{userId}/friends/find which can be used to replace the old endpoint /v1/users/{userId}/friends.
Reasons to switch
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
A recent change to the Roblox API has broken
BaseUser.get_friends
due to the endpoint no longer returning most fields.To Reproduce
Expected behavior
A list of Friend instances is printed to the console.
Desired solution
BaseUser.get_friends()
should return a PageIterator ofBaseUser
instances.Along with this update a new endpoint has been added /v1/users/{userId}/friends/find which can be used to replace the old endpoint /v1/users/{userId}/friends.
Reasons to switch
The text was updated successfully, but these errors were encountered: