<s> """<STR_LIT>""" <EOL> __author__ = '<STR_LIT>' <EOL> import atom . data <EOL> import gdata . client <EOL> import gdata . analytics . data <EOL> import gdata . gauth <EOL> class AnalyticsClient ( gdata . client . GDClient ) : <EOL> """<STR_LIT>""" <EOL> api_version = '<STR_LIT:2>' <EOL> auth_service = '<STR_LIT>' <EOL> auth_scopes = gdata . gauth . AUTH_SCOPES [ '<STR_LIT>' ] <EOL> account_type = '<STR_LIT>' <EOL> ssl = True <EOL> def __init__ ( self , auth_token = None , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> gdata . client . GDClient . __init__ ( self , auth_token = auth_token , ** kwargs ) <EOL> def get_account_feed ( self , feed_uri , auth_token = None , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return self . get_feed ( feed_uri , <EOL> desired_class = gdata . analytics . data . AccountFeed , <EOL> auth_token = auth_token , <EOL> ** kwargs ) <EOL> GetAccountFeed = get_account_feed <EOL> def get_data_feed ( self , feed_uri , auth_token = None , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return self . get_feed ( feed_uri , <EOL> desired_class = gdata . analytics . data . DataFeed , <EOL> auth_token = auth_token , <EOL> ** kwargs ) <EOL> GetDataFeed = get_data_feed <EOL> def get_management_feed ( self , feed_uri , auth_token = None , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return self . get_feed ( feed_uri , <EOL> desired_class = gdata . analytics . data . ManagementFeed , <EOL> auth_token = auth_token , <EOL> ** kwargs ) <EOL> GetMgmtFeed = GetManagementFeed = get_management_feed <EOL> class AnalyticsBaseQuery ( gdata . client . GDQuery ) : <EOL> """<STR_LIT>""" <EOL> scheme = '<STR_LIT>' <EOL> host = '<STR_LIT>' <EOL> class AccountFeedQuery ( AnalyticsBaseQuery ) : <EOL> """<STR_LIT>""" <EOL> path = '<STR_LIT>' <EOL> def __init__ ( self , query = { } , ** kwargs ) : <EOL> self . query = query <EOL> gdata . client . GDQuery ( self , ** kwargs ) <EOL> class DataFeedQuery ( AnalyticsBaseQuery ) : <EOL> """<STR_LIT>""" <EOL> path = '<STR_LIT>' <EOL> def __init__ ( self , query = { } , ** kwargs ) : <EOL> self . query = query <EOL> gdata . client . GDQuery ( self , ** kwargs ) <EOL> class AccountQuery ( AnalyticsBaseQuery ) : <EOL> """<STR_LIT>""" <EOL> path = '<STR_LIT>' <EOL> def __init__ ( self , query = { } , ** kwargs ) : <EOL> self . query = query <EOL> gdata . client . GDQuery ( self , ** kwargs ) <EOL> class WebPropertyQuery ( AnalyticsBaseQuery ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , acct_id = '<STR_LIT>' , query = { } , ** kwargs ) : <EOL> self . acct_id = acct_id <EOL> self . query = query <EOL> gdata . client . GDQuery ( self , ** kwargs ) <EOL> @ property <EOL> def path ( self ) : <EOL> """<STR_LIT>""" <EOL> return ( '<STR_LIT>' % <EOL> self . acct_id ) <EOL> class ProfileQuery ( AnalyticsBaseQuery ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , acct_id = '<STR_LIT>' , web_prop_id = '<STR_LIT>' , query = { } , ** kwargs ) : <EOL> self . acct_id = acct_id <EOL> self . web_prop_id = web_prop_id <EOL> self . query = query <EOL> gdata . client . GDQuery ( self , ** kwargs ) <EOL> @ property <EOL> def path ( self ) : <EOL> """<STR_LIT>""" <EOL> return ( '<STR_LIT>' <EOL> '<STR_LIT>' % ( self . acct_id , self . web_prop_id ) ) <EOL> class GoalQuery ( AnalyticsBaseQuery ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , acct_id = '<STR_LIT>' , web_prop_id = '<STR_LIT>' , profile_id = '<STR_LIT>' , <EOL> query = { } , ** kwargs ) : <EOL> self . acct_id = acct_id <EOL> self . web_prop_id = web_prop_id <EOL> self . profile_id = profile_id <EOL> self . query = query or { } <EOL> gdata . client . GDQuery ( self , ** kwargs ) <EOL> @ property <EOL> def path ( self ) : <EOL> """<STR_LIT>""" <EOL> return ( '<STR_LIT>' <EOL> '<STR_LIT>' % ( self . acct_id , self . web_prop_id , <EOL> self . profile_id ) ) <EOL> class AdvSegQuery ( AnalyticsBaseQuery ) : <EOL> """<STR_LIT>""" <EOL> path = '<STR_LIT>' <EOL> def __init__ ( self , query = { } , ** kwargs ) : <EOL> self . query = query <EOL> gdata . client . GDQuery ( self , ** kwargs ) </s>
