semvec/pypi-packages huggingface dataset:
juliang 1.2.0
巨量IP - API SDK for Python
License: MIT
Requires Python: >=3.9.0


# 简介

---

> [巨量IP](http://www.juliangip.com) - API SDK - Python

## 开始

> Python >= 3.6

### 安装

#### 通过pip安装

```sybase
pip install juliang
```

#### 通过源码包安装
前往 [gitee代码托管地址](https://gitee.com/juliangip/juliang-python-sdk) 下载最新代码，解压

```python
python setup.py install
```

> Python 3.9以下的需要将 源码文件Juliang.py中的unquote(request.read(), "utf-8")方法替换为unquote(request.read().decode(), "utf-8")

## 示例
```python
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()
```

## 参考资料

* [API文档](https://www.juliangip.com/help/api/api/)