showing results for - "determine location of ip address nodejs"
Henri
29 May 2016
1/**
2 * Determine location of ip address [NODEJS]
3*/
4
5//freegeoip.net/{format}/{IP_or_hostname}
6//Sample GET http://freegeoip.net/json/207.97.227.239 :
7
8{
9  ip: "207.97.227.239",
10  country_code: "US",
11  country_name: "United States",
12  region_code: "TX",
13  region_name: "Texas",
14  city: "San Antonio",
15  zip_code: "78218",
16  time_zone: "America/Chicago",
17  latitude: 29.4889,
18  longitude: -98.3987,
19  metro_code: 641
20}
21