-
Notifications
You must be signed in to change notification settings - Fork 0
brildum/python-linkshare
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A simple Python client to query Linkshare's Merchant API. Below is a simple example of querying affiliate links from a merchant. import linkshare API_KEY = 'your-api-key-here' MERCHANT_ID = 'merchant-id-here' api = linkshare.MerchantAPI(token=API_KEY, mid=MERCHANT_ID) for product in api.product_search(keyword='laptop cases'): print("Product Name: {0}".format(product.productname)) print("Product Price: {0}".format(product.price)) print("Product URL: {0}".format(product.linkurl)) print("")
About
Python client for LinkShare APIs
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published