巨量IP - API SDK for Python
Project description
简介
巨量IP - API SDK - Python
开始
Python >= 3.6
安装
通过pip安装
pip install juliang
通过源码包安装
前往 gitee代码托管地址 下载最新代码,解压
python setup.py install
Python 3.9以下的需要将 源码文件Juliang.py中的unquote(request.read(), "utf-8")方法替换为unquote(request.read().decode(), "utf-8")
示例
import juliangip.Juliang as Juliang
import juliangip.common.DynamicGetIps as dgi
dynamic_trade_no = "1135123856516518735679"
dynamic_key = "eb9887f742sdfasdfahewrg1e4b71bfe040a5025b55e7"
def dynmaic_get_ips():
m = dgi.DynamicGetIps(dynamic_key, dynamic_trade_no, "10")
m.result_type = "json"
value = Juliang.dynamic_get_ips(m)
print(value)
if __name__ == '__main__':
dynmaic_get_ips()
参考资料
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
juliang-1.0.1.tar.gz
(7.7 kB
view hashes)