python-shopee icon indicating copy to clipboard operation
python-shopee copied to clipboard

How to use the interface of SHOPEE 2.0

Open zhouzhao1999 opened this issue 3 years ago • 3 comments
trafficstars

After "pip install pyshopee" is installed, it is still the interface of API 1.0. If I want to use the interface of SHOPEE 2.0, what should I do? thank you very much!

zhouzhao1999 avatar May 02 '22 04:05 zhouzhao1999

Hi,

The api 2.0 is not currently available via pip install, but you can clone the project directly to your folder, and try import pyshopee2.

Best Jim

zhouzhao1999 @.***> 於 2022年5月2日 週一 上午6:53寫道:

After "pip install pyshopee" is installed, it is still the interface of API 1.0. If I want to use the interface of SHOPEE 2.0, what should I do? thank you very much!

— Reply to this email directly, view it on GitHub https://github.com/JimCurryWang/python-shopee/issues/49, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIFXTN7N4AQBCW45NYK56LVH5NT3ANCNFSM5U26MPKA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

JimCurryWang avatar May 03 '22 08:05 JimCurryWang

Hi, thanks for the great experience you have created pyshopee is giving me.

I need to install pyshopee2 and I'm looking into it, but I can't seem to figure out how to operate it. Could you please post an example like you did in v1? Or I would like a reference.

I need to know how to list one item in the store after authenticating my account.

Looking forward to your reply. Thanks.

himacri avatar Aug 02 '22 23:08 himacri

Try this...

import pyshopee2

client = pyshopee2.Client( shopid, partnerid, API_key )

JimCurryWang avatar Aug 15 '22 06:08 JimCurryWang