Public Repository

Last pushed: 2 years ago
Short Description
ip to location service
Full Description

How to start

jobid=$(docker run -d --name windbell-ip2location -p 7890:7890 yyaadet/ip2location:1.0)
echo "start ip2location: Job is ${jobid}"

How to use

visit http://${Host}:7890/ipinfo?src=${ip}, return city information, format is

{
    "return":"ok",
    "ip":"8.8.8.8",
    "area":"\u0055\u0053",
    "isp":""
}

visit http://${Host}:7348/iplocation?src=${ip}, return city code, format is

{"return":"ok","location":"41"}
Docker Pull Command
Owner
yyaadet