Skip to content
New issue

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

XML API Deprecated Being Used in Python SDK #203

Open
ethauber opened this issue Apr 7, 2022 · 2 comments
Open

XML API Deprecated Being Used in Python SDK #203

ethauber opened this issue Apr 7, 2022 · 2 comments
Assignees

Comments

@ethauber
Copy link

ethauber commented Apr 7, 2022

The Tokbox developer docs say that the XML API is deprecated here https://tokbox.com/developer/rest/#:~:text=This%20XML%20version%20of%20the%20API%20call%20is%20deprecated
Yet, I see it is still being used in the Python SDK here https://github.com/opentok/Opentok-Python-SDK/blob/v3.2.0/opentok/opentok.py#L417 as the default.
When will this be fixed?
Is there something that I may have misunderstood?

@ethauber
Copy link
Author

ethauber commented Apr 8, 2022

I also submitted this to customer support.
There was a question on if there is a specific issue.

Could you please let me know if you are facing any specific issue regarding Python SDK?

The specific issues are that we do not want to build on top of Vonage's deprecated API and that there are known vulnerabilities with XML APIs.
Also, we will have to redo, or implement twice, our current tests since the mocker that we use with requests has to supply XML responses instead of the usual JSON responses.

@maxkahan
Copy link
Contributor

maxkahan commented Oct 7, 2022

Hi @ethauber it appears the create_session method has not been updated for a couple of years. It could probably use an update, will discuss this internally and feed back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants