vpndetection 5.21.0 → 5.21.1
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 +3 -3
- data/lib/vpndetection/api/account_wire_api.rb +2 -2
- data/lib/vpndetection/api/api_keys_wire_api.rb +2 -2
- data/lib/vpndetection/api/authorization_wire_api.rb +2 -2
- data/lib/vpndetection/api/database_wire_api.rb +2 -2
- data/lib/vpndetection/api/entitlement_wire_api.rb +2 -2
- data/lib/vpndetection/api/lookup_wire_api.rb +2 -2
- data/lib/vpndetection/api/organization_wire_api.rb +2 -2
- data/lib/vpndetection/api_client.rb +2 -2
- data/lib/vpndetection/api_error.rb +2 -2
- data/lib/vpndetection/api_model_base.rb +2 -2
- data/lib/vpndetection/configuration.rb +2 -2
- data/lib/vpndetection/models/abuse_contact.rb +3 -3
- data/lib/vpndetection/models/account_create_apikey_request.rb +2 -2
- data/lib/vpndetection/models/account_created_apikey.rb +2 -2
- data/lib/vpndetection/models/account_org.rb +2 -2
- data/lib/vpndetection/models/account_org_ref.rb +2 -2
- data/lib/vpndetection/models/account_org_wrap.rb +2 -2
- data/lib/vpndetection/models/account_rc.rb +2 -2
- data/lib/vpndetection/models/account_revealed_apikey.rb +2 -2
- data/lib/vpndetection/models/account_user.rb +2 -2
- data/lib/vpndetection/models/apikey_detail.rb +2 -2
- data/lib/vpndetection/models/apikey_list.rb +2 -2
- data/lib/vpndetection/models/asn.rb +2 -2
- data/lib/vpndetection/models/batch_lookup_error.rb +2 -2
- data/lib/vpndetection/models/batch_lookup_request.rb +2 -2
- data/lib/vpndetection/models/batch_lookup_response.rb +2 -2
- data/lib/vpndetection/models/bit_torrent_detail.rb +2 -2
- data/lib/vpndetection/models/bot_detail.rb +2 -2
- data/lib/vpndetection/models/carrier_detail.rb +2 -2
- data/lib/vpndetection/models/class_detail.rb +2 -2
- data/lib/vpndetection/models/client_registration.rb +2 -2
- data/lib/vpndetection/models/client_registration_request.rb +2 -2
- data/lib/vpndetection/models/company.rb +3 -3
- data/lib/vpndetection/models/database.rb +2 -2
- data/lib/vpndetection/models/database_checksums_response.rb +2 -2
- data/lib/vpndetection/models/database_format.rb +2 -2
- data/lib/vpndetection/models/database_format_size.rb +2 -2
- data/lib/vpndetection/models/database_list.rb +2 -2
- data/lib/vpndetection/models/database_metadata.rb +2 -2
- data/lib/vpndetection/models/database_metadata_column.rb +2 -2
- data/lib/vpndetection/models/database_version.rb +2 -2
- data/lib/vpndetection/models/db_checksums.rb +2 -2
- data/lib/vpndetection/models/device_authorization.rb +2 -2
- data/lib/vpndetection/models/dns_resolver_detail.rb +2 -2
- data/lib/vpndetection/models/download.rb +2 -2
- data/lib/vpndetection/models/download_list.rb +2 -2
- data/lib/vpndetection/models/entitlement.rb +2 -2
- data/lib/vpndetection/models/entitlement_apikey.rb +2 -2
- data/lib/vpndetection/models/entitlement_error.rb +2 -2
- data/lib/vpndetection/models/entitlement_plan.rb +3 -3
- data/lib/vpndetection/models/entitlement_usage.rb +4 -4
- data/lib/vpndetection/models/error_envelope.rb +2 -2
- data/lib/vpndetection/models/identity.rb +2 -2
- data/lib/vpndetection/models/location.rb +12 -12
- data/lib/vpndetection/models/lookup_error.rb +2 -2
- data/lib/vpndetection/models/lookup_response.rb +30 -30
- data/lib/vpndetection/models/oauth_error.rb +2 -2
- data/lib/vpndetection/models/oauth_metadata.rb +2 -2
- data/lib/vpndetection/models/proxy_detail.rb +2 -2
- data/lib/vpndetection/models/pubproxy_detail.rb +2 -2
- data/lib/vpndetection/models/satellite_detail.rb +2 -2
- data/lib/vpndetection/models/smtp_detail.rb +2 -2
- data/lib/vpndetection/models/ssh_detail.rb +2 -2
- data/lib/vpndetection/models/standing.rb +2 -2
- data/lib/vpndetection/models/token_response.rb +2 -2
- data/lib/vpndetection/models/user_agent_verdict.rb +2 -2
- data/lib/vpndetection/models/vpn_detail.rb +2 -2
- data/lib/vpndetection/models/web_detail.rb +2 -2
- data/lib/vpndetection/result.rb +31 -31
- data/lib/vpndetection/version.rb +1 -1
- metadata +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
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: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one.
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. The Data plan answers every field, and a free account tries them. 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
|
-
The version of the OpenAPI document: 2026.11.
|
|
6
|
+
The version of the OpenAPI document: 2026.11.25
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -1,9 +1,9 @@
|
|
|
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: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one.
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. The Data plan answers every field, and a free account tries them. 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
|
-
The version of the OpenAPI document: 2026.11.
|
|
6
|
+
The version of the OpenAPI document: 2026.11.25
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -1,9 +1,9 @@
|
|
|
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: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one.
|
|
4
|
+
#The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. The Data plan answers every field, and a free account tries them. 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
|
-
The version of the OpenAPI document: 2026.11.
|
|
6
|
+
The version of the OpenAPI document: 2026.11.25
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
data/lib/vpndetection/result.rb
CHANGED
|
@@ -95,7 +95,7 @@ module VPNDetection
|
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
# Whether the address belongs to a hosting or cloud provider, or nil when
|
|
98
|
-
# your plan does not include it. On
|
|
98
|
+
# your plan does not include it. On a paid plan.
|
|
99
99
|
def is_hosting
|
|
100
100
|
@raw['is_hosting']
|
|
101
101
|
end
|
|
@@ -128,7 +128,7 @@ module VPNDetection
|
|
|
128
128
|
end
|
|
129
129
|
|
|
130
130
|
# Whether the address belongs to a CDN, or nil when your plan does not
|
|
131
|
-
# include it. On
|
|
131
|
+
# include it. On a paid plan.
|
|
132
132
|
def is_cdn
|
|
133
133
|
@raw['is_cdn']
|
|
134
134
|
end
|
|
@@ -152,7 +152,7 @@ module VPNDetection
|
|
|
152
152
|
end
|
|
153
153
|
|
|
154
154
|
# Whether the address was seen in a residential proxy pool, or nil when your
|
|
155
|
-
# plan does not include it. On
|
|
155
|
+
# plan does not include it. On a paid plan.
|
|
156
156
|
def is_resproxy
|
|
157
157
|
@raw['is_resproxy']
|
|
158
158
|
end
|
|
@@ -164,7 +164,7 @@ module VPNDetection
|
|
|
164
164
|
|
|
165
165
|
# Whether the address is one a datacenter proxy service sells or runs on, a
|
|
166
166
|
# proxy company's own ranges included, or nil when your plan does not
|
|
167
|
-
# include it. On
|
|
167
|
+
# include it. On a paid plan.
|
|
168
168
|
def is_dcproxy
|
|
169
169
|
@raw['is_dcproxy']
|
|
170
170
|
end
|
|
@@ -175,7 +175,7 @@ module VPNDetection
|
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
# Whether the address was seen in a mobile proxy pool, or nil when your plan
|
|
178
|
-
# does not include it. On
|
|
178
|
+
# does not include it. On a paid plan.
|
|
179
179
|
def is_mobproxy
|
|
180
180
|
@raw['is_mobproxy']
|
|
181
181
|
end
|
|
@@ -187,7 +187,7 @@ module VPNDetection
|
|
|
187
187
|
|
|
188
188
|
# Whether a public proxy, one anyone can connect through, listens on the
|
|
189
189
|
# address or sends its traffic out from it, or nil when your plan does not
|
|
190
|
-
# include it. On
|
|
190
|
+
# include it. On a paid plan.
|
|
191
191
|
def is_pubproxy
|
|
192
192
|
@raw['is_pubproxy']
|
|
193
193
|
end
|
|
@@ -210,7 +210,7 @@ module VPNDetection
|
|
|
210
210
|
end
|
|
211
211
|
|
|
212
212
|
# Whether the address is a mobile carrier's, where many phones can share one
|
|
213
|
-
# address, or nil when your plan does not include it. On
|
|
213
|
+
# address, or nil when your plan does not include it. On a paid plan.
|
|
214
214
|
def is_carrier
|
|
215
215
|
@raw['is_carrier']
|
|
216
216
|
end
|
|
@@ -221,7 +221,7 @@ module VPNDetection
|
|
|
221
221
|
end
|
|
222
222
|
|
|
223
223
|
# Whether the address is a satellite operator's, or nil when your plan does
|
|
224
|
-
# not include it. On
|
|
224
|
+
# not include it. On a paid plan.
|
|
225
225
|
def is_satellite
|
|
226
226
|
@raw['is_satellite']
|
|
227
227
|
end
|
|
@@ -232,7 +232,7 @@ module VPNDetection
|
|
|
232
232
|
end
|
|
233
233
|
|
|
234
234
|
# Whether an SSH server answered on the address, or nil when your plan does
|
|
235
|
-
# not include it. On
|
|
235
|
+
# not include it. On a paid plan.
|
|
236
236
|
def is_ssh
|
|
237
237
|
@raw['is_ssh']
|
|
238
238
|
end
|
|
@@ -243,7 +243,7 @@ module VPNDetection
|
|
|
243
243
|
end
|
|
244
244
|
|
|
245
245
|
# Whether a mail server answered on the address, or nil when your plan does
|
|
246
|
-
# not include it. On
|
|
246
|
+
# not include it. On a paid plan.
|
|
247
247
|
def is_smtp
|
|
248
248
|
@raw['is_smtp']
|
|
249
249
|
end
|
|
@@ -254,7 +254,7 @@ module VPNDetection
|
|
|
254
254
|
end
|
|
255
255
|
|
|
256
256
|
# Whether a web server answered on the address, on port 80 or 443, or nil
|
|
257
|
-
# when your plan does not include it. On
|
|
257
|
+
# when your plan does not include it. On a paid plan.
|
|
258
258
|
def is_web
|
|
259
259
|
@raw['is_web']
|
|
260
260
|
end
|
|
@@ -265,7 +265,7 @@ module VPNDetection
|
|
|
265
265
|
end
|
|
266
266
|
|
|
267
267
|
# Whether an open DNS resolver answered on the address, or nil when your
|
|
268
|
-
# plan does not include it. On
|
|
268
|
+
# plan does not include it. On a paid plan.
|
|
269
269
|
def is_dns_resolver
|
|
270
270
|
@raw['is_dns_resolver']
|
|
271
271
|
end
|
|
@@ -276,7 +276,7 @@ module VPNDetection
|
|
|
276
276
|
end
|
|
277
277
|
|
|
278
278
|
# Whether a BitTorrent client was seen on the address in the last 90 days,
|
|
279
|
-
# or nil when your plan does not include it. On
|
|
279
|
+
# or nil when your plan does not include it. On a paid plan.
|
|
280
280
|
def is_bittorrent
|
|
281
281
|
@raw['is_bittorrent']
|
|
282
282
|
end
|
|
@@ -286,13 +286,13 @@ module VPNDetection
|
|
|
286
286
|
@raw['is_bittorrent'] == true
|
|
287
287
|
end
|
|
288
288
|
|
|
289
|
-
# Detail for `is_vpn`: provider, last_seen and confidence.
|
|
289
|
+
# Detail for `is_vpn`: provider, last_seen and confidence. On a paid plan.
|
|
290
290
|
# `method` is deprecated: no plan is answered with it since 2026-10-20.
|
|
291
291
|
def vpn
|
|
292
292
|
@raw['vpn']
|
|
293
293
|
end
|
|
294
294
|
|
|
295
|
-
# Detail for `is_hosting`.
|
|
295
|
+
# Detail for `is_hosting`. On a paid plan.
|
|
296
296
|
def hosting
|
|
297
297
|
@raw['hosting']
|
|
298
298
|
end
|
|
@@ -307,7 +307,7 @@ module VPNDetection
|
|
|
307
307
|
@raw['tor']
|
|
308
308
|
end
|
|
309
309
|
|
|
310
|
-
# Detail for `is_cdn`.
|
|
310
|
+
# Detail for `is_cdn`. On a paid plan.
|
|
311
311
|
def cdn
|
|
312
312
|
@raw['cdn']
|
|
313
313
|
end
|
|
@@ -315,23 +315,23 @@ module VPNDetection
|
|
|
315
315
|
# Detail for `is_bot`: provider, provider_name, agents, categories,
|
|
316
316
|
# verified, identity, verified_by, confidence, first_seen and last_seen.
|
|
317
317
|
# agents and categories are lists, in the order served, and `[]` where none
|
|
318
|
-
# is known; verified_by is an empty string when verified is false.
|
|
318
|
+
# is known; verified_by is an empty string when verified is false. On a
|
|
319
319
|
# paid plan.
|
|
320
320
|
def bot
|
|
321
321
|
@raw['bot']
|
|
322
322
|
end
|
|
323
323
|
|
|
324
|
-
# Detail for `is_resproxy`.
|
|
324
|
+
# Detail for `is_resproxy`. On a paid plan.
|
|
325
325
|
def resproxy
|
|
326
326
|
@raw['resproxy']
|
|
327
327
|
end
|
|
328
328
|
|
|
329
|
-
# Detail for `is_dcproxy`.
|
|
329
|
+
# Detail for `is_dcproxy`. On a paid plan.
|
|
330
330
|
def dcproxy
|
|
331
331
|
@raw['dcproxy']
|
|
332
332
|
end
|
|
333
333
|
|
|
334
|
-
# Detail for `is_mobproxy`.
|
|
334
|
+
# Detail for `is_mobproxy`. On a paid plan.
|
|
335
335
|
def mobproxy
|
|
336
336
|
@raw['mobproxy']
|
|
337
337
|
end
|
|
@@ -340,50 +340,50 @@ module VPNDetection
|
|
|
340
340
|
# num_proxies, last_seen and last_usable. num_ports is 0 when the address
|
|
341
341
|
# is only an exit and num_proxies 0 when it is only an entry; last_usable is
|
|
342
342
|
# an empty string when no request through a proxy on the address was
|
|
343
|
-
# answered.
|
|
343
|
+
# answered. On a paid plan.
|
|
344
344
|
def pubproxy
|
|
345
345
|
@raw['pubproxy']
|
|
346
346
|
end
|
|
347
347
|
|
|
348
|
-
# Detail for `is_carrier`: name, mcc, mnc, country and confidence.
|
|
348
|
+
# Detail for `is_carrier`: name, mcc, mnc, country and confidence. On a
|
|
349
349
|
# paid plan.
|
|
350
350
|
def carrier
|
|
351
351
|
@raw['carrier']
|
|
352
352
|
end
|
|
353
353
|
|
|
354
354
|
# Detail for `is_satellite`: provider, provider_name, orbit, segment,
|
|
355
|
-
# country, asn and confidence.
|
|
355
|
+
# country, asn and confidence. On a paid plan.
|
|
356
356
|
def satellite
|
|
357
357
|
@raw['satellite']
|
|
358
358
|
end
|
|
359
359
|
|
|
360
360
|
# Detail for `is_ssh`: port, banner, host_key_fp, session_ok, first_seen and
|
|
361
|
-
# last_seen.
|
|
361
|
+
# last_seen. On a paid plan.
|
|
362
362
|
def ssh
|
|
363
363
|
@raw['ssh']
|
|
364
364
|
end
|
|
365
365
|
|
|
366
366
|
# Detail for `is_smtp`: port, banner, session_ok, first_seen and last_seen.
|
|
367
|
-
#
|
|
367
|
+
# On a paid plan.
|
|
368
368
|
def smtp
|
|
369
369
|
@raw['smtp']
|
|
370
370
|
end
|
|
371
371
|
|
|
372
372
|
# Detail for `is_web`: a row per port that answered, lowest first, and `[]`
|
|
373
|
-
# when the flag is false.
|
|
373
|
+
# when the flag is false. On a paid plan.
|
|
374
374
|
def web
|
|
375
375
|
@raw['web']
|
|
376
376
|
end
|
|
377
377
|
|
|
378
378
|
# Detail for `is_dns_resolver`: port, recursion_available, rcode,
|
|
379
|
-
# answer_correct, first_seen and last_seen.
|
|
379
|
+
# answer_correct, first_seen and last_seen. On a paid plan.
|
|
380
380
|
def dns_resolver
|
|
381
381
|
@raw['dns_resolver']
|
|
382
382
|
end
|
|
383
383
|
|
|
384
384
|
# Detail for `is_bittorrent`: verified, id_matches_ip, first_seen,
|
|
385
385
|
# last_seen, last_reachable, days_seen, num_ports, peak_num_ports, indexer
|
|
386
|
-
# and clients.
|
|
386
|
+
# and clients. On a paid plan.
|
|
387
387
|
def bittorrent
|
|
388
388
|
@raw['bittorrent']
|
|
389
389
|
end
|
|
@@ -391,7 +391,7 @@ module VPNDetection
|
|
|
391
391
|
# Where the address is: continent, country, timezone, the country's
|
|
392
392
|
# currency and flag, as a wire hash (`result.location['country']`). Every
|
|
393
393
|
# answer, with or without a key; the region, city, postal code, coordinates
|
|
394
|
-
# and the rest of the finer members on
|
|
394
|
+
# and the rest of the finer members on a paid plan.
|
|
395
395
|
def location
|
|
396
396
|
@raw['location']
|
|
397
397
|
end
|
|
@@ -405,7 +405,7 @@ module VPNDetection
|
|
|
405
405
|
end
|
|
406
406
|
|
|
407
407
|
# Who uses the address: name, domain, type and country, as a wire hash.
|
|
408
|
-
#
|
|
408
|
+
# On a paid plan.
|
|
409
409
|
def company
|
|
410
410
|
@raw['company']
|
|
411
411
|
end
|
|
@@ -417,7 +417,7 @@ module VPNDetection
|
|
|
417
417
|
end
|
|
418
418
|
|
|
419
419
|
# Where to report abuse from the address: email, name, phone, address,
|
|
420
|
-
# country, network, validated and unvalidated_since, as a wire hash.
|
|
420
|
+
# country, network, validated and unvalidated_since, as a wire hash. On a
|
|
421
421
|
# paid plan.
|
|
422
422
|
def abuse
|
|
423
423
|
@raw['abuse']
|
data/lib/vpndetection/version.rb
CHANGED