You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this code, i can get user name, user level, but can't get user's friends list, getting error steamapi.errors.APIUnauthorized: This API is not accessible to you.
import steamapi
from steamapi import core, user
steamapi.core.APIConnection(api_key="<api key>", validate_key=True)
print(steamapi.user.SteamUser(<steamid>)
steam_user = user.SteamUser(userid=<steamid>)
print(steam_user.level)
print(steam_user.friends)
The text was updated successfully, but these errors were encountered:
Using this code, i can get user name, user level, but can't get user's friends list, getting error
steamapi.errors.APIUnauthorized: This API is not accessible to you.
The text was updated successfully, but these errors were encountered: