# whois-query **Repository Path**: live.cn/whois-query ## Basic Information - **Project Name**: whois-query - **Description**: whois信息查询接口,提供API接口 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: http://aly.tt80.xin:8080 - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 9 - **Created**: 2018-08-15 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # whois-query > Author QQ: 1152490990
>Author email: aery_mzc9123@163.com #### 项目介绍 特点: 可以通过接口直接匹配域名合法性,同时可以匹配出传入域名字串的一级域名 - API接口,返回JSON格式数据(支持POST,GET方式) - 网关查询接口(支持POST,GET方式) #### 测试接口 - page: `http://aly.tt80.xin:8080/` - api: `http://aly.tt80.xin:8080/whoisapi?domain=` #### 运行服务端 - 可以选择使用supervisor做进程管理,启动多个服务端,使用nginx做代理 - 可以直接运行main.py文件,python版本3.5+ 1) 安装依赖包 `python3 -m pip install -r requirements.txt` 2) 运行服务端程序 `python3 main.py`