Jump to content

List of servers for a user empty?


VernoxVernax
 Share

Recommended Posts

VernoxVernax

Hello, I'm currently trying to get the list of servers from a users account. Wiki

The authentication part is working successfully and I get the required user_id and access_token, but the following get request just doesn't reply anything.

header = {
  "X-Application": "blah/1",
  "X-Connect-UserToken": access_token
}

response = requests.get("https://connect.emby.media/service/servers?userId={}".format(user_id), headers=header)

print(response.status_code)
print(response.text)

>> 200
>> []

I tried switching user_id and access_token and other stuff as well, but I'm pretty sure everything is fine on my side.

Please, help. What am I missing?

Edited by VernoxVernax
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...