def __init__(self, app_id, app_secret, api_baseurl, syw_baseurl, app_baseurl): ShoppingAPI.__init__(self) self.app_id = app_id self.app_secret = app_secret self.api_baseurl = api_baseurl self.syw_baseurl = syw_baseurl self.app_baseurl = app_baseurl self.session = SYWAPI_Session(app_id, app_secret, api_baseurl, syw_baseurl, app_baseurl) self.user_id=5565403 self.token = self.session.get_offline_token(self.user_id)
def __init__(self, app_id, app_secret, api_baseurl, syw_baseurl, app_baseurl): ShoppingAPI.__init__(self) self.app_id = app_id self.app_secret = app_secret self.api_baseurl = api_baseurl self.syw_baseurl = syw_baseurl self.app_baseurl = app_baseurl self.session = SYWAPI_Session(app_id, app_secret, api_baseurl, syw_baseurl, app_baseurl) self.user_id = 5565403 self.token = self.session.get_offline_token(self.user_id)
def __init__(self, appid): ShoppingAPI.__init__(self) self._api = ebay.finding(appid=appid)