-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'Item' object has no attribute 'unlist' #27
Comments
Hi Dennis,
It seems like I have not add this function in py shopee yet. I will add
this ASAP.
Besides, thanks for your support for this project, I am glad that it would
help you.
Best regards
Jim
Dennis Chan <[email protected]>於 2020年4月11日 週六,下午3:13寫道:
… I've been trying out this pyshopee lib that works great so far. It works
well for me the retrieve listing from shopee.
When I want to try the unlist function, I stucked here, it looks with the
following error.
-- my code --
client = pyshopee.Client( shopid, partnerid, API_key )
unlist_items = "{ [ "item_id" : 1679064428, "unlist" : True ] }"
client.item.unlist(unlist_items)
------------------------------
AttributeError: 'Item' object has no attribute 'unlist'
Could you provide a sample how this part should be coded or whatever?
Many thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#27>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIFXTJMN4QEAMNS2HLMXJLRMAKAZANCNFSM4MF4RCRA>
.
|
Jim, thanks for your effort. your lib is very reliable and simple to use. |
Hi Dennis,
After I search the doc, the unlist function is *unlist_item* not* unlist*.
So, you can try the following method below.
1234client = pyshopee.Client( shopid, partnerid, API_key )unlist_items
= "{ [ "item_id" : 1679064428, "unlist" : True ]
}"client.item.unlist_item(unlist_items)
Best
Jim
Dennis Chan <[email protected]> 於 2020年4月11日 週六 下午6:50寫道:
… Jim, thanks for your effort. your lib is very reliable and simple to use.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIFXTNOI7MPRK43XMVY7RTRMBDP3ANCNFSM4MF4RCRA>
.
|
Jim, Rgds, |
I've been trying out this pyshopee lib that works great so far. It works well for me the retrieve listing from shopee.
When I want to try the unlist function, I stucked here, it looks with the following error.
-- my code --
client = pyshopee.Client( shopid, partnerid, API_key )
unlist_items = "{ [ "item_id" : 1679064428, "unlist" : True ] }"
client.item.unlist(unlist_items)
AttributeError: 'Item' object has no attribute 'unlist'
Could you provide a sample how this part should be coded or whatever?
Many thanks.
The text was updated successfully, but these errors were encountered: