Python Unity Publisher API
 All Classes
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
AssetStoreAPI.AssetStoreClient Class Reference

Inherits object.

Public Member Functions

def __init__
 
def LoginWithToken
 
def Login
 
def Logout
 
def IsLoggedIn
 
def GetUserInfo
 
def GetPublisherInfo
 
def FetchApiKey
 
def FetchSalesPeriods
 
def FetchRevenue
 
def FetchPackages
 
def VerifyInvoice
 
def FetchSales
 
def FetchDownloads
 
def SetupCurlQuery
 
def GetSimpleData
 
def GetXUnitySessionCookie
 
def GetLoginToken
 
def AssertHttpCode
 
def AssertIsLoggedIn
 
def AssertIsNotLoggedIn
 

Public Attributes

 loginToken
 
 isLoggedIn
 
 cookies
 
 userInfoOverview
 
 publisherInfoOverview
 

Static Public Attributes

string LOGIN_URL = 'https://publisher.assetstore.unity3d.com/login'
 
string LOGOUT_URL = 'https://publisher.assetstore.unity3d.com/logout'
 
string SALES_URL = 'https://publisher.assetstore.unity3d.com/sales.html'
 
string USER_OVERVIEW_JSON_URL = 'https://publisher.assetstore.unity3d.com/api/user/overview.json'
 
string PUBLISHER_OVERVIEW_JSON_URL = 'https://publisher.assetstore.unity3d.com/api/publisher/overview.json'
 
string SALES_PERIODS_JSON_URL = 'https://publisher.assetstore.unity3d.com/api/publisher-info/months/{publisher_id}.json'
 
string SALES_JSON_URL = 'https://publisher.assetstore.unity3d.com/api/publisher-info/sales/{publisher_id}/{year}{month}.json'
 
string DOWNLOADS_JSON_URL = 'https://publisher.assetstore.unity3d.com/api/publisher-info/downloads/{publisher_id}/{year}{month}.json'
 
string INVOICE_VERIFY_JSON_URL = 'https://publisher.assetstore.unity3d.com/api/publisher-info/verify-invoice/{publisher_id}/{invoice_id}.json'
 
string REVENUE_JSON_URL = 'https://publisher.assetstore.unity3d.com/api/publisher-info/revenue/{publisher_id}.json'
 
string PACKAGES_JSON_URL = 'https://publisher.assetstore.unity3d.com/api/management/packages.json'
 
string API_KEY_JSON_URL = 'https://publisher.assetstore.unity3d.com/api/publisher-info/api-key/{publisher_id}.json'
 
string LOGIN_TOKEN = '26c4202eb475d02864b40827dfff11a14657aa41'
 
string USER_AGENT = 'Mozilla/5.0 (Windows NT 6.3; rv:27.0) Gecko/20100101 Firefox/27.0'
 

The documentation for this class was generated from the following file: