当前位置:网站首页>Pinduoduo app product details interface to obtain activity_ ID value (pinduoduo activity_id interface)
Pinduoduo app product details interface to obtain activity_ ID value (pinduoduo activity_id interface)
2022-07-23 16:56:00 【wx_ one billion five hundred and ninety-seven million sixty-thr】
A lot of spelling APP Product details interface access activity_id value ( A lot of spelling activity_id Interface ) The interface connection is as follows :
1. Common parameters
| name | type | must | describe |
|---|---|---|---|
| key | String | yes | call key( Must be GET Way of splicing in URL in , Click to get request key and secret) |
| secret | String | yes | Call key |
| api_name | String | yes | API The name of the interface ( Included in the request address )[item_search,item_get,item_search_shop etc. ] |
| cache | String | no | [yes,no] Default yes, The cached data... Will be called , It's quite fast |
| result_type | String | no | [json,jsonu,xml,serialize,var_export] Return data format , The default is json,jsonu The output content can be read directly in Chinese |
| lang | String | no | [cn,en,ru] Translation language , Default cn Simplified Chinese |
| version | String | no | API edition |
2. Request parameters
Request parameters :num_iid=1620002566
Parameter description :num_iid: goods ID ;
3. Response parameter ( The data on the product details page can be obtained )



4. Request example (CURL、PHP 、PHPsdk 、Java 、C# 、Python…)
# coding:utf-8
"""
Compatible for python2.x and python3.x
requirement: pip install requests
"""
from __future__ import print_function
import requests
# Request example url The default request parameters have been changed URL code
url = "https://wx19970108018/pinduoduo/item_get/?key=< Your own apiKey>&secret=< Your own apiSecret>&num_iid=1620002566"
headers = {
"Accept-Encoding": "gzip",
"Connection": "close"
}
if __name__ == "__main__":
r = requests.get(url, headers=headers)
json_obj = r.json()
print(json_obj)边栏推荐
- 【31. 走迷宫(BFS)】
- COPU副主席刘澎:中国开源在局部领域已接近或达到世界先进水平
- 国内生产总值(GDP)数据可视化
- 浏览器同源策略
- Introduction to Huawei's new version of datacom certification
- ts封装localstorage类,存储信息
- Convolutional neural network model -- googlenet network structure and code implementation
- FreeRTOS个人笔记-创建/删除动态任务,启动调度器
- 微信小程序wx.hideLoading()会关闭toast提示框
- USB基础
猜你喜欢

Fastadmin, non super administrator, has been granted batch update permission, but it still shows no permission
![[note] linear regression](/img/71/7c1255e94f08cc0eab2ca32977f29d.png)
[note] linear regression

主成分分析(MATLAB)

Royal O'Brien, executive director of o3df: open source has no boundaries, and all shared sounds will become the actual direction

The protection circuit of IO port inside the single chip microcomputer and the electrical characteristics of IO port, and why is there a resistor in series between IO ports with different voltages?

Priyanka Sharma, general manager of CNCF Foundation: read CNCF operation mechanism

Convolutional neural network model -- googlenet network structure and code implementation

面试官:生成订单30分钟未支付,则自动取消,该怎么实现?

分类模型——逻辑回归、Fisher线性判别(SPSS)

百度编辑器上传图片设置自定义目录
随机推荐
Frequently asked questions about MySQL
go run,go build,go install有什么不同
Numpy 数据分析基础知识第一阶段(NumPy基础)
Surface family purchase reference
主成分分析(MATLAB)
移动、电信、联通:5G To B的花式解法
Advanced authentication of uni app [Day12]
Docker install redis
通用分页功能
Solve data functions should return an object (property "visible" must be accessed with "$data.visible")
General paging function
Case analysis of building campus information management system with low code
TS encapsulates the localstorage class to store information
Object.defineProperty方法、数据代理
pip报错Could not find a version that satisfies the...No matching distribution
银河证券网上开户,手机上开户安不安全
YOLOV7
UiPath Studio Enterprise 22.4 Crack
Browser homology policy
MATLAB基础