I'm going to build IoT apps such as Android Assistant.
This app is running on IoT device powered by Android. You need to ensure that your Google Assistant API in Cloud console is enabled if you want to try this app.
$ python3 -m venv env
$ source env/bin/activate
(env) $ pip install --upgrade pip setuptools wheel
(env) $ pip install --upgrade google-auth-oauthlib[tool]
(env) $ google-oauthlib-tool --client-secrets path/to/credentials.json --credentials shared/src/main/res/raw/credentials.json
--scope https://www.googleapis.com/auth/assistant-sdk-prototype --save
Replace path/to/credentials.json with the path of the JSON file you downloaded.
This will open browser and ask you to authorize the application to make request to the assistant.
(env) $ gactions test --action_package actions.json --project project_id