How to access/manage Actions on Google project via api - actions-on-google

I have some actions on google projects. I can modify them via the web console and the gactions CLI tool. But I found no resource on how to manage (list/modify/update) action projects via an API? Is this not possible?
I've found a service named Voiceflow, which is a tool for creating Alexa skills and Google Actions using a graphical UI. It requires users to authorize their Google account in order to access their Google Actions. Which API are they using? I've looked into Google's API Playground but found no similar API. But as they are using some API, I suppose it's possible to manage one's Google Actions via API. Any help would be appreciated. Thanks
EDIT: I have done some digging and found that I can request permission to access Actions using this url as OAuth scope (https://www.googleapis.com/auth/actions.builder). But I found no docs on how to actually view/edit the Actions.
Moreover, I've found another resource named Actions API. It's description says Google Actions API allows developer to register and manage their actions on Google Cloud Platform. But I see no guide on how to use it.

Related

Google plus API is shutdown. What to do in ionic 3 app?

I have an ionic v3 app and I have google plus login in it. I recently got a mail from google stating "Google+ API Shutdown"(refer here for more details). Google team has also said:
If you see API calls to people.get, these can be the result of using
the Google+ Sign-In feature in your application, which is now fully
deprecated and is being shut down. Developers should migrate from
the Google+ Sign-In feature to the more comprehensive Google Sign-in
authentication system.
You may see OAuth requests for plus.me, even
if your project is not requesting this scope directly. You only need
to remove such requests if your project is directly requesting this
scope.
I currently use'#ionic-native/google-plus' plugin.
Can someone let me know what should I do with the google plus API in case of an ionic v3 project ?
I've been told (secondhand) that although the plugin is named google-plus, it no longer uses the Google Plus APIs.

Can we create a google assistant Actions from API instead of google "gactions" CLI?

To create a converstaion with google assistant we need to create a action from "gactions" (https://developers.google.com/actions/tools/gactions-cli) but it is a manual process.
Can same thing be done using api? Does google provides any rest api or any nodejs module to do the same?

Can I access the active version on SAP Cloud Platform of HTML5 apps through a api?

I need to access the active version on SAP Cloud Platform of HTML5 apps through an api.
I know for the java apps you have the lifecycle api: doc
But you can't access HTML5 information with this API.
What I found is this service: https://account.hana.ondemand.com/ajax/getHtml5AppDetails/{subaccountName}/{appName}
This will return a JSON string with the required info, but I'm not authorized to access this page, although I have all the possible admin rights.
So I'm wondering If any of you has any idea to solve my issue, and other people's issues.
Well, we needed something similar and used this kinda hack to get the active versions via WebIde Api (need basic Auth to login) replace XXXX with your account
https://webide-XXXX.dispatcher.hana.ondemand.com/api/html5api/accounts/XXXXX/applications
You get back a json array with all your applications of that sub account, including active version and other interesting information
Hope it helps ;))
Regards Mathias
You could create a HTTP Proxy Servlet based on https://github.com/SAP/cloud-connectivityproxy that provides read only access to https://dispatcher.hanatrial.ondemand.com/hcproxy/b/api/accounts/<subaccount>/applications/<app> for your app.

Developer Access to Google Assistant Conversation History

I am developing a Google Assistant app for Google Home, and about to launch the app. I am wondering, once my app is live on the Google Assistant platform, whether I (as a developer) would have access to all of the conversation histories as users interact with my app.
If so, does Actions on Google / Google have some sort of interface to view / download the history? Or, do I have to log and capture the history myself? I thought the history will be really helpful for me to improve my app.
Many thanks!
It depends a bit on how you have built your Action.
If you have built it with one of the templates - then no, you don't have access to the conversations.
If you have built it with the Actions SDK or with Dialogflow, then you will have access to quite a bit of information that is delivered to your fulfillment webhook. If you have intents that do not send anything to your webhook - you will not get that information.
There are tools that help you examine conversation flow, see where users get stuck or fall out of the conversation, or how they're using your Action. Most of them have good integration with the Actions on Google libraries. I use a combination of Chatbase, Dashbot.io, and Google Analytics.

Google Webmaster Tools API: Downloading queries via OAUTH2

I'm trying to use Google's Webmaster Tools API to download a CSV file of recent search queries.
I know how to do that using their Python example at http://googlewebmastercentral.blogspot.com/2011/12/download-search-queries-data-using.html
But I want to use OAUTH2.
Here's the problem: The download url for CSV downloads is:
/webmasters/tools/downloads-list?hl=%s&siteUrl=%s
But the Google data API only lets me use OAUTH2 against:
/webmasters/tools/feeds/sites/
So the token I get when I authenticate doesn't provide access.
It SEEMS insane that they'd have some of their data available via OAUTH2 and some of it only using username/password.
Does anyone know a request URI I can use to download the query report via OAUTH2? Or is this API as nuts as it seems?
My $.02 would be "yes, it IS as nuts as it seems."
If you look at the Google APIs Console (https://code.google.com/apis/console) the Webmaster Tools API is conspicuously absent.
I attempted to go down the same road & use OATH2 for the GWT API & was not able to make it work. Using the 'basic authentication' was the only solution.
edit April 2015: basic authentication has been withdrawn by Google and no longer works
I just ran into this, I am shure it has to be possible with OAuth2, corresponding to this sentence:
Activate the Google Site Verification API in the Services pane of the Google APIs Console. (If it isn't listed in the Console, then skip this step.)
https://developers.google.com/site-verification/v1/getting_started