Skip to content
/ shpee Public
forked from nsiregar/shpee

Python Wrapper for Shopee Affiliate API

License

Notifications You must be signed in to change notification settings

IOANNB4R/shpee

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shpee

Python Wrapper for Shopee Affiliate API

Installation

Use the package manager pip to install pprof.

pip install shpee

Usage

# shopee_client.py

from shpee import ShopeeAffiliate


APP_ID = "12345"
APP_SECRET = "APPSECRET"

url = "https://shopee.co.id/some-long-url-from-shopee-product-page?params=with-tracking-params"
sub_ids = ["ProductName", "Twitter"]

client = ShopeeAffiliate(app_id=APP_ID, app_secret=APP_SECRET)
resp = client.shortlink(url, sub_ids)

It will return response class from httpx http client

License

MIT

About

Python Wrapper for Shopee Affiliate API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%