Using Google Prediction API outside Google App Engine? - api

I tried to search for algorithms about predicting future trends and I found Google Prediction API a good fit for me. I wanted to use it in my project but I can't find any useful information about their RESTful API and their examples are for Google App Engine only.
Can the Google Prediction API be used outside App Engine so that I can use it in my project?

Its not clear what resources you're looking at, but https://developers.google.com/prediction/ has details about the prediction service in general, and https://developers.google.com/prediction/docs/reference/v1.5/ has the more specific api details you're seeking.
The prediction API does not require the use of app engine.

Related

Custom Google Ads UI Using API

I want to build a simple UI that surfaces a subset of the functionality of Google Ads UI by using the Google Ads API. Is there an example that shows how this can be done?
I believe there is no such thing, however there is a lot of examples on HOW to use the Google Ads API, and as a developer it's up to you how you want to turn that into a UI.
After all, WHAT you use the API for is entirely up to you, i.e. it is your design. Making the UI is a separate task from accessing the API, so a tutorial on how to design a UI is separate from how to access the API.
You can read about the Google Ads API here, and it's littered with examples. Warning, it has a pretty high technical level and just getting OAuth setup can prove to be a major hassle. Good Luck.
enter link description here

How to build Google Analytics 'collect' like api using Google Cloud services

I'm trying to build a data collection web endpoint.The Use case is similar to Google Analytics collect API. I want to add this endpoint(GET method) to all pages on the website and on-page load collect page info through this API.
Actually I'm thinking of doing this by using Google Cloud services like Endpoints, BQ(for storing the data).. I don't want to host it in any dedicated servers. Otherwise, I will be end up doing a lot for managing/monitoring the service.
Please suggest me how do I achieve this with Google Cloud Service? OR direct me to right direction if my idea is wrong
I suggest focussing on deciding where you want to code to run. There are several GCP options that don't require dedicated servers:
Google App Engine
Cloud Functions/Firebase Functions
Cloud Run (new!)
Look here to see which support Cloud Endpoints.
All of these products can support running code that takes the data from the request and sends it to the BigQuery API.
There are various ways of achieving what you want. David's answer is absolutely valid, but I would like to introduce Stackdriver Custom Metrics to the discussion.
Custom metrics are similar to regular Stackdriver Monitoring metrics, but you create your own time series (Stackdriver lingo described here) to keep track of whatever you want and clients can sent in their data through an API.
You could achieve the same thing with a compute solution (Google Cloud Functions for example) and a database (Google BigTable for example) and writing your own logic.. but Custom Metrics is an already built solution that includes dashboards and alerting policies while being a more managed solution.

Is google custom search api gets results as similar to google assistant?

I have question regarding Google Custom Search API, is that works similar such as providing results as results provided from Google Assistant ?
our requirement is get result for user query and result should be content rather than web URL's/ links which Google Custom Search API is resulting.
Can you please suggest whether Google Custom Search API will work in getting results such as getting results from Google assistant ?
we have seen "This API brings to you the same Machine Learning technology that both powers Google’s ability to find specific answers to user questions in Google search and is the language understanding system behind the Google Assistant."
Do we get any code samples / API to utilize above system build which is used by the Google Assistant ?

How to improve accuracy of transcripts from google cloud speech API

I am working on a project where I need to do a search in my website using Speech to text. I am using google cloud speech API synchronous REST API.
I am obtaining the audio from the browser with the help of WebRTC getUserMedia() library.
My current configuration for recording the audio is:
Linear 16, 16 bit mono channel, 48KHz.
I have also added relevant phrase hints: Acronyms, frequent words etc.
The issue I am facing is that, the accuracy in Google Demo is far better than the results I am getting in my application.
Here : https://cloud.google.com/speech/

Does Hammock(C#) rest framework support "Batch Requests" feature provided by Facebook Graph API?

I want to use a framework(C#) for Facebook Graph API, and Hammock is one option.
Can someone please suggest me a good library which supports all features of Graph API including batch request feature.
I would use the Facebook C# SDK, which supports batched requests.