-
Notifications
You must be signed in to change notification settings - Fork 147
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
I don't know how to use this google-oauthlib-tool tool to get credentials.json #89
Comments
The instructions are listed in the README. You need to generate the
|
Hello, the credentials have been solved, I want to achieve the function is: develop an app like Google assistant assistant assistant to run on the smartphone, can this demo run directly on the smartphone, I do not know what this Google assistant has to do with Android things, I see the code about hardware LED lights, I do not understand what it means, Ma. Thank you for your help. |
Hello, why does the JSON I got have no credential field? |
You should read about Android Things and the platform differences between it and a standard mobile app. After generating credentials.json, you will get a file that contains a refresh token, among other fields, which will enable the application to authenticate to your account. |
@Fleker Hello, can you explain the specific problem? I don't know much about things, and it took me a long time to study the credentials. At present, it's rather urgent. I want to make demo run quickly to determine if it's the effect I want. Thank you. |
The Google Assistant API does not work anonymously. It needs to be authenticated with a user's account, which will provide personal answers to that user. You first need to download a client secret from the Actions console. The client secret JSON essentially contains a project username and password, which allows the After that, you need to give the project permission to use your user account. Once that happens, it will generate a credentials.json, which will allow the app to authenticate as you and programtically call the Google Assistant. |
I have been trying to get this to work for hours.
|
I installed the python environment and installed the google-oauthlib-tool package via the pip command. I don't know the python language. I don't know how to use this google-oauthlib-tool tool to get credentials.json. Can anyone tell me the specifics? How to use, my project is android, thank you very much
The text was updated successfully, but these errors were encountered: