This is a python wrapper for the Google Analytics Data Export API. It extends the standard Google Data Export Library (gdata). It is deprecated, as this code has been merged into the python gdata library as of gdata version 1.3.2.
Google gdata library: http://code.google.com/p/gdata-python-client/downloads/list
Vasco de Gapi comes with an online code generator tool that uses the deGAPI library. Try it out.
# download and unpack the gdata from google
wget http://gdata-python-client.googlecode.com/files/gdata-1.3.0.tar.gz
tar xvfz gdata-1.3.0.tar.gz
# git clone this repository into the gdata installation folder
cd gdata-1.3.0/src/gdata/
git clone git://github.com/suryasev/python-degapi.git analytics
# add the 'gdata.analytics' package to setup.py
cd ../..
sed "s/'gdata.base'/'gdata.base', 'gdata.analytics'/g" setup.py > setup_analytics.py
sudo python setup_analytics.py install
Copyright (c) 2009 Juice Inc.
Derived from code with Copyright (c) 2006 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Sal Uryasev (sal.uryasev@juiceanalytics.com)
(sal.uryasev@juiceanalytics.com)
You can download this project in either zip or tar formats.
You can also clone the project with Git by running:
$ git clone git://github.com/suryasev/python-degapi