accessing google analytics data through an api - api

Does anyone know if it is possible to access any of google analytics data from the API?
I am using eCommerce and wanted to be able to pull out the best selling products into a most wanted list.
Does anyone know if this is possible and how it would be done?

Yes, the API is documented here:
https://developers.google.com/analytics/
HelloWorld example here:
https://developers.google.com/analytics/solutions/articles/hello-analytics-api

Related

Is Google Fit API free?

We want to build a mobile app that will use Google Fit API, and I searched for some time, but I didn't understand if this API is free or not? Did anyone use this API? Does exist a free tier or can anyone provide a webpage where I can find prices for using this?
Thanks a lot!

Is it possible to retrieve event information from Fabric Api?

I need to show live information of specific (custom) event from Fabric api on the website. I'm not quite sure if that's possible, since I couldn't find something in docs or stackoverflow. Would really appreciate for advice
Thanks. Right now it's not possible to get API access to the realtime event stream in Fabric. Our tools are migrating into Firebase where we have realtime BigQuery access to Analytics data and 24 hour latent data for Crashlytics.

Live Google search results in my website - can it be done?

I'm playing around with ideas for my dissertation.
Is it possible to get live search results from Google in my own webpage?
I found this example of a live search (similar to Twitters) but it uses it's own database, has Google got an API that I can access to pull through search results in a similar manner?
Example: http://demos.9lessons.info/instantsearch.php
Please refer to custom search JSON api. You would need Search engine ID and API key which can be obtained from Google Cloud Console.

Google Analytics - Display event statistic publicly

I'm tracking downloads with Google Analytics trackEvent.
<a onclick="_gaq.push(['_trackEvent', 'Link', 'Download', 'Button']);" href="awesome.zip">Download now</a>
I would like to show the total downloads number publicly on my website. Is there a way to do that?
The short answer is yes, there is a way to show that on your website but it will require you to use the Google Analytics Core Reporting API: https://developers.google.com/analytics/devguides/reporting/core/v3/
I would provide a guide on how to do so but there are many ways and coding languages that you could use to do so and I am not sure what you are using!
You can find details of the Event Tracking Metrics/Dimensions here: https://developers.google.com/analytics/devguides/reporting/core/dimsmets/eventtracking

Replacement for Google AJAX search for Local

Since Google has deprecated their old web search API as of recently, what are people using to do customized local search? (i.e. search for "donut shop" near this latitude and longitude) Sticking with the deprecated API? Using another Google API? Another provider entirely?
Their suggestion to use their new Custom Search API doesn't seem useful for local. Maybe i'm missing something under my nose?
Google Places API is in developer preview.
I personally used Yahoo! Local Search
The Yelp API is pretty slick as well -- it'll give you local search capabilities and you can also get ratings information.
I've found this Quora link quite useful:
http://www.quora.com/What-is-the-best-alternative-to-Googles-local-search-API