04/09/11: Top Content with Google Analytics Data Export API (Python)
Our target was to obtain a list of the Top Content (articles with the most quantity of pageviews)
I tested some code and these were the two that matched my expectatives
Google Analytics API HTTP Sample Code [ga-api-http-samples]
- auth_demo.py
Google Data APIs Python Client Library [gdata-python-client]
- account_feed_demo.py
- data_feed_demo.py
auth_demo.py uses auth.py for a very simple authentication method.
Then I Look through Common Queries. This was a good starting point for refining our query.
Some exploration on Dimension & Metric Reference and Filters was needed to accomplish our goal.
First query tests where done on Data Feed Query Explorer
I tested some code and these were the two that matched my expectatives
Google Analytics API HTTP Sample Code [ga-api-http-samples]
- auth_demo.py
Google Data APIs Python Client Library [gdata-python-client]
- account_feed_demo.py
- data_feed_demo.py
auth_demo.py uses auth.py for a very simple authentication method.
Then I Look through Common Queries. This was a good starting point for refining our query.
Some exploration on Dimension & Metric Reference and Filters was needed to accomplish our goal.
First query tests where done on Data Feed Query Explorer
Etiquetas : Python, Google Analytics API

Total de Votos: 2 - Rating: 5.00
Ingrese su correo electrónico para suscribirse a los comentarios de este artículo:









Asthma Treatment South Jersey escribió:
<a href= http://aacallergy.com//>Asthma Treatment South Jersey</a>