Terrance/SkPy

Error 403 when search for contacts

Closed this issue · 4 comments

When using Skype.search("whatever"), the library responds with a 403 error from the following URL

403 response from GET https://skypegraph.skype.com/search/v1.1/namesearch/swx/', <Response [403]>)

MS changed the endpoints or the permisions? when i try to browse that URL, it shows that the site can´t be reached.

Looks like the new endpoint is https://skypegraph.skype.com/v2.0/search, which requires a few extra headers to accept the request (X-Skype-Client, X-SkypeGraphServiceSettings, X-ECS-ETag), but still throws a 403 when given the same auth as Skype for Web. Not immediately clear what the problem is.

I have the same error when trying to search for contacts using mobile number

Hi @Terrance - is it possible to push this change to PyPi?

Released in v0.10.6 (PyPI).