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

Analyze November 2020 API changes #23

Merged
merged 5 commits into from
Nov 11, 2020
Merged

Conversation

Boudewijn26
Copy link
Owner

No description provided.

@Boudewijn26 Boudewijn26 changed the title Create initial analysis Analyze November 2020 API changes Nov 10, 2020
@pndurette
Copy link

Awesome writeup of the current new situation, thanks for taking the time to do this and write it down!
I've only looked very briefly very myself (just at the requests using the Dev tools), but you're way ahead! 🙌

I know Google is all into gRPC and Protobufs and all that, I wonder how much we'll be able to 'defuscate'.

@Boudewijn26
Copy link
Owner Author

Well, surprisingly this doesn't appear to be gRPC, but some other RPC framework. At the very least it's not protobuf. Data sent is just form encoded and what's received is JSONish, some extra characters to prevent abuse. So thankfully it's all still readable. I'm not familiar with the human readable format (if any) of gRPC, so I'm not the best judge there.

@Boudewijn26 Boudewijn26 marked this pull request as ready for review November 11, 2020 18:31
@Boudewijn26 Boudewijn26 merged commit 8069867 into master Nov 11, 2020
@Boudewijn26 Boudewijn26 deleted the fix/november-changes branch November 11, 2020 18:33
@florabtw
Copy link

florabtw commented Dec 2, 2020

As a random JS developer who also had to deal with this change, I just wanted to say thanks for writing this doc @Boudewijn26 ! It made the debugging process way faster, and allowed me to rewrite the JS implementation (google-translate-tts) in one night. It looks like Google fully(?) made the switch to the new API within the last 24 hours or so, and I needed a fix.

@Boudewijn26
Copy link
Owner Author

You are very much welcome @ncpierson. Your case was the exact reason for this elaborate of a document. Well, that and the duplication of python implementations between gTTS and Home Assistant. Glad I could be of help.

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

Successfully merging this pull request may close these issues.

3 participants