-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
7235d36
commit 3f270fd
Showing
14 changed files
with
324 additions
and
263 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
16 changes: 9 additions & 7 deletions
16
aliexpress_api/skd/api/rest/AliexpressAffiliateCategoryGetRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
''' | ||
""" | ||
Created by auto_sdk on 2020.03.09 | ||
''' | ||
""" | ||
from ..base import RestApi | ||
|
||
|
||
class AliexpressAffiliateCategoryGetRequest(RestApi): | ||
def __init__(self,domain='gw.api.taobao.com',port=80): | ||
RestApi.__init__(self,domain, port) | ||
self.app_signature = None | ||
def __init__(self, domain="api-sg.aliexpress.com", port=80): | ||
RestApi.__init__(self, domain, port) | ||
self.app_signature = None | ||
|
||
def getapiname(self): | ||
return 'aliexpress.affiliate.category.get' | ||
def getapiname(self): | ||
return "aliexpress.affiliate.category.get" |
18 changes: 10 additions & 8 deletions
18
aliexpress_api/skd/api/rest/AliexpressAffiliateFeaturedpromoGetRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
''' | ||
""" | ||
Created by auto_sdk on 2020.09.25 | ||
''' | ||
""" | ||
from ..base import RestApi | ||
|
||
|
||
class AliexpressAffiliateFeaturedpromoGetRequest(RestApi): | ||
def __init__(self,domain='gw.api.taobao.com',port=80): | ||
RestApi.__init__(self,domain, port) | ||
self.app_signature = None | ||
self.fields = None | ||
def __init__(self, domain="api-sg.aliexpress.com", port=80): | ||
RestApi.__init__(self, domain, port) | ||
self.app_signature = None | ||
self.fields = None | ||
|
||
def getapiname(self): | ||
return 'aliexpress.affiliate.featuredpromo.get' | ||
def getapiname(self): | ||
return "aliexpress.affiliate.featuredpromo.get" |
40 changes: 21 additions & 19 deletions
40
aliexpress_api/skd/api/rest/AliexpressAffiliateFeaturedpromoProductsGetRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
''' | ||
""" | ||
Created by auto_sdk on 2021.05.17 | ||
''' | ||
""" | ||
from ..base import RestApi | ||
|
||
|
||
class AliexpressAffiliateFeaturedpromoProductsGetRequest(RestApi): | ||
def __init__(self,domain='gw.api.taobao.com',port=80): | ||
RestApi.__init__(self,domain, port) | ||
self.app_signature = None | ||
self.category_id = None | ||
self.country = None | ||
self.fields = None | ||
self.page_no = None | ||
self.page_size = None | ||
self.promotion_end_time = None | ||
self.promotion_name = None | ||
self.promotion_start_time = None | ||
self.sort = None | ||
self.target_currency = None | ||
self.target_language = None | ||
self.tracking_id = None | ||
def __init__(self, domain="api-sg.aliexpress.com", port=80): | ||
RestApi.__init__(self, domain, port) | ||
self.app_signature = None | ||
self.category_id = None | ||
self.country = None | ||
self.fields = None | ||
self.page_no = None | ||
self.page_size = None | ||
self.promotion_end_time = None | ||
self.promotion_name = None | ||
self.promotion_start_time = None | ||
self.sort = None | ||
self.target_currency = None | ||
self.target_language = None | ||
self.tracking_id = None | ||
|
||
def getapiname(self): | ||
return 'aliexpress.affiliate.featuredpromo.products.get' | ||
def getapiname(self): | ||
return "aliexpress.affiliate.featuredpromo.products.get" |
34 changes: 18 additions & 16 deletions
34
aliexpress_api/skd/api/rest/AliexpressAffiliateHotproductDownloadRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
''' | ||
""" | ||
Created by auto_sdk on 2021.05.12 | ||
''' | ||
""" | ||
from ..base import RestApi | ||
|
||
|
||
class AliexpressAffiliateHotproductDownloadRequest(RestApi): | ||
def __init__(self,domain='gw.api.taobao.com',port=80): | ||
RestApi.__init__(self,domain, port) | ||
self.app_signature = None | ||
self.category_id = None | ||
self.country = None | ||
self.fields = None | ||
self.locale_site = None | ||
self.page_no = None | ||
self.page_size = None | ||
self.target_currency = None | ||
self.target_language = None | ||
self.tracking_id = None | ||
def __init__(self, domain="api-sg.aliexpress.com", port=80): | ||
RestApi.__init__(self, domain, port) | ||
self.app_signature = None | ||
self.category_id = None | ||
self.country = None | ||
self.fields = None | ||
self.locale_site = None | ||
self.page_no = None | ||
self.page_size = None | ||
self.target_currency = None | ||
self.target_language = None | ||
self.tracking_id = None | ||
|
||
def getapiname(self): | ||
return 'aliexpress.affiliate.hotproduct.download' | ||
def getapiname(self): | ||
return "aliexpress.affiliate.hotproduct.download" |
44 changes: 23 additions & 21 deletions
44
aliexpress_api/skd/api/rest/AliexpressAffiliateHotproductQueryRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
''' | ||
""" | ||
Created by auto_sdk on 2021.05.20 | ||
''' | ||
""" | ||
from ..base import RestApi | ||
|
||
|
||
class AliexpressAffiliateHotproductQueryRequest(RestApi): | ||
def __init__(self,domain='gw.api.taobao.com',port=80): | ||
RestApi.__init__(self,domain, port) | ||
self.app_signature = None | ||
self.category_ids = None | ||
self.delivery_days = None | ||
self.fields = None | ||
self.keywords = None | ||
self.max_sale_price = None | ||
self.min_sale_price = None | ||
self.page_no = None | ||
self.page_size = None | ||
self.platform_product_type = None | ||
self.ship_to_country = None | ||
self.sort = None | ||
self.target_currency = None | ||
self.target_language = None | ||
self.tracking_id = None | ||
def __init__(self, domain="api-sg.aliexpress.com", port=80): | ||
RestApi.__init__(self, domain, port) | ||
self.app_signature = None | ||
self.category_ids = None | ||
self.delivery_days = None | ||
self.fields = None | ||
self.keywords = None | ||
self.max_sale_price = None | ||
self.min_sale_price = None | ||
self.page_no = None | ||
self.page_size = None | ||
self.platform_product_type = None | ||
self.ship_to_country = None | ||
self.sort = None | ||
self.target_currency = None | ||
self.target_language = None | ||
self.tracking_id = None | ||
|
||
def getapiname(self): | ||
return 'aliexpress.affiliate.hotproduct.query' | ||
def getapiname(self): | ||
return "aliexpress.affiliate.hotproduct.query" |
22 changes: 12 additions & 10 deletions
22
aliexpress_api/skd/api/rest/AliexpressAffiliateLinkGenerateRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
''' | ||
""" | ||
Created by auto_sdk on 2020.03.09 | ||
''' | ||
""" | ||
from ..base import RestApi | ||
|
||
|
||
class AliexpressAffiliateLinkGenerateRequest(RestApi): | ||
def __init__(self,domain='gw.api.taobao.com',port=80): | ||
RestApi.__init__(self,domain, port) | ||
self.app_signature = None | ||
self.promotion_link_type = None | ||
self.source_values = None | ||
self.tracking_id = None | ||
def __init__(self, domain="api-sg.aliexpress.com", port=80): | ||
RestApi.__init__(self, domain, port) | ||
self.app_signature = None | ||
self.promotion_link_type = None | ||
self.source_values = None | ||
self.tracking_id = None | ||
|
||
def getapiname(self): | ||
return 'aliexpress.affiliate.link.generate' | ||
def getapiname(self): | ||
return "aliexpress.affiliate.link.generate" |
20 changes: 11 additions & 9 deletions
20
aliexpress_api/skd/api/rest/AliexpressAffiliateOrderGetRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
''' | ||
""" | ||
Created by auto_sdk on 2021.03.05 | ||
''' | ||
""" | ||
from ..base import RestApi | ||
|
||
|
||
class AliexpressAffiliateOrderGetRequest(RestApi): | ||
def __init__(self,domain='gw.api.taobao.com',port=80): | ||
RestApi.__init__(self,domain, port) | ||
self.app_signature = None | ||
self.fields = None | ||
self.order_ids = None | ||
def __init__(self, domain="api-sg.aliexpress.com", port=80): | ||
RestApi.__init__(self, domain, port) | ||
self.app_signature = None | ||
self.fields = None | ||
self.order_ids = None | ||
|
||
def getapiname(self): | ||
return 'aliexpress.affiliate.order.get' | ||
def getapiname(self): | ||
return "aliexpress.affiliate.order.get" |
30 changes: 16 additions & 14 deletions
30
aliexpress_api/skd/api/rest/AliexpressAffiliateOrderListRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
''' | ||
""" | ||
Created by auto_sdk on 2021.06.02 | ||
''' | ||
""" | ||
from ..base import RestApi | ||
|
||
|
||
class AliexpressAffiliateOrderListRequest(RestApi): | ||
def __init__(self,domain='gw.api.taobao.com',port=80): | ||
RestApi.__init__(self,domain, port) | ||
self.app_signature = None | ||
self.end_time = None | ||
self.fields = None | ||
self.locale_site = None | ||
self.page_no = None | ||
self.page_size = None | ||
self.start_time = None | ||
self.status = None | ||
def __init__(self, domain="api-sg.aliexpress.com", port=80): | ||
RestApi.__init__(self, domain, port) | ||
self.app_signature = None | ||
self.end_time = None | ||
self.fields = None | ||
self.locale_site = None | ||
self.page_no = None | ||
self.page_size = None | ||
self.start_time = None | ||
self.status = None | ||
|
||
def getapiname(self): | ||
return 'aliexpress.affiliate.order.list' | ||
def getapiname(self): | ||
return "aliexpress.affiliate.order.list" |
28 changes: 15 additions & 13 deletions
28
aliexpress_api/skd/api/rest/AliexpressAffiliateOrderListbyindexRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
''' | ||
""" | ||
Created by auto_sdk on 2021.05.10 | ||
''' | ||
""" | ||
from ..base import RestApi | ||
|
||
|
||
class AliexpressAffiliateOrderListbyindexRequest(RestApi): | ||
def __init__(self,domain='gw.api.taobao.com',port=80): | ||
RestApi.__init__(self,domain, port) | ||
self.app_signature = None | ||
self.end_time = None | ||
self.fields = None | ||
self.page_size = None | ||
self.start_query_index_id = None | ||
self.start_time = None | ||
self.status = None | ||
def __init__(self, domain="api-sg.aliexpress.com", port=80): | ||
RestApi.__init__(self, domain, port) | ||
self.app_signature = None | ||
self.end_time = None | ||
self.fields = None | ||
self.page_size = None | ||
self.start_query_index_id = None | ||
self.start_time = None | ||
self.status = None | ||
|
||
def getapiname(self): | ||
return 'aliexpress.affiliate.order.listbyindex' | ||
def getapiname(self): | ||
return "aliexpress.affiliate.order.listbyindex" |
44 changes: 23 additions & 21 deletions
44
aliexpress_api/skd/api/rest/AliexpressAffiliateProductQueryRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
''' | ||
""" | ||
Created by auto_sdk on 2021.05.20 | ||
''' | ||
""" | ||
from ..base import RestApi | ||
|
||
|
||
class AliexpressAffiliateProductQueryRequest(RestApi): | ||
def __init__(self,domain='gw.api.taobao.com',port=80): | ||
RestApi.__init__(self,domain, port) | ||
self.app_signature = None | ||
self.category_ids = None | ||
self.delivery_days = None | ||
self.fields = None | ||
self.keywords = None | ||
self.max_sale_price = None | ||
self.min_sale_price = None | ||
self.page_no = None | ||
self.page_size = None | ||
self.platform_product_type = None | ||
self.ship_to_country = None | ||
self.sort = None | ||
self.target_currency = None | ||
self.target_language = None | ||
self.tracking_id = None | ||
def __init__(self, domain="api-sg.aliexpress.com", port=80): | ||
RestApi.__init__(self, domain, port) | ||
self.app_signature = None | ||
self.category_ids = None | ||
self.delivery_days = None | ||
self.fields = None | ||
self.keywords = None | ||
self.max_sale_price = None | ||
self.min_sale_price = None | ||
self.page_no = None | ||
self.page_size = None | ||
self.platform_product_type = None | ||
self.ship_to_country = None | ||
self.sort = None | ||
self.target_currency = None | ||
self.target_language = None | ||
self.tracking_id = None | ||
|
||
def getapiname(self): | ||
return 'aliexpress.affiliate.product.query' | ||
def getapiname(self): | ||
return "aliexpress.affiliate.product.query" |
42 changes: 22 additions & 20 deletions
42
aliexpress_api/skd/api/rest/AliexpressAffiliateProductSmartmatchRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
''' | ||
""" | ||
Created by auto_sdk on 2021.05.17 | ||
''' | ||
""" | ||
from ..base import RestApi | ||
|
||
|
||
class AliexpressAffiliateProductSmartmatchRequest(RestApi): | ||
def __init__(self,domain='gw.api.taobao.com',port=80): | ||
RestApi.__init__(self,domain, port) | ||
self.app = None | ||
self.app_signature = None | ||
self.country = None | ||
self.device = None | ||
self.device_id = None | ||
self.fields = None | ||
self.keywords = None | ||
self.page_no = None | ||
self.product_id = None | ||
self.site = None | ||
self.target_currency = None | ||
self.target_language = None | ||
self.tracking_id = None | ||
self.user = None | ||
def __init__(self, domain="api-sg.aliexpress.com", port=80): | ||
RestApi.__init__(self, domain, port) | ||
self.app = None | ||
self.app_signature = None | ||
self.country = None | ||
self.device = None | ||
self.device_id = None | ||
self.fields = None | ||
self.keywords = None | ||
self.page_no = None | ||
self.product_id = None | ||
self.site = None | ||
self.target_currency = None | ||
self.target_language = None | ||
self.tracking_id = None | ||
self.user = None | ||
|
||
def getapiname(self): | ||
return 'aliexpress.affiliate.product.smartmatch' | ||
def getapiname(self): | ||
return "aliexpress.affiliate.product.smartmatch" |
28 changes: 15 additions & 13 deletions
28
aliexpress_api/skd/api/rest/AliexpressAffiliateProductdetailGetRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
''' | ||
""" | ||
Created by auto_sdk on 2021.05.17 | ||
''' | ||
""" | ||
from ..base import RestApi | ||
|
||
|
||
class AliexpressAffiliateProductdetailGetRequest(RestApi): | ||
def __init__(self,domain='gw.api.taobao.com',port=80): | ||
RestApi.__init__(self,domain, port) | ||
self.app_signature = None | ||
self.country = None | ||
self.fields = None | ||
self.product_ids = None | ||
self.target_currency = None | ||
self.target_language = None | ||
self.tracking_id = None | ||
def __init__(self, domain="api-sg.aliexpress.com", port=80): | ||
RestApi.__init__(self, domain, port) | ||
self.app_signature = None | ||
self.country = None | ||
self.fields = None | ||
self.product_ids = None | ||
self.target_currency = None | ||
self.target_language = None | ||
self.tracking_id = None | ||
|
||
def getapiname(self): | ||
return 'aliexpress.affiliate.productdetail.get' | ||
def getapiname(self): | ||
return "aliexpress.affiliate.productdetail.get" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters