Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resp ¶
type Resp struct { Status string `json:"status"` Country string `json:"country"` RegionName string `json:"regionName"` City string `json:"city"` Isp string `json:"isp"` Message string `json:"message"` }
This endpoint is limited to 45 requests per minute from an IP address. http://ip-api.com/json/8.8.8.8
{ "status": "success", "country": "United States", "countryCode": "US", "region": "VA", "regionName": "Virginia", "city": "Ashburn", "zip": "20149", "lat": 39.03, "lon": -77.5, "timezone": "America/New_York", "isp": "Google LLC", "org": "Google Public DNS", "as": "AS15169 Google LLC", "query": "8.8.8.8" }
Click to show internal directories.
Click to hide internal directories.