Implement oauth2 for accessing google analytics
author Ross Jones
()
committer Ross Jones
()
commit 1682c0e4872c15935aa1f41838e29b6d44168069
tree 45d1a784bbf55fa517afe706b7e27453802a5fcd
parent 29a4a6f8c85614958ab2114f9e99bd1ca2488983
Implement oauth2 for accessing google analytics

- Provided a command (getauthtoken) to go through the auth flow and have
the user's oauth credentials written to local disk.
- Make sure loadanalytics command uses the token file to authenticate on
the request
- Added documentation on how to get the credentials (from google) to allow
for the oauth2 flow.
- Added google-api-client to the requirements
.gitignore
README.rst
ckanext/ga_report/command.py
ckanext/ga_report/download_analytics.py
ckanext/ga_report/ga_auth.py [ new file with mode 0644 ]
credentials.json.template [ new file with mode 0644 ]
setup.py