GithubHelp home page GithubHelp logo

gamgmt's Introduction

Want to work for Gamer Network? We are hiring!

Google Analytics Manager

A simple command line tool for managing google analytics account users.

Uses Google Analytics API v3.

Install

Pop it in a virtualenv for safety.

virtualenv env
env/bin/pip install -r requirements.txt

Generating OAuth Client ID

  • Register for Google Developers Console: https://console.developers.google.com/
  • Create a project
  • Go to APIs & Auth
  • Enable Google Analytics API v3.
  • Go to Credentials -> Create Credentials
    • Choose "OAuth Client ID"
    • Choose "Other"
  • Save the client ID and client Secret numbers
  • The Client ID will appear under the Credentials tab, on the right click to "download JSON"
  • Copy this file into your folder and fill in the path for the get_service() function

Usage

Examples: python gamgmt.py accounts list

  • list all your accounts

python gamgmt.py properties list

  • list all your properties

python gamgmt.py profiles list

  • list all your profiles

python gamgmt.py user list 1234

  • list all the users for specified account number 1234

python gamgmt.py user add 1234 [email protected] -perms READ_AND_ANALYZE EDIT COLLABORATE

python gamgmt.py user delete 1234 [email protected]

gamgmt's People

Contributors

fayebutler avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

gamgmt's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.