staugur / ip

查询IP信息及提供RESTApi

Home Page:https://open.saintic.com/openapi#IP查询接口

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ip

My IP Service

Deploy

A web app, the default listen address: 0.0.0.0:7000, the generated executable file name is mip, the help option is mip -h/--help.

binary

Go to releases and download package, run it.

docker

$ docker run -d --name ip --net=host staugur/ip

API

The default use / is the prefix, and it can be defined as other(prefix option is used at startup), such as /v1.

/myip

Show client ip

/addr

Show client ip, isp, area, country, string.

/rest

The returned result is the same as /addr, but the type is json.

About

查询IP信息及提供RESTApi

https://open.saintic.com/openapi#IP查询接口

License:Apache License 2.0


Languages

Language:Go 81.5%Language:Makefile 11.1%Language:Dockerfile 7.5%