VernoxVernax 4 Posted May 13, 2022 Share Posted May 13, 2022 (edited) 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 May 13, 2022 by VernoxVernax Link to comment Share on other sites More sharing options...
Luke 36879 Posted May 14, 2022 Share Posted May 14, 2022 Hi, are you authenticated as that user? You can't use your account to get a list of servers from someone else's. Link to comment Share on other sites More sharing options...
VernoxVernax 4 Posted May 30, 2022 Author Share Posted May 30, 2022 On 5/14/2022 at 6:28 PM, Luke said: Hi, are you authenticated as that user? You can't use your account to get a list of servers from someone else's. I wasn't. and I was also not able to find any button on here to close issues; then I kinda forgot about it. Sorry. Link to comment Share on other sites More sharing options...
Luke 36879 Posted May 30, 2022 Share Posted May 30, 2022 Are you all set now? Link to comment Share on other sites More sharing options...
VernoxVernax 4 Posted May 31, 2022 Author Share Posted May 31, 2022 (edited) 20 hours ago, Luke said: Are you all set now? Yes I am Thank you! Edited May 31, 2022 by VernoxVernax 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now