You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 78d8d68
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Build the client once and keep it. It owns a connection pool, a cache and a thre
43
43
44
44
### With an API key
45
45
46
-
Every paid plan answers every field: `is_vpn`, the four proxy flags, `is_hosting` and `is_cdn`, the detail behind each flag, the city and coordinates, whois and more. The plans differ only in how many lookups they include, and a free account tries every field, 100 lookups a day. Create a key in the [console](https://app.internetdata.io), then pass it in:
46
+
Every paid plan answers every field: `is_vpn`, the four proxy flags, `is_hosting` and `is_cdn`, the detail behind each flag, the city and coordinates, whois and more. The plans differ only in how many lookups they include, and a free account tries every field. Create a key in the [console](https://app.internetdata.io), then pass it in:
@@ -340,12 +340,12 @@ Each redirect URI must be https on a public host name, or http on a loopback add
340
340
341
341
### Absent is not false
342
342
343
-
Unlimited leaves out `isVpn()`, the four proxy flags, `isHosting()` and `isCdn()`, the detail behind every flag but Tor's and relay's, whois and `hostedDomains()`, and inside `location()` the city, region and coordinates; a free-plan key's answer carries `trialExpired()`, true once its daily trial is spent. A paid key's carries `capReached()`, true once its organization's overage cap is reached, when the answer has Unlimited's fields and isn't billed. Every member a plan may leave out is an `Optional`, where empty means "not in your plan" rather than "checked, and no", and one inside `location()`, `asn()`, `company()` or `abuse()` is null.
343
+
Unlimited leaves out `isVpn()`, the four proxy flags, `isHosting()` and `isCdn()`, the detail behind every flag but Tor's and relay's, whois and `hostedDomains()`, and inside `location()` the city, region and coordinates; a free-plan key's answer carries `trialExpired()`, true once its trial is spent. A paid key's carries `capReached()`, true once its organization's overage cap is reached, when the answer has Unlimited's fields and isn't billed. Every member a plan may leave out is an `Optional`, where empty means "not in your plan" rather than "checked, and no", and one inside `location()`, `asn()`, `company()` or `abuse()` is null.
344
344
345
345
```java
346
346
result.isVpn().orElse(false); // when you only want the flag
347
347
result.isVpn().isEmpty(); // on Unlimited: not in your plan
348
-
result.trialExpired().orElse(false); // a free-plan key's daily trial is spent
348
+
result.trialExpired().orElse(false); // a free-plan key's trial is spent
349
349
result.capReached().orElse(false); // a paid key is past its overage cap
0 commit comments