diff --git a/README.md b/README.md index 176f7cb..3302052 100644 --- a/README.md +++ b/README.md @@ -31,109 +31,127 @@ Below is an example output if you're subscribed to the Security plan. JSON
{
-	"ip":"8.8.8.8",
-	"country_code":"US",
-	"country_name":"United States of America",
-	"region_name":"California",
-	"city_name":"Mountain View",
-	"latitude":37.405992,
-	"longitude":-122.078515,
-	"zip_code":"94043",
-	"time_zone":"-07:00",
-	"asn":"15169",
-	"as":"Google LLC",
-	"isp":"Google LLC",
-	"domain":"google.com",
-	"net_speed":"T1",
-	"idd_code":"1",
-	"area_code":"650",
-	"weather_station_code":"USCA0746",
-	"weather_station_name":"Mountain View",
-	"mcc":"-",
-	"mnc":"-",
-	"mobile_brand":"-",
-	"elevation":32,
-	"usage_type":"DCH",
-	"address_type":"Anycast",
-	"continent":{
-		"name":"North America",
-		"code":"NA",
-		"hemisphere":["north","west"],
-		"translation":{
-			"lang":"ko",
-			"value":"북아메리카"
-		}
-	},
-	"country":{
-		"name":"United States of America",
-		"alpha3_code":"USA",
-		"numeric_code":840,
-		"demonym":"Americans",
-		"flag":"https://cdn.ip2location.io/assets/img/flags/us.png",
-		"capital":"Washington, D.C.",
-		"total_area":9826675,
-		"population":331002651,
-		"currency":{
-			"code":"USD",
-			"name":"United States Dollar",
-			"symbol":"$"
-		},
-		"language":{
-			"code":"EN",
-			"name":"English"
-		},
-		"tld":"us",
-		"translation":{
-			"lang":"ko",
-			"value":"미국"
-		}
-	},
-	"region":{
-		"name":"California",
-		"code":"US-CA",
-		"translation":{
-			"lang":"ko",
-			"value":"캘리포니아주"
-		}
-	},
-	"city":{
-		"name":"Mountain View",
-		"translation":{
-			"lang":null,
-			"value":null
-		}
-	},
-	"time_zone_info":{
-		"olson":"America/Los_Angeles",
-		"current_time":"2022-04-18T23:41:57-07:00",
-		"gmt_offset":-25200,
-		"is_dst":true,
-		"sunrise":"06:27",
-		"sunset":"19:47"
-	},
-	"geotargeting":{
-		"metro":"807"
-	},
-	"ads_category":"IAB19",
-	"ads_category_name":"Technology & Computing",
-	"district":"San Diego County",
-	"is_proxy":false,
-	"proxy":{
-		"last_seen":18,
-		"proxy_type":"DCH",
-		"threat":"-",
-		"provider":"-",
-		"is_vpn": false,
-        "is_tor": false,
-        "is_data_center": true,
-        "is_public_proxy": false,
-        "is_web_proxy": false,
-        "is_web_crawler": false,
-        "is_residential_proxy": false,
-        "is_spammer": false,
-        "is_scanner": false,
-        "is_botnet": false
-	}
+  "ip": "8.8.8.8",
+  "country_code": "US",
+  "country_name": "United States of America",
+  "region_name": "California",
+  "district": "Santa Clara County",
+  "city_name": "Mountain View",
+  "latitude": 37.38605,
+  "longitude": -122.08385,
+  "zip_code": "94035",
+  "time_zone": "-07:00",
+  "asn": "15169",
+  "as": "Google LLC",
+  "as_info": {
+    "as_number": "15169",
+    "as_name": "Google LLC",
+    "as_domain": "google.com",
+    "as_usage_type": "DCH",
+    "as_cidr": "8.8.8.0/24"
+  },
+  "isp": "Google LLC",
+  "domain": "google.com",
+  "net_speed": "T1",
+  "idd_code": "1",
+  "area_code": "650",
+  "weather_station_code": "USCA0746",
+  "weather_station_name": "Mountain View",
+  "mcc": "-",
+  "mnc": "-",
+  "mobile_brand": "-",
+  "elevation": 32,
+  "usage_type": "DCH",
+  "address_type": "Anycast",
+  "ads_category": "IAB19-11",
+  "ads_category_name": "Data Centers",
+  "continent": {
+    "name": "North America",
+    "code": "NA",
+    "hemisphere": [
+      "north",
+      "west"
+    ],
+    "translation": {
+      "lang": "ko",
+      "value": "북아메리카"
+    }
+  },
+  "country": {
+    "name": "United States of America",
+    "alpha3_code": "USA",
+    "numeric_code": 840,
+    "demonym": "Americans",
+    "flag": "https://cdn.ip2location.io/assets/img/flags/us.png",
+    "capital": "Washington, D.C.",
+    "total_area": 9826675,
+    "population": 339665118,
+    "currency": {
+      "code": "USD",
+      "name": "United States Dollar",
+      "symbol": "$"
+    },
+    "language": {
+      "code": "EN",
+      "name": "English"
+    },
+    "tld": "us",
+    "translation": {
+      "lang": "ko",
+      "value": "미국"
+    }
+  },
+  "region": {
+    "name": "California",
+    "code": "US-CA",
+    "translation": {
+      "lang": "ko",
+      "value": "캘리포니아주"
+    }
+  },
+  "city": {
+    "name": "Mountain View",
+    "translation": {
+      "lang": null,
+      "value": null
+    }
+  },
+  "time_zone_info": {
+    "olson": "America/Los_Angeles",
+    "current_time": "2026-04-29T23:36:52-07:00",
+    "gmt_offset": -25200,
+    "is_dst": true,
+    "abbreviation": "PDT",
+    "dst_start_date": "2026-03-08",
+    "dst_end_date": "2026-11-01",
+    "sunrise": "06:12",
+    "sunset": "19:58"
+  },
+  "geotargeting": {
+    "metro": "807"
+  },
+  "is_proxy": false,
+  "fraud_score": 0,
+  "proxy": {
+    "last_seen": 1,
+    "proxy_type": "DCH",
+    "threat": "-",
+    "provider": "-",
+    "is_vpn": false,
+    "is_tor": false,
+    "is_data_center": true,
+    "is_public_proxy": false,
+    "is_web_proxy": false,
+    "is_web_crawler": false,
+    "is_ai_crawler": false,
+    "is_residential_proxy": false,
+    "is_consumer_privacy_network": false,
+    "is_enterprise_private_network": false,
+    "is_spammer": false,
+    "is_scanner": false,
+    "is_botnet": false,
+    "is_bogon": false
+  }
 }
 
diff --git a/manual_readme_content.md b/manual_readme_content.md index 1af600a..7771531 100644 --- a/manual_readme_content.md +++ b/manual_readme_content.md @@ -21,108 +21,126 @@ Below is an example output if you're subscribed to the Security plan. JSON
{
-	"ip":"8.8.8.8",
-	"country_code":"US",
-	"country_name":"United States of America",
-	"region_name":"California",
-	"city_name":"Mountain View",
-	"latitude":37.405992,
-	"longitude":-122.078515,
-	"zip_code":"94043",
-	"time_zone":"-07:00",
-	"asn":"15169",
-	"as":"Google LLC",
-	"isp":"Google LLC",
-	"domain":"google.com",
-	"net_speed":"T1",
-	"idd_code":"1",
-	"area_code":"650",
-	"weather_station_code":"USCA0746",
-	"weather_station_name":"Mountain View",
-	"mcc":"-",
-	"mnc":"-",
-	"mobile_brand":"-",
-	"elevation":32,
-	"usage_type":"DCH",
-	"address_type":"Anycast",
-	"continent":{
-		"name":"North America",
-		"code":"NA",
-		"hemisphere":["north","west"],
-		"translation":{
-			"lang":"ko",
-			"value":"북아메리카"
-		}
-	},
-	"country":{
-		"name":"United States of America",
-		"alpha3_code":"USA",
-		"numeric_code":840,
-		"demonym":"Americans",
-		"flag":"https://cdn.ip2location.io/assets/img/flags/us.png",
-		"capital":"Washington, D.C.",
-		"total_area":9826675,
-		"population":331002651,
-		"currency":{
-			"code":"USD",
-			"name":"United States Dollar",
-			"symbol":"$"
-		},
-		"language":{
-			"code":"EN",
-			"name":"English"
-		},
-		"tld":"us",
-		"translation":{
-			"lang":"ko",
-			"value":"미국"
-		}
-	},
-	"region":{
-		"name":"California",
-		"code":"US-CA",
-		"translation":{
-			"lang":"ko",
-			"value":"캘리포니아주"
-		}
-	},
-	"city":{
-		"name":"Mountain View",
-		"translation":{
-			"lang":null,
-			"value":null
-		}
-	},
-	"time_zone_info":{
-		"olson":"America/Los_Angeles",
-		"current_time":"2022-04-18T23:41:57-07:00",
-		"gmt_offset":-25200,
-		"is_dst":true,
-		"sunrise":"06:27",
-		"sunset":"19:47"
-	},
-	"geotargeting":{
-		"metro":"807"
-	},
-	"ads_category":"IAB19",
-	"ads_category_name":"Technology & Computing",
-	"district":"San Diego County",
-	"is_proxy":false,
-	"proxy":{
-		"last_seen":18,
-		"proxy_type":"DCH",
-		"threat":"-",
-		"provider":"-",
-		"is_vpn": false,
-        "is_tor": false,
-        "is_data_center": true,
-        "is_public_proxy": false,
-        "is_web_proxy": false,
-        "is_web_crawler": false,
-        "is_residential_proxy": false,
-        "is_spammer": false,
-        "is_scanner": false,
-        "is_botnet": false
-	}
+  "ip": "8.8.8.8",
+  "country_code": "US",
+  "country_name": "United States of America",
+  "region_name": "California",
+  "district": "Santa Clara County",
+  "city_name": "Mountain View",
+  "latitude": 37.38605,
+  "longitude": -122.08385,
+  "zip_code": "94035",
+  "time_zone": "-07:00",
+  "asn": "15169",
+  "as": "Google LLC",
+  "as_info": {
+    "as_number": "15169",
+    "as_name": "Google LLC",
+    "as_domain": "google.com",
+    "as_usage_type": "DCH",
+    "as_cidr": "8.8.8.0/24"
+  },
+  "isp": "Google LLC",
+  "domain": "google.com",
+  "net_speed": "T1",
+  "idd_code": "1",
+  "area_code": "650",
+  "weather_station_code": "USCA0746",
+  "weather_station_name": "Mountain View",
+  "mcc": "-",
+  "mnc": "-",
+  "mobile_brand": "-",
+  "elevation": 32,
+  "usage_type": "DCH",
+  "address_type": "Anycast",
+  "ads_category": "IAB19-11",
+  "ads_category_name": "Data Centers",
+  "continent": {
+    "name": "North America",
+    "code": "NA",
+    "hemisphere": [
+      "north",
+      "west"
+    ],
+    "translation": {
+      "lang": "ko",
+      "value": "북아메리카"
+    }
+  },
+  "country": {
+    "name": "United States of America",
+    "alpha3_code": "USA",
+    "numeric_code": 840,
+    "demonym": "Americans",
+    "flag": "https://cdn.ip2location.io/assets/img/flags/us.png",
+    "capital": "Washington, D.C.",
+    "total_area": 9826675,
+    "population": 339665118,
+    "currency": {
+      "code": "USD",
+      "name": "United States Dollar",
+      "symbol": "$"
+    },
+    "language": {
+      "code": "EN",
+      "name": "English"
+    },
+    "tld": "us",
+    "translation": {
+      "lang": "ko",
+      "value": "미국"
+    }
+  },
+  "region": {
+    "name": "California",
+    "code": "US-CA",
+    "translation": {
+      "lang": "ko",
+      "value": "캘리포니아주"
+    }
+  },
+  "city": {
+    "name": "Mountain View",
+    "translation": {
+      "lang": null,
+      "value": null
+    }
+  },
+  "time_zone_info": {
+    "olson": "America/Los_Angeles",
+    "current_time": "2026-04-29T23:36:52-07:00",
+    "gmt_offset": -25200,
+    "is_dst": true,
+    "abbreviation": "PDT",
+    "dst_start_date": "2026-03-08",
+    "dst_end_date": "2026-11-01",
+    "sunrise": "06:12",
+    "sunset": "19:58"
+  },
+  "geotargeting": {
+    "metro": "807"
+  },
+  "is_proxy": false,
+  "fraud_score": 0,
+  "proxy": {
+    "last_seen": 1,
+    "proxy_type": "DCH",
+    "threat": "-",
+    "provider": "-",
+    "is_vpn": false,
+    "is_tor": false,
+    "is_data_center": true,
+    "is_public_proxy": false,
+    "is_web_proxy": false,
+    "is_web_crawler": false,
+    "is_ai_crawler": false,
+    "is_residential_proxy": false,
+    "is_consumer_privacy_network": false,
+    "is_enterprise_private_network": false,
+    "is_spammer": false,
+    "is_scanner": false,
+    "is_botnet": false,
+    "is_bogon": false
+  }
 }
 
diff --git a/release_notes/unreleased.md b/release_notes/unreleased.md index fbcb2fd..0f71e14 100644 --- a/release_notes/unreleased.md +++ b/release_notes/unreleased.md @@ -1 +1,3 @@ **Unreleased** + +* Updated JSON example for the API results to show latest fields