vpndetection 5.13.2 → 5.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/lib/vpndetection/api/account_wire_api.rb +1 -1
- data/lib/vpndetection/api/api_keys_wire_api.rb +1 -1
- data/lib/vpndetection/api/authorization_wire_api.rb +1 -1
- data/lib/vpndetection/api/database_wire_api.rb +1 -1
- data/lib/vpndetection/api/entitlement_wire_api.rb +1 -1
- data/lib/vpndetection/api/lookup_wire_api.rb +5 -5
- data/lib/vpndetection/api/organization_wire_api.rb +1 -1
- data/lib/vpndetection/api_client.rb +1 -1
- data/lib/vpndetection/api_error.rb +1 -1
- data/lib/vpndetection/api_model_base.rb +1 -1
- data/lib/vpndetection/client.rb +11 -10
- data/lib/vpndetection/configuration.rb +1 -1
- data/lib/vpndetection/models/account_create_apikey_request.rb +1 -1
- data/lib/vpndetection/models/account_created_apikey.rb +1 -1
- data/lib/vpndetection/models/account_org.rb +1 -1
- data/lib/vpndetection/models/account_org_ref.rb +1 -1
- data/lib/vpndetection/models/account_org_wrap.rb +1 -1
- data/lib/vpndetection/models/account_rc.rb +1 -1
- data/lib/vpndetection/models/account_revealed_apikey.rb +1 -1
- data/lib/vpndetection/models/account_user.rb +1 -1
- data/lib/vpndetection/models/apikey_detail.rb +1 -1
- data/lib/vpndetection/models/apikey_list.rb +1 -1
- data/lib/vpndetection/models/asn.rb +1 -1
- data/lib/vpndetection/models/batch_lookup_error.rb +2 -2
- data/lib/vpndetection/models/batch_lookup_request.rb +1 -1
- data/lib/vpndetection/models/batch_lookup_response.rb +1 -1
- data/lib/vpndetection/models/class_detail.rb +1 -1
- data/lib/vpndetection/models/client_registration.rb +1 -1
- data/lib/vpndetection/models/client_registration_request.rb +1 -1
- data/lib/vpndetection/models/database.rb +1 -1
- data/lib/vpndetection/models/database_checksums_response.rb +1 -1
- data/lib/vpndetection/models/database_format.rb +1 -1
- data/lib/vpndetection/models/database_format_size.rb +1 -1
- data/lib/vpndetection/models/database_list.rb +1 -1
- data/lib/vpndetection/models/database_metadata.rb +1 -1
- data/lib/vpndetection/models/database_metadata_column.rb +1 -1
- data/lib/vpndetection/models/database_version.rb +1 -1
- data/lib/vpndetection/models/db_checksums.rb +1 -1
- data/lib/vpndetection/models/device_authorization.rb +1 -1
- data/lib/vpndetection/models/download.rb +1 -1
- data/lib/vpndetection/models/download_list.rb +1 -1
- data/lib/vpndetection/models/entitlement.rb +1 -1
- data/lib/vpndetection/models/entitlement_apikey.rb +1 -1
- data/lib/vpndetection/models/entitlement_error.rb +1 -1
- data/lib/vpndetection/models/entitlement_plan.rb +3 -3
- data/lib/vpndetection/models/entitlement_usage.rb +1 -1
- data/lib/vpndetection/models/error_envelope.rb +1 -1
- data/lib/vpndetection/models/identity.rb +1 -1
- data/lib/vpndetection/models/location.rb +1 -1
- data/lib/vpndetection/models/lookup_error.rb +1 -1
- data/lib/vpndetection/models/lookup_response.rb +22 -12
- data/lib/vpndetection/models/oauth_error.rb +1 -1
- data/lib/vpndetection/models/oauth_metadata.rb +1 -1
- data/lib/vpndetection/models/proxy_detail.rb +1 -1
- data/lib/vpndetection/models/pubproxy_detail.rb +1 -1
- data/lib/vpndetection/models/standing.rb +1 -1
- data/lib/vpndetection/models/token_response.rb +1 -1
- data/lib/vpndetection/models/vpn_detail.rb +1 -1
- data/lib/vpndetection/result.rb +18 -6
- data/lib/vpndetection/version.rb +1 -1
- metadata +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -15,10 +15,10 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module VPNDetection
|
|
17
17
|
class EntitlementPlan < ApiModelBase
|
|
18
|
-
# The plan the organization is on.
|
|
18
|
+
# The plan the organization is on, or `trial` on none: a trial answers every field for the organization's first 100 lookups each UTC day, and Unlimited's answer after them.
|
|
19
19
|
attr_accessor :key
|
|
20
20
|
|
|
21
|
-
# The field tier, which decides how much of a lookup answer comes back. What each tier includes is documented on the lookup endpoint rather than repeated here, so there is one place it can be wrong.
|
|
21
|
+
# The field tier, which decides how much of a lookup answer comes back; `free` is a trial's. What each tier includes is documented on the lookup endpoint rather than repeated here, so there is one place it can be wrong.
|
|
22
22
|
attr_accessor :tier
|
|
23
23
|
|
|
24
24
|
class EnumAttributeValidator
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module VPNDetection
|
|
17
|
-
# The union of every
|
|
17
|
+
# The union of every tier's answer. Every answer carries `ip`, `is_vpn`, the Tor and relay members, `location` and `asn`, with or without a key; each remaining field is present when your tier includes it, and absent otherwise. A client that must work across plans should treat an absent flag as unknown rather than as `false`.
|
|
18
18
|
class LookupResponse < ApiModelBase
|
|
19
19
|
# The address that was looked up, normalized.
|
|
20
20
|
attr_accessor :ip
|
|
@@ -22,7 +22,7 @@ module VPNDetection
|
|
|
22
22
|
# Whether the address is VPN infrastructure. Keys off presence in the VPN dataset, so an unattributed range with no provider is still `true`.
|
|
23
23
|
attr_accessor :is_vpn
|
|
24
24
|
|
|
25
|
-
# Whether the address belongs to a hosting or cloud provider.
|
|
25
|
+
# Whether the address belongs to a hosting or cloud provider. Paid plans.
|
|
26
26
|
attr_accessor :is_hosting
|
|
27
27
|
|
|
28
28
|
# Whether the address is privacy relay or enterprise web gateway egress, such as iCloud Private Relay or Zscaler. Every answer, with or without a key.
|
|
@@ -31,19 +31,19 @@ module VPNDetection
|
|
|
31
31
|
# Whether the address is a Tor node. Every answer, with or without a key.
|
|
32
32
|
attr_accessor :is_tor
|
|
33
33
|
|
|
34
|
-
# Whether the address belongs to a CDN.
|
|
34
|
+
# Whether the address belongs to a CDN. Paid plans.
|
|
35
35
|
attr_accessor :is_cdn
|
|
36
36
|
|
|
37
|
-
# Whether the address was seen in a residential proxy pool.
|
|
37
|
+
# Whether the address was seen in a residential proxy pool. Paid plans.
|
|
38
38
|
attr_accessor :is_resproxy
|
|
39
39
|
|
|
40
|
-
# Whether the address is one a datacenter proxy service sells or runs on, a proxy company's own ranges included.
|
|
40
|
+
# Whether the address is one a datacenter proxy service sells or runs on, a proxy company's own ranges included. Paid plans.
|
|
41
41
|
attr_accessor :is_dcproxy
|
|
42
42
|
|
|
43
|
-
# Whether the address was seen in a mobile proxy pool.
|
|
43
|
+
# Whether the address was seen in a mobile proxy pool. Paid plans.
|
|
44
44
|
attr_accessor :is_mobproxy
|
|
45
45
|
|
|
46
|
-
# Whether a public proxy, one anyone can connect through, listens on the address or sends its traffic out from it.
|
|
46
|
+
# Whether a public proxy, one anyone can connect through, listens on the address or sends its traffic out from it. Paid plans.
|
|
47
47
|
attr_accessor :is_pubproxy
|
|
48
48
|
|
|
49
49
|
# Detail for `is_vpn`. Empty when `is_vpn` is false. Paid plans.
|
|
@@ -77,6 +77,9 @@ module VPNDetection
|
|
|
77
77
|
|
|
78
78
|
attr_accessor :asn
|
|
79
79
|
|
|
80
|
+
# On every answer to a trial key, an organization on no paid plan, and on no other: `false` while the organization's 100 full answers for the UTC day last, `true` once the answer is Unlimited's.
|
|
81
|
+
attr_accessor :trial_expired
|
|
82
|
+
|
|
80
83
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
81
84
|
def self.attribute_map
|
|
82
85
|
{
|
|
@@ -100,7 +103,8 @@ module VPNDetection
|
|
|
100
103
|
:'mobproxy' => :'mobproxy',
|
|
101
104
|
:'pubproxy' => :'pubproxy',
|
|
102
105
|
:'location' => :'location',
|
|
103
|
-
:'asn' => :'asn'
|
|
106
|
+
:'asn' => :'asn',
|
|
107
|
+
:'trial_expired' => :'trial_expired'
|
|
104
108
|
}
|
|
105
109
|
end
|
|
106
110
|
|
|
@@ -137,7 +141,8 @@ module VPNDetection
|
|
|
137
141
|
:'mobproxy' => :'ProxyDetail',
|
|
138
142
|
:'pubproxy' => :'PubproxyDetail',
|
|
139
143
|
:'location' => :'Location',
|
|
140
|
-
:'asn' => :'Asn'
|
|
144
|
+
:'asn' => :'Asn',
|
|
145
|
+
:'trial_expired' => :'Boolean'
|
|
141
146
|
}
|
|
142
147
|
end
|
|
143
148
|
|
|
@@ -250,6 +255,10 @@ module VPNDetection
|
|
|
250
255
|
if attributes.key?(:'asn')
|
|
251
256
|
self.asn = attributes[:'asn']
|
|
252
257
|
end
|
|
258
|
+
|
|
259
|
+
if attributes.key?(:'trial_expired')
|
|
260
|
+
self.trial_expired = attributes[:'trial_expired']
|
|
261
|
+
end
|
|
253
262
|
end
|
|
254
263
|
|
|
255
264
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -322,7 +331,8 @@ module VPNDetection
|
|
|
322
331
|
mobproxy == o.mobproxy &&
|
|
323
332
|
pubproxy == o.pubproxy &&
|
|
324
333
|
location == o.location &&
|
|
325
|
-
asn == o.asn
|
|
334
|
+
asn == o.asn &&
|
|
335
|
+
trial_expired == o.trial_expired
|
|
326
336
|
end
|
|
327
337
|
|
|
328
338
|
# @see the `==` method
|
|
@@ -334,7 +344,7 @@ module VPNDetection
|
|
|
334
344
|
# Calculates hash code according to all attributes.
|
|
335
345
|
# @return [Integer] Hash code
|
|
336
346
|
def hash
|
|
337
|
-
[ip, is_vpn, is_hosting, is_relay, is_tor, is_cdn, is_resproxy, is_dcproxy, is_mobproxy, is_pubproxy, vpn, hosting, relay, tor, cdn, resproxy, dcproxy, mobproxy, pubproxy, location, asn].hash
|
|
347
|
+
[ip, is_vpn, is_hosting, is_relay, is_tor, is_cdn, is_resproxy, is_dcproxy, is_mobproxy, is_pubproxy, vpn, hosting, relay, tor, cdn, resproxy, dcproxy, mobproxy, pubproxy, location, asn, trial_expired].hash
|
|
338
348
|
end
|
|
339
349
|
|
|
340
350
|
# Builds the object from hash
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#VPNDetection API
|
|
3
3
|
|
|
4
|
-
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap,
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: the Unlimited tier answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and an organization on no paid plan can try them, 100 lookups a day. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 2026.11.11
|
|
7
7
|
Contact: support@vpndetection.io
|
data/lib/vpndetection/result.rb
CHANGED
|
@@ -76,7 +76,7 @@ module VPNDetection
|
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
# Whether the address belongs to a hosting or cloud provider, or nil when
|
|
79
|
-
# your plan does not include it.
|
|
79
|
+
# your plan does not include it. On every paid plan.
|
|
80
80
|
def is_hosting
|
|
81
81
|
@raw['is_hosting']
|
|
82
82
|
end
|
|
@@ -109,7 +109,7 @@ module VPNDetection
|
|
|
109
109
|
end
|
|
110
110
|
|
|
111
111
|
# Whether the address belongs to a CDN, or nil when your plan does not
|
|
112
|
-
# include it.
|
|
112
|
+
# include it. On every paid plan.
|
|
113
113
|
def is_cdn
|
|
114
114
|
@raw['is_cdn']
|
|
115
115
|
end
|
|
@@ -120,7 +120,7 @@ module VPNDetection
|
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
# Whether the address was seen in a residential proxy pool, or nil when your
|
|
123
|
-
# plan does not include it.
|
|
123
|
+
# plan does not include it. On every paid plan.
|
|
124
124
|
def is_resproxy
|
|
125
125
|
@raw['is_resproxy']
|
|
126
126
|
end
|
|
@@ -132,7 +132,7 @@ module VPNDetection
|
|
|
132
132
|
|
|
133
133
|
# Whether the address is one a datacenter proxy service sells or runs on, a
|
|
134
134
|
# proxy company's own ranges included, or nil when your plan does not
|
|
135
|
-
# include it.
|
|
135
|
+
# include it. On every paid plan.
|
|
136
136
|
def is_dcproxy
|
|
137
137
|
@raw['is_dcproxy']
|
|
138
138
|
end
|
|
@@ -143,7 +143,7 @@ module VPNDetection
|
|
|
143
143
|
end
|
|
144
144
|
|
|
145
145
|
# Whether the address was seen in a mobile proxy pool, or nil when your plan
|
|
146
|
-
# does not include it.
|
|
146
|
+
# does not include it. On every paid plan.
|
|
147
147
|
def is_mobproxy
|
|
148
148
|
@raw['is_mobproxy']
|
|
149
149
|
end
|
|
@@ -155,7 +155,7 @@ module VPNDetection
|
|
|
155
155
|
|
|
156
156
|
# Whether a public proxy, one anyone can connect through, listens on the
|
|
157
157
|
# address or sends its traffic out from it, or nil when your plan does not
|
|
158
|
-
# include it.
|
|
158
|
+
# include it. On every paid plan.
|
|
159
159
|
def is_pubproxy
|
|
160
160
|
@raw['is_pubproxy']
|
|
161
161
|
end
|
|
@@ -229,6 +229,18 @@ module VPNDetection
|
|
|
229
229
|
@raw['asn']
|
|
230
230
|
end
|
|
231
231
|
|
|
232
|
+
# On a Trial key's answers only: false while the organization's 100 full
|
|
233
|
+
# answers for the UTC day last, true once the answer is Unlimited's; nil on
|
|
234
|
+
# any other answer.
|
|
235
|
+
def trial_expired
|
|
236
|
+
@raw['trial_expired']
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# `trial_expired` with an absent member read as false.
|
|
240
|
+
def trial_expired?
|
|
241
|
+
@raw['trial_expired'] == true
|
|
242
|
+
end
|
|
243
|
+
|
|
232
244
|
def to_h
|
|
233
245
|
@raw
|
|
234
246
|
end
|
data/lib/vpndetection/version.rb
CHANGED