Skip to content

Commit b026bc7

Browse files
committed
🐛 upload README
1 parent cff0816 commit b026bc7

File tree

2 files changed

+48
-1
lines changed

2 files changed

+48
-1
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LICENSE
1111
.gitignore
1212
.nvmrc
1313

14-
.env*
14+
.env.local
1515
.editorconfig

README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<p align="center"><img src="https://user-images.githubusercontent.com/2666735/87228491-2d607280-c3d4-11ea-8e44-97353bc78dff.png"></p>
2+
3+
<h1 align="center">IP database REST API</h1>
4+
5+
<h3 align="center">
6+
Open Source REST API for IP database, includes qqwry, ipipdotnet.
7+
</h3>
8+
9+
## Usage
10+
11+
```http
12+
GET https://api.i-meto.com/ip/v1/qqwry/119.29.29.29
13+
```
14+
15+
```json
16+
{
17+
"ip": "119.29.29.29",
18+
"country_name": "中国",
19+
"region_name": "广东",
20+
"city_name": "广州",
21+
"owner_domain": "cloud.tencent.com",
22+
"isp_domain": "",
23+
"range": {
24+
"from": "119.29.0.0",
25+
"to": "119.29.127.255"
26+
}
27+
}
28+
```
29+
30+
```http
31+
GET https://api.i-meto.com/ip/v1/ipip/119.29.29.29
32+
```
33+
34+
```json
35+
{
36+
"ip": "119.29.29.29",
37+
"country_name": "DNSPOD.COM",
38+
"region_name": "DNSPOD.COM",
39+
"city_name": "",
40+
"owner_domain": "",
41+
"isp_domain": "",
42+
"range": {
43+
"from": "119.29.29.0",
44+
"to": "119.29.29.255"
45+
}
46+
}
47+
```

0 commit comments

Comments
 (0)