Skip to content

Instantly share code, notes, and snippets.

View luzihang123's full-sized avatar
🎯
疯狂撸码

clark luzihang123

🎯
疯狂撸码
  • Shanghai
View GitHub Profile
@luzihang123
luzihang123 / jd_union_api.py
Created February 23, 2020 03:32 — forked from socrateslee/jd_union_api.py
京东联盟开放平台API的一个通用的Client封装
'''
京东联盟开放平台API的一个通用的Client封装。
京东联盟开放平台的文档详见 https://union.jd.com/openplatform
Example:
client = JdApiClient("<YOUR_APP_KEY>", "<YOUR_SECRET_KEY>")
resp = client.call("jd.union.open.goods.promotiongoodsinfo.query",
{'skuIds':'12072066'})
print(resp.json())
'''