8 years agoRemove prettyprinting unless DEBUG is set in env and add a new
Ross Jones []
Remove prettyprinting unless DEBUG is set in env and add a new
test for actually making the calls.

8 years agoAdds new columns to the table to store the relevant organisation, but also
Ross Jones []
Adds new columns to the table to store the relevant organisation, but also
allows for the metric/value to be stored so that it can eventually contain
different metrics than the default

8 years agoPackages up the data from Analytics.
Ross Jones []
Packages up the data from Analytics.

- Makes sure we get the right account by requiring a new googleanalytics.account
config option which will be used to look up the correct account details.

- Changed the model to use the sqlalchemy orm and made sure it does the updates correctly.

- Still need to collect further info (such as the group details)

8 years agoflake8
Ross Jones []
flake8

8 years agoCommented the code in ga_auth
Ross Jones []
Commented the code in ga_auth

8 years agoMinor documentation update
Ross Jones []
Minor documentation update

8 years agoMinor RST error
Ross Jones []
Minor RST error

8 years agoImplement oauth2 for accessing google analytics
Ross Jones []
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

8 years agoInitial iteration
David Read []
Initial iteration

8 years agoInitial commit
David Read []
Initial commit