Fork me on GitHub

python-degapi by suryasev

DEPRECATED Gdata-based Python library for the Google Analytics Data Export API

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.

Dependencies

Google gdata library: http://code.google.com/p/gdata-python-client/downloads/list

Examples

Vasco de Gapi comes with an online code generator tool that uses the deGAPI library. Try it out.

Install

# 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

License

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.

Authors

Sal Uryasev (sal.uryasev@juiceanalytics.com)

Contact

(sal.uryasev@juiceanalytics.com)

Download

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