巨量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.1.0.tar.gz
(8.1 kB
view details)
Built Distribution
juliang-1.1.0-py3-none-any.whl
(16.0 kB
view details)
File details
Details for the file juliang-1.1.0.tar.gz
.
File metadata
- Download URL: juliang-1.1.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4709beef7a9c177b8a5a3a10053599240690ea6761069bd3a07e568786aa033a |
|
MD5 | d777c079151eef3ab189d844759d70e2 |
|
BLAKE2b-256 | 9d375cfcd89157981bf00a5bdd4518f91d3621898ad7daba373604f78b91e6d2 |
File details
Details for the file juliang-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: juliang-1.1.0-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e99471e7d633dd0eeb35fb103f9e9a8a65754a925a5e32b47a109d30502a6aab |
|
MD5 | 1567304282329ff6f422d20b12776e6e |
|
BLAKE2b-256 | 7b9abd3133c12c1bb8d70e9d9b89eb20bd1a51295f21cb23494c03912adee030 |