Module Expr Str Assign NameStore Str Import alias Import alias Import alias Import alias ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad NameLoad decorator_list Assign NameStore NameStore NameLoad decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Expr Str Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults Dict kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults Dict kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults Dict kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str Dict kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMod Str AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str Dict kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str Str Dict kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults Dict kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list
N/A N/A Streamlines requests to the Google Analytics APIs. N/A __author__ api.nickm@google.com (Nick Mihailovski) N/A atom.data N/A gdata.client N/A gdata.analytics.data N/A gdata.gauth AnalyticsClient N/A N/A N/A gdata client GDClient N/A N/A Client extension for the Google Analytics API service. N/A api_version 2 N/A auth_service analytics N/A auth_scopes N/A N/A N/A gdata gauth AUTH_SCOPES N/A analytics N/A account_type GOOGLE N/A ssl True __init__ N/A N/A self auth_token N/A None kwargs N/A N/A Initializes a new client for the Google Analytics Data Export API.

    Args:
      auth_token: gdata.gauth.ClientLoginToken, AuthSubToken, or
          OAuthToken (optional) Authorizes this client to edit the user's data.
      kwargs: The other parameters to pass to gdata.client.GDClient
          constructor.
     N/A N/A N/A N/A N/A gdata client GDClient __init__ self auth_token auth_token kwargs N/A get_account_feed N/A N/A self feed_uri auth_token N/A None kwargs N/A N/A Makes a request to the Analytics API Account Feed.

    Args:
      feed_uri: str or gdata.analytics.AccountFeedQuery The Analytics Account
          Feed uri to define what data to retrieve from the API. Can also be
          used with a gdata.analytics.AccountFeedQuery object.
     N/A N/A N/A self get_feed feed_uri desired_class N/A N/A N/A gdata analytics data AccountFeed auth_token auth_token kwargs N/A N/A GetAccountFeed get_account_feed get_data_feed N/A N/A self feed_uri auth_token N/A None kwargs N/A N/A Makes a request to the Analytics API Data Feed.

    Args:
      feed_uri: str or gdata.analytics.AccountFeedQuery The Analytics Data
          Feed uri to define what data to retrieve from the API. Can also be
          used with a gdata.analytics.AccountFeedQuery object.
     N/A N/A N/A self get_feed feed_uri desired_class N/A N/A N/A gdata analytics data DataFeed auth_token auth_token kwargs N/A N/A GetDataFeed get_data_feed get_management_feed N/A N/A self feed_uri auth_token N/A None kwargs N/A N/A Makes a request to the Google Analytics Management API.

    The Management API provides read-only access to configuration data for
    Google Analytics and supercedes the Data Export API Account Feed.
    The Management API supports 5 feeds: account, web property, profile,
    goal, advanced segment.

    You can access each feed through the respective management query class
    below. All requests return the same data object.

    Args:
      feed_uri: str or AccountQuery, WebPropertyQuery,
          ProfileQuery, GoalQuery, MgmtAdvSegFeedQuery
          The Management API Feed uri to define which feed to retrieve.
          Either use a string or one of the wrapper classes.
     N/A N/A N/A self get_feed feed_uri desired_class N/A N/A N/A gdata analytics data ManagementFeed auth_token auth_token kwargs N/A N/A GetMgmtFeed GetManagementFeed get_management_feed N/A AnalyticsBaseQuery N/A N/A N/A gdata client GDQuery N/A N/A Abstracts common configuration across all query objects.
  
  Attributes:
    scheme: string The default scheme. Should always be https.
    host: string The default host.
   N/A scheme https N/A host www.google.com N/A AccountFeedQuery N/A AnalyticsBaseQuery N/A N/A Account Feed query class to simplify constructing Account Feed Urls.

  To use this class, you can either pass a dict in the constructor that has
  all the data feed query parameters as keys:
     queryUrl = AccountFeedQuery({'max-results': '10000'})

  Alternatively you can add new parameters directly to the query object:
     queryUrl = AccountFeedQuery()
     queryUrl.query['max-results'] = '10000'

  Args:
    query: dict (optional) Contains all the GA Data Feed query parameters
        as keys.
   N/A path /analytics/feeds/accounts/default __init__ N/A N/A self query N/A N/A kwargs N/A N/A N/A self query query N/A N/A N/A N/A gdata client GDQuery self kwargs N/A N/A DataFeedQuery N/A AnalyticsBaseQuery N/A N/A Data Feed query class to simplify constructing Data Feed Urls.

  To use this class, you can either pass a dict in the constructor that has
  all the data feed query parameters as keys:
     queryUrl = DataFeedQuery({'start-date': '2008-10-01'})

  Alternatively you can add new parameters directly to the query object:
     queryUrl = DataFeedQuery()
     queryUrl.query['start-date'] = '2008-10-01'

  Args:
    query: dict (optional) Contains all the GA Data Feed query parameters
        as keys.
   N/A path /analytics/feeds/data __init__ N/A N/A self query N/A N/A kwargs N/A N/A N/A self query query N/A N/A N/A N/A gdata client GDQuery self kwargs N/A N/A AccountQuery N/A AnalyticsBaseQuery N/A N/A Management API Account Feed query class.

  Example Usage:
    queryUrl = AccountQuery()
    queryUrl = AccountQuery({'max-results': 100})

    queryUrl2 = AccountQuery()
    queryUrl2.query['max-results'] = 100

  Args:
    query: dict (optional) A dictionary of query parameters.
   N/A path /analytics/feeds/datasources/ga/accounts __init__ N/A N/A self query N/A N/A kwargs N/A N/A N/A self query query N/A N/A N/A N/A gdata client GDQuery self kwargs N/A N/A WebPropertyQuery N/A AnalyticsBaseQuery N/A N/A Management API Web Property Feed query class.

  Example Usage:
    queryUrl = WebPropertyQuery()
    queryUrl = WebPropertyQuery('123', {'max-results': 100})
    queryUrl = WebPropertyQuery(acct_id='123',
                                query={'max-results': 100})

    queryUrl2 = WebPropertyQuery()
    queryUrl2.acct_id = '1234'
    queryUrl2.query['max-results'] = 100

  Args:
    acct_id: string (optional) The account ID to filter results.
        Default is ~all.
    query: dict (optional) A dictionary of query parameters.
   __init__ N/A N/A self acct_id query N/A ~all N/A kwargs N/A N/A N/A self acct_id acct_id N/A N/A self query query N/A N/A N/A N/A gdata client GDQuery self kwargs N/A path N/A N/A self N/A N/A N/A Wrapper for path attribute. N/A N/A /analytics/feeds/datasources/ga/accounts/%s/webproperties N/A self acct_id N/A property N/A ProfileQuery N/A AnalyticsBaseQuery N/A N/A Management API Profile Feed query class.

  Example Usage:
    queryUrl = ProfileQuery()
    queryUrl = ProfileQuery('123', 'UA-123-1', {'max-results': 100})
    queryUrl = ProfileQuery(acct_id='123',
                            web_prop_id='UA-123-1',
                            query={'max-results': 100})

    queryUrl2 = ProfileQuery()
    queryUrl2.acct_id = '123'
    queryUrl2.web_prop_id = 'UA-123-1'
    queryUrl2.query['max-results'] = 100

  Args:
    acct_id: string (optional) The account ID to filter results.
        Default is ~all.
    web_prop_id: string (optional) The web property ID to filter results.
        Default is ~all.
    query: dict (optional) A dictionary of query parameters.
   __init__ N/A N/A self acct_id web_prop_id query N/A ~all ~all N/A kwargs N/A N/A N/A self acct_id acct_id N/A N/A self web_prop_id web_prop_id N/A N/A self query query N/A N/A N/A N/A gdata client GDQuery self kwargs N/A path N/A N/A self N/A N/A N/A Wrapper for path attribute. N/A N/A /analytics/feeds/datasources/ga/accounts/%s/webproperties/%s/profiles N/A N/A self acct_id N/A self web_prop_id N/A property N/A GoalQuery N/A AnalyticsBaseQuery N/A N/A Management API Goal Feed query class.

  Example Usage:
    queryUrl = GoalQuery()
    queryUrl = GoalQuery('123', 'UA-123-1', '555',
        {'max-results': 100})
    queryUrl = GoalQuery(acct_id='123',
                         web_prop_id='UA-123-1',
                         profile_id='555',
                         query={'max-results': 100})

    queryUrl2 = GoalQuery()
    queryUrl2.acct_id = '123'
    queryUrl2.web_prop_id = 'UA-123-1'
    queryUrl2.query['max-results'] = 100

  Args:
    acct_id: string (optional) The account ID to filter results.
        Default is ~all.
    web_prop_id: string (optional) The web property ID to filter results.
        Default is ~all.
    profile_id: string (optional) The profile ID to filter results.
        Default is ~all.
    query: dict (optional) A dictionary of query parameters.
   __init__ N/A N/A self acct_id web_prop_id profile_id query N/A ~all ~all ~all N/A kwargs N/A N/A N/A self acct_id acct_id N/A N/A self web_prop_id web_prop_id N/A N/A self profile_id profile_id N/A N/A self query N/A query N/A N/A N/A N/A N/A gdata client GDQuery self kwargs N/A path N/A N/A self N/A N/A N/A Wrapper for path attribute. N/A N/A /analytics/feeds/datasources/ga/accounts/%s/webproperties/%s/profiles/%s/goals N/A N/A self acct_id N/A self web_prop_id N/A self profile_id N/A property N/A AdvSegQuery N/A AnalyticsBaseQuery N/A N/A Management API Goal Feed query class.

  Example Usage:
    queryUrl = AdvSegQuery()
    queryUrl = AdvSegQuery({'max-results': 100})

    queryUrl1 = AdvSegQuery()
    queryUrl1.query['max-results'] = 100

  Args:
    query: dict (optional) A dictionary of query parameters.
   N/A path /analytics/feeds/datasources/ga/segments __init__ N/A N/A self query N/A N/A kwargs N/A N/A N/A self query query N/A N/A N/A N/A gdata client GDQuery self kwargs N/A N/A