taobao-api

СПЛАЧЕНО
(Ким) muhaha2k | Оновлено לפני 5 ימים | eCommerce
Популярність

8.7 / 10

Затримки

3,431ms

Рівень обслуговування

93%

Health Check

100%

Повернутися до всіх обговорень

Can I use it for TMALL?

Rapid account: Lkefnm
lkefnm
לפני 3 חודשים

What should I use for the equivalent API if I can’t use it?

Rapid account: Dataapi
dataapi Commented לפני 3 חודשים

hi lkefnm,

it’s my pleasure 😃

Rapid account: Lkefnm
lkefnm Commented לפני 3 חודשים

hi dataapi ,

it is complete!
Thank you very much.

Rapid account: Dataapi
dataapi Commented לפני 3 חודשים

hi lkefnm,

Please visit this page first (https://rapidapi.com/dataapi/api/taobao-api2/pricing) and chose the plan you needed.

When you get your API key, you could put API key in the sample code below.


import requests

url = “https://taobao-api2.p.rapidapi.com/taobao/v1/item/712424796414/detail

headers = {
“X-RapidAPI-Key”: “{PUT YOUR RAPIDAPI KEY Here}”,
“X-RapidAPI-Host”: “taobao-api2.p.rapidapi.com
}

response = requests.get(url, headers=headers)

print(response.json())

Rapid account: Lkefnm
lkefnm Commented לפני 3 חודשים

Thank you for the prompt response, and I have confirmed that it works perfectly. I am a beginner in Python, and I am sorry for the presumptuous request, but could you please teach me as well? Is it possible to receive the results in an array and extract them by specifying a key?

Rapid account: Dataapi
dataapi Commented לפני 3 חודשים

hi sir.

Yes, you can use this API for tmall.

e.g.

You can get id (727880798260) from the tmall product url (https://detail.tmall.com/item.htm?id=727880798260) first and put this id to call my api.

curl --request GET
–url https://taobao-api2.p.rapidapi.com/taobao/v1/item/727880798260/detail
–header ‘X-RapidAPI-Host: taobao-api2.p.rapidapi.com
–header ‘X-RapidAPI-Key: {Your RapidAPI Key}’

if you have any questions, please kindly let me know.

Thanks.

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення