whoisfreaks 0.18.0 → 0.19.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 +6 -4
- data/docs/WHOISApi.md +156 -0
- data/docs/WhoisHistoricalItem.md +15 -1
- data/lib/whoisfreaks/api/whois_api.rb +158 -0
- data/lib/whoisfreaks/models/reverse_whois_response.rb +4 -3
- data/lib/whoisfreaks/models/whois_historical_item.rb +67 -4
- data/lib/whoisfreaks/version.rb +1 -1
- data/spec/api/whois_api_spec.rb +28 -0
- data/spec/models/whois_historical_item_spec.rb +42 -0
- metadata +81 -81
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cdd3e2dd7a325a7e01bcb758e51406a2a580ea8a013093cd351e2f3a660b5d34
|
|
4
|
+
data.tar.gz: 3f9da3539bfb4832a6e498684bfbe5bc5f9795c6d22669c09fcefe3ffe3af39f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd0d5f894a10993f653725d035024dc7bb4775a5cb17cc6daddac451e6fdda55847b0e1255a58e966b4d238dff384afed6ad02188c59f373f35df730953d8712
|
|
7
|
+
data.tar.gz: 8bd7871f0ada9e5f8ec0504aaaa1798ea31ff8738c4c4925336dab77ee06950bbd39d19d67a3289b2037a2662315de192d630e9cc583684680074346c9f891f5
|
data/README.md
CHANGED
|
@@ -17,7 +17,7 @@ All requests require an `apiKey` query parameter.
|
|
|
17
17
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
18
18
|
|
|
19
19
|
- API version: 1.0.0
|
|
20
|
-
- Package version: 0.
|
|
20
|
+
- Package version: 0.19.0
|
|
21
21
|
- Generator version: 7.11.0
|
|
22
22
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
23
23
|
For more information, please visit [https://whoisfreaks.com](https://whoisfreaks.com)
|
|
@@ -35,16 +35,16 @@ gem build whoisfreaks.gemspec
|
|
|
35
35
|
Then either install the gem locally:
|
|
36
36
|
|
|
37
37
|
```shell
|
|
38
|
-
gem install ./whoisfreaks-0.
|
|
38
|
+
gem install ./whoisfreaks-0.19.0.gem
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
(for development, run `gem install --dev ./whoisfreaks-0.
|
|
41
|
+
(for development, run `gem install --dev ./whoisfreaks-0.19.0.gem` to install the development dependencies)
|
|
42
42
|
|
|
43
43
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
44
44
|
|
|
45
45
|
Finally add this to the Gemfile:
|
|
46
46
|
|
|
47
|
-
gem 'whoisfreaks', '~> 0.
|
|
47
|
+
gem 'whoisfreaks', '~> 0.19.0'
|
|
48
48
|
|
|
49
49
|
### Install from Git
|
|
50
50
|
|
|
@@ -153,7 +153,9 @@ Class | Method | HTTP request | Description
|
|
|
153
153
|
*WhoisFreaks::TyposquattingApi* | [**typosquatting**](docs/TyposquattingApi.md#typosquatting) | **GET** /v3.0/domain/typos | Typosquatting Lookup
|
|
154
154
|
*WhoisFreaks::WHOISApi* | [**bulk_whois**](docs/WHOISApi.md#bulk_whois) | **POST** /v2.0/bulkwhois/live | Bulk WHOIS Lookup
|
|
155
155
|
*WhoisFreaks::WHOISApi* | [**whois_historical_or_reverse**](docs/WHOISApi.md#whois_historical_or_reverse) | **GET** /v1.0/whois | WHOIS Historical or Reverse Lookup
|
|
156
|
+
*WhoisFreaks::WHOISApi* | [**whois_history**](docs/WHOISApi.md#whois_history) | **GET** /v2.0/whois/history | Historical WHOIS records for a domain
|
|
156
157
|
*WhoisFreaks::WHOISApi* | [**whois_live**](docs/WHOISApi.md#whois_live) | **GET** /v2.0/whois/live | Live WHOIS Lookup
|
|
158
|
+
*WhoisFreaks::WHOISApi* | [**whois_reverse**](docs/WHOISApi.md#whois_reverse) | **GET** /v2.0/whois/reverse | Reverse WHOIS lookup by keyword
|
|
157
159
|
|
|
158
160
|
|
|
159
161
|
## Documentation for Models
|
data/docs/WHOISApi.md
CHANGED
|
@@ -6,7 +6,9 @@ All URIs are relative to *https://api.whoisfreaks.com*
|
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
7
|
| [**bulk_whois**](WHOISApi.md#bulk_whois) | **POST** /v2.0/bulkwhois/live | Bulk WHOIS Lookup |
|
|
8
8
|
| [**whois_historical_or_reverse**](WHOISApi.md#whois_historical_or_reverse) | **GET** /v1.0/whois | WHOIS Historical or Reverse Lookup |
|
|
9
|
+
| [**whois_history**](WHOISApi.md#whois_history) | **GET** /v2.0/whois/history | Historical WHOIS records for a domain |
|
|
9
10
|
| [**whois_live**](WHOISApi.md#whois_live) | **GET** /v2.0/whois/live | Live WHOIS Lookup |
|
|
11
|
+
| [**whois_reverse**](WHOISApi.md#whois_reverse) | **GET** /v2.0/whois/reverse | Reverse WHOIS lookup by keyword |
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
## bulk_whois
|
|
@@ -179,6 +181,83 @@ end
|
|
|
179
181
|
- **Accept**: application/json
|
|
180
182
|
|
|
181
183
|
|
|
184
|
+
## whois_history
|
|
185
|
+
|
|
186
|
+
> <WhoisHistoricalResponse> whois_history(api_key, domain_name, opts)
|
|
187
|
+
|
|
188
|
+
Historical WHOIS records for a domain
|
|
189
|
+
|
|
190
|
+
### Examples
|
|
191
|
+
|
|
192
|
+
```ruby
|
|
193
|
+
require 'time'
|
|
194
|
+
require 'whoisfreaks'
|
|
195
|
+
# setup authorization
|
|
196
|
+
WhoisFreaks.configure do |config|
|
|
197
|
+
# Configure API key authorization: ApiKeyAuth
|
|
198
|
+
config.api_key['apiKey'] = 'YOUR API KEY'
|
|
199
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
200
|
+
# config.api_key_prefix['apiKey'] = 'Bearer'
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
api_instance = WhoisFreaks::WHOISApi.new
|
|
204
|
+
api_key = 'api_key_example' # String | Your WHOISFreaks API key
|
|
205
|
+
domain_name = 'domain_name_example' # String | Domain to fetch historical WHOIS records for
|
|
206
|
+
opts = {
|
|
207
|
+
page: 56, # Integer | Page number
|
|
208
|
+
format: 'json' # String |
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
begin
|
|
212
|
+
# Historical WHOIS records for a domain
|
|
213
|
+
result = api_instance.whois_history(api_key, domain_name, opts)
|
|
214
|
+
p result
|
|
215
|
+
rescue WhoisFreaks::ApiError => e
|
|
216
|
+
puts "Error when calling WHOISApi->whois_history: #{e}"
|
|
217
|
+
end
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
#### Using the whois_history_with_http_info variant
|
|
221
|
+
|
|
222
|
+
This returns an Array which contains the response data, status code and headers.
|
|
223
|
+
|
|
224
|
+
> <Array(<WhoisHistoricalResponse>, Integer, Hash)> whois_history_with_http_info(api_key, domain_name, opts)
|
|
225
|
+
|
|
226
|
+
```ruby
|
|
227
|
+
begin
|
|
228
|
+
# Historical WHOIS records for a domain
|
|
229
|
+
data, status_code, headers = api_instance.whois_history_with_http_info(api_key, domain_name, opts)
|
|
230
|
+
p status_code # => 2xx
|
|
231
|
+
p headers # => { ... }
|
|
232
|
+
p data # => <WhoisHistoricalResponse>
|
|
233
|
+
rescue WhoisFreaks::ApiError => e
|
|
234
|
+
puts "Error when calling WHOISApi->whois_history_with_http_info: #{e}"
|
|
235
|
+
end
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### Parameters
|
|
239
|
+
|
|
240
|
+
| Name | Type | Description | Notes |
|
|
241
|
+
| ---- | ---- | ----------- | ----- |
|
|
242
|
+
| **api_key** | **String** | Your WHOISFreaks API key | |
|
|
243
|
+
| **domain_name** | **String** | Domain to fetch historical WHOIS records for | |
|
|
244
|
+
| **page** | **Integer** | Page number | [optional] |
|
|
245
|
+
| **format** | **String** | | [optional] |
|
|
246
|
+
|
|
247
|
+
### Return type
|
|
248
|
+
|
|
249
|
+
[**WhoisHistoricalResponse**](WhoisHistoricalResponse.md)
|
|
250
|
+
|
|
251
|
+
### Authorization
|
|
252
|
+
|
|
253
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
254
|
+
|
|
255
|
+
### HTTP request headers
|
|
256
|
+
|
|
257
|
+
- **Content-Type**: Not defined
|
|
258
|
+
- **Accept**: application/json
|
|
259
|
+
|
|
260
|
+
|
|
182
261
|
## whois_live
|
|
183
262
|
|
|
184
263
|
> <WhoisResponse> whois_live(api_key, domain_name, opts)
|
|
@@ -255,3 +334,80 @@ end
|
|
|
255
334
|
- **Content-Type**: Not defined
|
|
256
335
|
- **Accept**: application/json
|
|
257
336
|
|
|
337
|
+
|
|
338
|
+
## whois_reverse
|
|
339
|
+
|
|
340
|
+
> <ReverseWhoisResponse> whois_reverse(api_key, keyword, opts)
|
|
341
|
+
|
|
342
|
+
Reverse WHOIS lookup by keyword
|
|
343
|
+
|
|
344
|
+
### Examples
|
|
345
|
+
|
|
346
|
+
```ruby
|
|
347
|
+
require 'time'
|
|
348
|
+
require 'whoisfreaks'
|
|
349
|
+
# setup authorization
|
|
350
|
+
WhoisFreaks.configure do |config|
|
|
351
|
+
# Configure API key authorization: ApiKeyAuth
|
|
352
|
+
config.api_key['apiKey'] = 'YOUR API KEY'
|
|
353
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
354
|
+
# config.api_key_prefix['apiKey'] = 'Bearer'
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
api_instance = WhoisFreaks::WHOISApi.new
|
|
358
|
+
api_key = 'api_key_example' # String | Your WHOISFreaks API key
|
|
359
|
+
keyword = 'keyword_example' # String | Keyword to search across WHOIS records
|
|
360
|
+
opts = {
|
|
361
|
+
page: 56, # Integer | Page number
|
|
362
|
+
format: 'json' # String |
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
begin
|
|
366
|
+
# Reverse WHOIS lookup by keyword
|
|
367
|
+
result = api_instance.whois_reverse(api_key, keyword, opts)
|
|
368
|
+
p result
|
|
369
|
+
rescue WhoisFreaks::ApiError => e
|
|
370
|
+
puts "Error when calling WHOISApi->whois_reverse: #{e}"
|
|
371
|
+
end
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
#### Using the whois_reverse_with_http_info variant
|
|
375
|
+
|
|
376
|
+
This returns an Array which contains the response data, status code and headers.
|
|
377
|
+
|
|
378
|
+
> <Array(<ReverseWhoisResponse>, Integer, Hash)> whois_reverse_with_http_info(api_key, keyword, opts)
|
|
379
|
+
|
|
380
|
+
```ruby
|
|
381
|
+
begin
|
|
382
|
+
# Reverse WHOIS lookup by keyword
|
|
383
|
+
data, status_code, headers = api_instance.whois_reverse_with_http_info(api_key, keyword, opts)
|
|
384
|
+
p status_code # => 2xx
|
|
385
|
+
p headers # => { ... }
|
|
386
|
+
p data # => <ReverseWhoisResponse>
|
|
387
|
+
rescue WhoisFreaks::ApiError => e
|
|
388
|
+
puts "Error when calling WHOISApi->whois_reverse_with_http_info: #{e}"
|
|
389
|
+
end
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
### Parameters
|
|
393
|
+
|
|
394
|
+
| Name | Type | Description | Notes |
|
|
395
|
+
| ---- | ---- | ----------- | ----- |
|
|
396
|
+
| **api_key** | **String** | Your WHOISFreaks API key | |
|
|
397
|
+
| **keyword** | **String** | Keyword to search across WHOIS records | |
|
|
398
|
+
| **page** | **Integer** | Page number | [optional] |
|
|
399
|
+
| **format** | **String** | | [optional] |
|
|
400
|
+
|
|
401
|
+
### Return type
|
|
402
|
+
|
|
403
|
+
[**ReverseWhoisResponse**](ReverseWhoisResponse.md)
|
|
404
|
+
|
|
405
|
+
### Authorization
|
|
406
|
+
|
|
407
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
408
|
+
|
|
409
|
+
### HTTP request headers
|
|
410
|
+
|
|
411
|
+
- **Content-Type**: Not defined
|
|
412
|
+
- **Accept**: application/json
|
|
413
|
+
|
data/docs/WhoisHistoricalItem.md
CHANGED
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
| **status** | **Boolean** | | [optional] |
|
|
9
9
|
| **domain_name** | **String** | | [optional] |
|
|
10
10
|
| **query_time** | **String** | | [optional] |
|
|
11
|
+
| **whois_server** | **String** | | [optional] |
|
|
12
|
+
| **domain_registered** | **String** | | [optional] |
|
|
13
|
+
| **secure_dns** | **Boolean** | | [optional] |
|
|
14
|
+
| **domain_handle** | **String** | | [optional] |
|
|
11
15
|
| **create_date** | **String** | | [optional] |
|
|
12
16
|
| **update_date** | **String** | | [optional] |
|
|
13
17
|
| **expiry_date** | **String** | | [optional] |
|
|
@@ -17,9 +21,12 @@
|
|
|
17
21
|
| **administrative_contact** | [**PersonalInformation**](PersonalInformation.md) | | [optional] |
|
|
18
22
|
| **technical_contact** | [**PersonalInformation**](PersonalInformation.md) | | [optional] |
|
|
19
23
|
| **billing_contact** | [**PersonalInformation**](PersonalInformation.md) | | [optional] |
|
|
24
|
+
| **eligibility_info** | [**EligibilityInfo**](EligibilityInfo.md) | | [optional] |
|
|
25
|
+
| **abuse_contact** | [**RegistrarInformation**](RegistrarInformation.md) | | [optional] |
|
|
20
26
|
| **name_servers** | **Array<String>** | | [optional] |
|
|
21
27
|
| **domain_status** | **Array<String>** | | [optional] |
|
|
22
28
|
| **whois_raw_domain** | **String** | | [optional] |
|
|
29
|
+
| **registry_data** | [**RegistryData**](RegistryData.md) | | [optional] |
|
|
23
30
|
|
|
24
31
|
## Example
|
|
25
32
|
|
|
@@ -31,6 +38,10 @@ instance = WhoisFreaks::WhoisHistoricalItem.new(
|
|
|
31
38
|
status: null,
|
|
32
39
|
domain_name: null,
|
|
33
40
|
query_time: null,
|
|
41
|
+
whois_server: null,
|
|
42
|
+
domain_registered: null,
|
|
43
|
+
secure_dns: null,
|
|
44
|
+
domain_handle: null,
|
|
34
45
|
create_date: null,
|
|
35
46
|
update_date: null,
|
|
36
47
|
expiry_date: null,
|
|
@@ -40,9 +51,12 @@ instance = WhoisFreaks::WhoisHistoricalItem.new(
|
|
|
40
51
|
administrative_contact: null,
|
|
41
52
|
technical_contact: null,
|
|
42
53
|
billing_contact: null,
|
|
54
|
+
eligibility_info: null,
|
|
55
|
+
abuse_contact: null,
|
|
43
56
|
name_servers: null,
|
|
44
57
|
domain_status: null,
|
|
45
|
-
whois_raw_domain: null
|
|
58
|
+
whois_raw_domain: null,
|
|
59
|
+
registry_data: null
|
|
46
60
|
)
|
|
47
61
|
```
|
|
48
62
|
|
|
@@ -212,6 +212,85 @@ module WhoisFreaks
|
|
|
212
212
|
return data, status_code, headers
|
|
213
213
|
end
|
|
214
214
|
|
|
215
|
+
# Historical WHOIS records for a domain
|
|
216
|
+
# @param api_key [String] Your WHOISFreaks API key
|
|
217
|
+
# @param domain_name [String] Domain to fetch historical WHOIS records for
|
|
218
|
+
# @param [Hash] opts the optional parameters
|
|
219
|
+
# @option opts [Integer] :page Page number
|
|
220
|
+
# @option opts [String] :format
|
|
221
|
+
# @return [WhoisHistoricalResponse]
|
|
222
|
+
def whois_history(api_key, domain_name, opts = {})
|
|
223
|
+
data, _status_code, _headers = whois_history_with_http_info(api_key, domain_name, opts)
|
|
224
|
+
data
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
# Historical WHOIS records for a domain
|
|
228
|
+
# @param api_key [String] Your WHOISFreaks API key
|
|
229
|
+
# @param domain_name [String] Domain to fetch historical WHOIS records for
|
|
230
|
+
# @param [Hash] opts the optional parameters
|
|
231
|
+
# @option opts [Integer] :page Page number
|
|
232
|
+
# @option opts [String] :format
|
|
233
|
+
# @return [Array<(WhoisHistoricalResponse, Integer, Hash)>] WhoisHistoricalResponse data, response status code and response headers
|
|
234
|
+
def whois_history_with_http_info(api_key, domain_name, opts = {})
|
|
235
|
+
if @api_client.config.debugging
|
|
236
|
+
@api_client.config.logger.debug 'Calling API: WHOISApi.whois_history ...'
|
|
237
|
+
end
|
|
238
|
+
# verify the required parameter 'api_key' is set
|
|
239
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
|
240
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling WHOISApi.whois_history"
|
|
241
|
+
end
|
|
242
|
+
# verify the required parameter 'domain_name' is set
|
|
243
|
+
if @api_client.config.client_side_validation && domain_name.nil?
|
|
244
|
+
fail ArgumentError, "Missing the required parameter 'domain_name' when calling WHOISApi.whois_history"
|
|
245
|
+
end
|
|
246
|
+
allowable_values = ["json", "xml"]
|
|
247
|
+
if @api_client.config.client_side_validation && opts[:'format'] && !allowable_values.include?(opts[:'format'])
|
|
248
|
+
fail ArgumentError, "invalid value for \"format\", must be one of #{allowable_values}"
|
|
249
|
+
end
|
|
250
|
+
# resource path
|
|
251
|
+
local_var_path = '/v2.0/whois/history'
|
|
252
|
+
|
|
253
|
+
# query parameters
|
|
254
|
+
query_params = opts[:query_params] || {}
|
|
255
|
+
query_params[:'apiKey'] = api_key
|
|
256
|
+
query_params[:'domainName'] = domain_name
|
|
257
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
258
|
+
query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
|
|
259
|
+
|
|
260
|
+
# header parameters
|
|
261
|
+
header_params = opts[:header_params] || {}
|
|
262
|
+
# HTTP header 'Accept' (if needed)
|
|
263
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
264
|
+
|
|
265
|
+
# form parameters
|
|
266
|
+
form_params = opts[:form_params] || {}
|
|
267
|
+
|
|
268
|
+
# http body (model)
|
|
269
|
+
post_body = opts[:debug_body]
|
|
270
|
+
|
|
271
|
+
# return_type
|
|
272
|
+
return_type = opts[:debug_return_type] || 'WhoisHistoricalResponse'
|
|
273
|
+
|
|
274
|
+
# auth_names
|
|
275
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
|
276
|
+
|
|
277
|
+
new_options = opts.merge(
|
|
278
|
+
:operation => :"WHOISApi.whois_history",
|
|
279
|
+
:header_params => header_params,
|
|
280
|
+
:query_params => query_params,
|
|
281
|
+
:form_params => form_params,
|
|
282
|
+
:body => post_body,
|
|
283
|
+
:auth_names => auth_names,
|
|
284
|
+
:return_type => return_type
|
|
285
|
+
)
|
|
286
|
+
|
|
287
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
288
|
+
if @api_client.config.debugging
|
|
289
|
+
@api_client.config.logger.debug "API called: WHOISApi#whois_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
290
|
+
end
|
|
291
|
+
return data, status_code, headers
|
|
292
|
+
end
|
|
293
|
+
|
|
215
294
|
# Live WHOIS Lookup
|
|
216
295
|
# Real-time WHOIS lookup from authoritative servers. Cost 1 credit.
|
|
217
296
|
# @param api_key [String] Your WHOISFreaks API key
|
|
@@ -289,5 +368,84 @@ module WhoisFreaks
|
|
|
289
368
|
end
|
|
290
369
|
return data, status_code, headers
|
|
291
370
|
end
|
|
371
|
+
|
|
372
|
+
# Reverse WHOIS lookup by keyword
|
|
373
|
+
# @param api_key [String] Your WHOISFreaks API key
|
|
374
|
+
# @param keyword [String] Keyword to search across WHOIS records
|
|
375
|
+
# @param [Hash] opts the optional parameters
|
|
376
|
+
# @option opts [Integer] :page Page number
|
|
377
|
+
# @option opts [String] :format
|
|
378
|
+
# @return [ReverseWhoisResponse]
|
|
379
|
+
def whois_reverse(api_key, keyword, opts = {})
|
|
380
|
+
data, _status_code, _headers = whois_reverse_with_http_info(api_key, keyword, opts)
|
|
381
|
+
data
|
|
382
|
+
end
|
|
383
|
+
|
|
384
|
+
# Reverse WHOIS lookup by keyword
|
|
385
|
+
# @param api_key [String] Your WHOISFreaks API key
|
|
386
|
+
# @param keyword [String] Keyword to search across WHOIS records
|
|
387
|
+
# @param [Hash] opts the optional parameters
|
|
388
|
+
# @option opts [Integer] :page Page number
|
|
389
|
+
# @option opts [String] :format
|
|
390
|
+
# @return [Array<(ReverseWhoisResponse, Integer, Hash)>] ReverseWhoisResponse data, response status code and response headers
|
|
391
|
+
def whois_reverse_with_http_info(api_key, keyword, opts = {})
|
|
392
|
+
if @api_client.config.debugging
|
|
393
|
+
@api_client.config.logger.debug 'Calling API: WHOISApi.whois_reverse ...'
|
|
394
|
+
end
|
|
395
|
+
# verify the required parameter 'api_key' is set
|
|
396
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
|
397
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling WHOISApi.whois_reverse"
|
|
398
|
+
end
|
|
399
|
+
# verify the required parameter 'keyword' is set
|
|
400
|
+
if @api_client.config.client_side_validation && keyword.nil?
|
|
401
|
+
fail ArgumentError, "Missing the required parameter 'keyword' when calling WHOISApi.whois_reverse"
|
|
402
|
+
end
|
|
403
|
+
allowable_values = ["json", "xml"]
|
|
404
|
+
if @api_client.config.client_side_validation && opts[:'format'] && !allowable_values.include?(opts[:'format'])
|
|
405
|
+
fail ArgumentError, "invalid value for \"format\", must be one of #{allowable_values}"
|
|
406
|
+
end
|
|
407
|
+
# resource path
|
|
408
|
+
local_var_path = '/v2.0/whois/reverse'
|
|
409
|
+
|
|
410
|
+
# query parameters
|
|
411
|
+
query_params = opts[:query_params] || {}
|
|
412
|
+
query_params[:'apiKey'] = api_key
|
|
413
|
+
query_params[:'keyword'] = keyword
|
|
414
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
415
|
+
query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
|
|
416
|
+
|
|
417
|
+
# header parameters
|
|
418
|
+
header_params = opts[:header_params] || {}
|
|
419
|
+
# HTTP header 'Accept' (if needed)
|
|
420
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
421
|
+
|
|
422
|
+
# form parameters
|
|
423
|
+
form_params = opts[:form_params] || {}
|
|
424
|
+
|
|
425
|
+
# http body (model)
|
|
426
|
+
post_body = opts[:debug_body]
|
|
427
|
+
|
|
428
|
+
# return_type
|
|
429
|
+
return_type = opts[:debug_return_type] || 'ReverseWhoisResponse'
|
|
430
|
+
|
|
431
|
+
# auth_names
|
|
432
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
|
433
|
+
|
|
434
|
+
new_options = opts.merge(
|
|
435
|
+
:operation => :"WHOISApi.whois_reverse",
|
|
436
|
+
:header_params => header_params,
|
|
437
|
+
:query_params => query_params,
|
|
438
|
+
:form_params => form_params,
|
|
439
|
+
:body => post_body,
|
|
440
|
+
:auth_names => auth_names,
|
|
441
|
+
:return_type => return_type
|
|
442
|
+
)
|
|
443
|
+
|
|
444
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
445
|
+
if @api_client.config.debugging
|
|
446
|
+
@api_client.config.logger.debug "API called: WHOISApi#whois_reverse\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
447
|
+
end
|
|
448
|
+
return data, status_code, headers
|
|
449
|
+
end
|
|
292
450
|
end
|
|
293
451
|
end
|
|
@@ -14,6 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module WhoisFreaks
|
|
17
|
+
# Reverse WHOIS response. Pagination keys are capitalized (Total_Result/Total_Pages/Current_Page) as returned by the API.
|
|
17
18
|
class ReverseWhoisResponse
|
|
18
19
|
attr_accessor :total_result
|
|
19
20
|
|
|
@@ -26,9 +27,9 @@ module WhoisFreaks
|
|
|
26
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
28
|
def self.attribute_map
|
|
28
29
|
{
|
|
29
|
-
:'total_result' => :'
|
|
30
|
-
:'total_pages' => :'
|
|
31
|
-
:'current_page' => :'
|
|
30
|
+
:'total_result' => :'Total_Result',
|
|
31
|
+
:'total_pages' => :'Total_Pages',
|
|
32
|
+
:'current_page' => :'Current_Page',
|
|
32
33
|
:'whois_domains_historical' => :'whois_domains_historical'
|
|
33
34
|
}
|
|
34
35
|
end
|
|
@@ -23,6 +23,14 @@ module WhoisFreaks
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :query_time
|
|
25
25
|
|
|
26
|
+
attr_accessor :whois_server
|
|
27
|
+
|
|
28
|
+
attr_accessor :domain_registered
|
|
29
|
+
|
|
30
|
+
attr_accessor :secure_dns
|
|
31
|
+
|
|
32
|
+
attr_accessor :domain_handle
|
|
33
|
+
|
|
26
34
|
attr_accessor :create_date
|
|
27
35
|
|
|
28
36
|
attr_accessor :update_date
|
|
@@ -41,12 +49,18 @@ module WhoisFreaks
|
|
|
41
49
|
|
|
42
50
|
attr_accessor :billing_contact
|
|
43
51
|
|
|
52
|
+
attr_accessor :eligibility_info
|
|
53
|
+
|
|
54
|
+
attr_accessor :abuse_contact
|
|
55
|
+
|
|
44
56
|
attr_accessor :name_servers
|
|
45
57
|
|
|
46
58
|
attr_accessor :domain_status
|
|
47
59
|
|
|
48
60
|
attr_accessor :whois_raw_domain
|
|
49
61
|
|
|
62
|
+
attr_accessor :registry_data
|
|
63
|
+
|
|
50
64
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
51
65
|
def self.attribute_map
|
|
52
66
|
{
|
|
@@ -54,6 +68,10 @@ module WhoisFreaks
|
|
|
54
68
|
:'status' => :'status',
|
|
55
69
|
:'domain_name' => :'domain_name',
|
|
56
70
|
:'query_time' => :'query_time',
|
|
71
|
+
:'whois_server' => :'whois_server',
|
|
72
|
+
:'domain_registered' => :'domain_registered',
|
|
73
|
+
:'secure_dns' => :'secure_dns',
|
|
74
|
+
:'domain_handle' => :'domain_handle',
|
|
57
75
|
:'create_date' => :'create_date',
|
|
58
76
|
:'update_date' => :'update_date',
|
|
59
77
|
:'expiry_date' => :'expiry_date',
|
|
@@ -63,9 +81,12 @@ module WhoisFreaks
|
|
|
63
81
|
:'administrative_contact' => :'administrative_contact',
|
|
64
82
|
:'technical_contact' => :'technical_contact',
|
|
65
83
|
:'billing_contact' => :'billing_contact',
|
|
84
|
+
:'eligibility_info' => :'eligibility_info',
|
|
85
|
+
:'abuse_contact' => :'abuse_contact',
|
|
66
86
|
:'name_servers' => :'name_servers',
|
|
67
87
|
:'domain_status' => :'domain_status',
|
|
68
|
-
:'whois_raw_domain' => :'whois_raw_domain'
|
|
88
|
+
:'whois_raw_domain' => :'whois_raw_domain',
|
|
89
|
+
:'registry_data' => :'registry_data'
|
|
69
90
|
}
|
|
70
91
|
end
|
|
71
92
|
|
|
@@ -81,6 +102,10 @@ module WhoisFreaks
|
|
|
81
102
|
:'status' => :'Boolean',
|
|
82
103
|
:'domain_name' => :'String',
|
|
83
104
|
:'query_time' => :'String',
|
|
105
|
+
:'whois_server' => :'String',
|
|
106
|
+
:'domain_registered' => :'String',
|
|
107
|
+
:'secure_dns' => :'Boolean',
|
|
108
|
+
:'domain_handle' => :'String',
|
|
84
109
|
:'create_date' => :'String',
|
|
85
110
|
:'update_date' => :'String',
|
|
86
111
|
:'expiry_date' => :'String',
|
|
@@ -90,9 +115,12 @@ module WhoisFreaks
|
|
|
90
115
|
:'administrative_contact' => :'PersonalInformation',
|
|
91
116
|
:'technical_contact' => :'PersonalInformation',
|
|
92
117
|
:'billing_contact' => :'PersonalInformation',
|
|
118
|
+
:'eligibility_info' => :'EligibilityInfo',
|
|
119
|
+
:'abuse_contact' => :'RegistrarInformation',
|
|
93
120
|
:'name_servers' => :'Array<String>',
|
|
94
121
|
:'domain_status' => :'Array<String>',
|
|
95
|
-
:'whois_raw_domain' => :'String'
|
|
122
|
+
:'whois_raw_domain' => :'String',
|
|
123
|
+
:'registry_data' => :'RegistryData'
|
|
96
124
|
}
|
|
97
125
|
end
|
|
98
126
|
|
|
@@ -133,6 +161,22 @@ module WhoisFreaks
|
|
|
133
161
|
self.query_time = attributes[:'query_time']
|
|
134
162
|
end
|
|
135
163
|
|
|
164
|
+
if attributes.key?(:'whois_server')
|
|
165
|
+
self.whois_server = attributes[:'whois_server']
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
if attributes.key?(:'domain_registered')
|
|
169
|
+
self.domain_registered = attributes[:'domain_registered']
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
if attributes.key?(:'secure_dns')
|
|
173
|
+
self.secure_dns = attributes[:'secure_dns']
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
if attributes.key?(:'domain_handle')
|
|
177
|
+
self.domain_handle = attributes[:'domain_handle']
|
|
178
|
+
end
|
|
179
|
+
|
|
136
180
|
if attributes.key?(:'create_date')
|
|
137
181
|
self.create_date = attributes[:'create_date']
|
|
138
182
|
end
|
|
@@ -169,6 +213,14 @@ module WhoisFreaks
|
|
|
169
213
|
self.billing_contact = attributes[:'billing_contact']
|
|
170
214
|
end
|
|
171
215
|
|
|
216
|
+
if attributes.key?(:'eligibility_info')
|
|
217
|
+
self.eligibility_info = attributes[:'eligibility_info']
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
if attributes.key?(:'abuse_contact')
|
|
221
|
+
self.abuse_contact = attributes[:'abuse_contact']
|
|
222
|
+
end
|
|
223
|
+
|
|
172
224
|
if attributes.key?(:'name_servers')
|
|
173
225
|
if (value = attributes[:'name_servers']).is_a?(Array)
|
|
174
226
|
self.name_servers = value
|
|
@@ -184,6 +236,10 @@ module WhoisFreaks
|
|
|
184
236
|
if attributes.key?(:'whois_raw_domain')
|
|
185
237
|
self.whois_raw_domain = attributes[:'whois_raw_domain']
|
|
186
238
|
end
|
|
239
|
+
|
|
240
|
+
if attributes.key?(:'registry_data')
|
|
241
|
+
self.registry_data = attributes[:'registry_data']
|
|
242
|
+
end
|
|
187
243
|
end
|
|
188
244
|
|
|
189
245
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -210,6 +266,10 @@ module WhoisFreaks
|
|
|
210
266
|
status == o.status &&
|
|
211
267
|
domain_name == o.domain_name &&
|
|
212
268
|
query_time == o.query_time &&
|
|
269
|
+
whois_server == o.whois_server &&
|
|
270
|
+
domain_registered == o.domain_registered &&
|
|
271
|
+
secure_dns == o.secure_dns &&
|
|
272
|
+
domain_handle == o.domain_handle &&
|
|
213
273
|
create_date == o.create_date &&
|
|
214
274
|
update_date == o.update_date &&
|
|
215
275
|
expiry_date == o.expiry_date &&
|
|
@@ -219,9 +279,12 @@ module WhoisFreaks
|
|
|
219
279
|
administrative_contact == o.administrative_contact &&
|
|
220
280
|
technical_contact == o.technical_contact &&
|
|
221
281
|
billing_contact == o.billing_contact &&
|
|
282
|
+
eligibility_info == o.eligibility_info &&
|
|
283
|
+
abuse_contact == o.abuse_contact &&
|
|
222
284
|
name_servers == o.name_servers &&
|
|
223
285
|
domain_status == o.domain_status &&
|
|
224
|
-
whois_raw_domain == o.whois_raw_domain
|
|
286
|
+
whois_raw_domain == o.whois_raw_domain &&
|
|
287
|
+
registry_data == o.registry_data
|
|
225
288
|
end
|
|
226
289
|
|
|
227
290
|
# @see the `==` method
|
|
@@ -233,7 +296,7 @@ module WhoisFreaks
|
|
|
233
296
|
# Calculates hash code according to all attributes.
|
|
234
297
|
# @return [Integer] Hash code
|
|
235
298
|
def hash
|
|
236
|
-
[num, status, domain_name, query_time, create_date, update_date, expiry_date, domain_registrar, reseller_contact, registrant_contact, administrative_contact, technical_contact, billing_contact, name_servers, domain_status, whois_raw_domain].hash
|
|
299
|
+
[num, status, domain_name, query_time, whois_server, domain_registered, secure_dns, domain_handle, create_date, update_date, expiry_date, domain_registrar, reseller_contact, registrant_contact, administrative_contact, technical_contact, billing_contact, eligibility_info, abuse_contact, name_servers, domain_status, whois_raw_domain, registry_data].hash
|
|
237
300
|
end
|
|
238
301
|
|
|
239
302
|
# Builds the object from hash
|
data/lib/whoisfreaks/version.rb
CHANGED
data/spec/api/whois_api_spec.rb
CHANGED
|
@@ -68,6 +68,20 @@ describe 'WHOISApi' do
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
+
# unit tests for whois_history
|
|
72
|
+
# Historical WHOIS records for a domain
|
|
73
|
+
# @param api_key Your WHOISFreaks API key
|
|
74
|
+
# @param domain_name Domain to fetch historical WHOIS records for
|
|
75
|
+
# @param [Hash] opts the optional parameters
|
|
76
|
+
# @option opts [Integer] :page Page number
|
|
77
|
+
# @option opts [String] :format
|
|
78
|
+
# @return [WhoisHistoricalResponse]
|
|
79
|
+
describe 'whois_history test' do
|
|
80
|
+
it 'should work' do
|
|
81
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
71
85
|
# unit tests for whois_live
|
|
72
86
|
# Live WHOIS Lookup
|
|
73
87
|
# Real-time WHOIS lookup from authoritative servers. Cost 1 credit.
|
|
@@ -82,4 +96,18 @@ describe 'WHOISApi' do
|
|
|
82
96
|
end
|
|
83
97
|
end
|
|
84
98
|
|
|
99
|
+
# unit tests for whois_reverse
|
|
100
|
+
# Reverse WHOIS lookup by keyword
|
|
101
|
+
# @param api_key Your WHOISFreaks API key
|
|
102
|
+
# @param keyword Keyword to search across WHOIS records
|
|
103
|
+
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @option opts [Integer] :page Page number
|
|
105
|
+
# @option opts [String] :format
|
|
106
|
+
# @return [ReverseWhoisResponse]
|
|
107
|
+
describe 'whois_reverse test' do
|
|
108
|
+
it 'should work' do
|
|
109
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
85
113
|
end
|
|
@@ -51,6 +51,30 @@ describe WhoisFreaks::WhoisHistoricalItem do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "whois_server"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "domain_registered"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "secure_dns"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "domain_handle"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
54
78
|
describe 'test attribute "create_date"' do
|
|
55
79
|
it 'should work' do
|
|
56
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -105,6 +129,18 @@ describe WhoisFreaks::WhoisHistoricalItem do
|
|
|
105
129
|
end
|
|
106
130
|
end
|
|
107
131
|
|
|
132
|
+
describe 'test attribute "eligibility_info"' do
|
|
133
|
+
it 'should work' do
|
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
describe 'test attribute "abuse_contact"' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
108
144
|
describe 'test attribute "name_servers"' do
|
|
109
145
|
it 'should work' do
|
|
110
146
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -123,4 +159,10 @@ describe WhoisFreaks::WhoisHistoricalItem do
|
|
|
123
159
|
end
|
|
124
160
|
end
|
|
125
161
|
|
|
162
|
+
describe 'test attribute "registry_data"' do
|
|
163
|
+
it 'should work' do
|
|
164
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
126
168
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: whoisfreaks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.19.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -427,105 +427,105 @@ signing_key:
|
|
|
427
427
|
specification_version: 4
|
|
428
428
|
summary: WhoisFreaks API Ruby Gem
|
|
429
429
|
test_files:
|
|
430
|
-
- spec/api/
|
|
430
|
+
- spec/api/dns_api_spec.rb
|
|
431
431
|
- spec/api/domain_reputation_api_spec.rb
|
|
432
|
-
- spec/api/databases_dns_api_spec.rb
|
|
433
|
-
- spec/api/typosquatting_api_spec.rb
|
|
434
|
-
- spec/api/ip_reputation_api_spec.rb
|
|
435
432
|
- spec/api/databases_expiring_dropped_api_spec.rb
|
|
436
|
-
- spec/api/
|
|
437
|
-
- spec/api/databases_ip_geolocation_api_spec.rb
|
|
438
|
-
- spec/api/databases_ipwhois_api_spec.rb
|
|
433
|
+
- spec/api/account_api_spec.rb
|
|
439
434
|
- spec/api/ipwhois_api_spec.rb
|
|
440
|
-
- spec/api/
|
|
441
|
-
- spec/api/databases_whois_api_spec.rb
|
|
435
|
+
- spec/api/databases_asnwhois_api_spec.rb
|
|
442
436
|
- spec/api/asnwhois_api_spec.rb
|
|
443
|
-
- spec/api/
|
|
437
|
+
- spec/api/ip_reputation_api_spec.rb
|
|
438
|
+
- spec/api/databases_whois_api_spec.rb
|
|
439
|
+
- spec/api/databases_ip_geolocation_api_spec.rb
|
|
444
440
|
- spec/api/databases_newly_registered_api_spec.rb
|
|
441
|
+
- spec/api/databases_ipwhois_api_spec.rb
|
|
442
|
+
- spec/api/databases_dns_api_spec.rb
|
|
445
443
|
- spec/api/databases_subdomains_api_spec.rb
|
|
446
|
-
- spec/api/databases_asnwhois_api_spec.rb
|
|
447
|
-
- spec/api/dns_api_spec.rb
|
|
448
444
|
- spec/api/domain_availability_api_spec.rb
|
|
445
|
+
- spec/api/geolocation_api_spec.rb
|
|
446
|
+
- spec/api/databases_ip_security_api_spec.rb
|
|
449
447
|
- spec/api/whois_api_spec.rb
|
|
448
|
+
- spec/api/typosquatting_api_spec.rb
|
|
450
449
|
- spec/api/subdomains_api_spec.rb
|
|
451
|
-
- spec/
|
|
452
|
-
- spec/models/whois_historical_response_spec.rb
|
|
453
|
-
- spec/models/personal_information_spec.rb
|
|
454
|
-
- spec/models/reputation_signal_spec.rb
|
|
455
|
-
- spec/models/ip_security_asn_spec.rb
|
|
456
|
-
- spec/models/whois_historical_item_spec.rb
|
|
457
|
-
- spec/models/date_range_status_spec.rb
|
|
458
|
-
- spec/models/ssl_response_spec.rb
|
|
459
|
-
- spec/models/bulk_whois_request_spec.rb
|
|
460
|
-
- spec/models/bulk_domain_availability_response_spec.rb
|
|
461
|
-
- spec/models/database_updates_spec.rb
|
|
462
|
-
- spec/models/ssl_authority_info_spec.rb
|
|
463
|
-
- spec/models/geo_company_spec.rb
|
|
464
|
-
- spec/models/reputation_intelligence_spec.rb
|
|
465
|
-
- spec/models/domain_availability_response_spec.rb
|
|
466
|
-
- spec/models/whois_organization_spec.rb
|
|
467
|
-
- spec/models/ip_reputation_response_spec.rb
|
|
468
|
-
- spec/models/geo_asn_spec.rb
|
|
469
|
-
- spec/models/historical_dns_response_spec.rb
|
|
470
|
-
- spec/models/ip_security_network_spec.rb
|
|
471
|
-
- spec/models/reputation_signals_spec.rb
|
|
472
|
-
- spec/models/reverse_dns_response_spec.rb
|
|
473
|
-
- spec/models/threat_source_spec.rb
|
|
474
|
-
- spec/models/domain_reputation_response_spec.rb
|
|
475
|
-
- spec/models/newly_status_spec.rb
|
|
476
|
-
- spec/models/related_ioc_spec.rb
|
|
477
|
-
- spec/models/asn_info_spec.rb
|
|
478
|
-
- spec/models/evidence_summary_spec.rb
|
|
479
|
-
- spec/models/dns_record_spec.rb
|
|
480
|
-
- spec/models/reseller_contact_spec.rb
|
|
450
|
+
- spec/api/ssl_api_spec.rb
|
|
481
451
|
- spec/models/ip_location_spec.rb
|
|
482
|
-
- spec/models/dga_features_spec.rb
|
|
483
|
-
- spec/models/route_spec.rb
|
|
484
|
-
- spec/models/ip_security_spec.rb
|
|
485
452
|
- spec/models/ssl_unit_info_spec.rb
|
|
486
|
-
- spec/models/
|
|
487
|
-
- spec/models/
|
|
453
|
+
- spec/models/subdomain_spec.rb
|
|
454
|
+
- spec/models/dga_features_spec.rb
|
|
455
|
+
- spec/models/database_file_status_spec.rb
|
|
456
|
+
- spec/models/asn_info_spec.rb
|
|
457
|
+
- spec/models/api_credits_spec.rb
|
|
488
458
|
- spec/models/country_metadata_spec.rb
|
|
489
|
-
- spec/models/
|
|
459
|
+
- spec/models/reverse_whois_response_spec.rb
|
|
460
|
+
- spec/models/domain_reputation_input_spec.rb
|
|
461
|
+
- spec/models/date_range_status_spec.rb
|
|
462
|
+
- spec/models/domain_reputation_response_spec.rb
|
|
463
|
+
- spec/models/reputation_signal_spec.rb
|
|
464
|
+
- spec/models/reputation_intelligence_spec.rb
|
|
465
|
+
- spec/models/route_spec.rb
|
|
466
|
+
- spec/models/ssl_response_spec.rb
|
|
467
|
+
- spec/models/trust_signals_spec.rb
|
|
490
468
|
- spec/models/ip_whois_response_spec.rb
|
|
491
|
-
- spec/models/
|
|
492
|
-
- spec/models/
|
|
493
|
-
- spec/models/
|
|
469
|
+
- spec/models/dns_response_spec.rb
|
|
470
|
+
- spec/models/typosquatting_domain_spec.rb
|
|
471
|
+
- spec/models/domain_availability_item_spec.rb
|
|
494
472
|
- spec/models/asn_whois_response_spec.rb
|
|
495
|
-
- spec/models/
|
|
496
|
-
- spec/models/
|
|
497
|
-
- spec/models/
|
|
473
|
+
- spec/models/geo_asn_spec.rb
|
|
474
|
+
- spec/models/snapshot_status_spec.rb
|
|
475
|
+
- spec/models/ip_security_spec.rb
|
|
476
|
+
- spec/models/ssl_extensions_info_spec.rb
|
|
477
|
+
- spec/models/ip_reputation_response_spec.rb
|
|
478
|
+
- spec/models/ssl_public_key_info_spec.rb
|
|
479
|
+
- spec/models/ip_security_network_spec.rb
|
|
498
480
|
- spec/models/risk_category_spec.rb
|
|
499
|
-
- spec/models/
|
|
500
|
-
- spec/models/dns_response_spec.rb
|
|
501
|
-
- spec/models/subdomain_spec.rb
|
|
502
|
-
- spec/models/bulk_dns_response_spec.rb
|
|
503
|
-
- spec/models/dns_bulk_request_spec.rb
|
|
504
|
-
- spec/models/bulk_whois_response_spec.rb
|
|
505
|
-
- spec/models/account_usage_response_spec.rb
|
|
506
|
-
- spec/models/dga_score_spec.rb
|
|
481
|
+
- spec/models/update_frequencies_spec.rb
|
|
507
482
|
- spec/models/whois_role_spec.rb
|
|
483
|
+
- spec/models/reputation_indicators_spec.rb
|
|
484
|
+
- spec/models/asn_peer_spec.rb
|
|
508
485
|
- spec/models/whois_person_spec.rb
|
|
509
|
-
- spec/models/
|
|
510
|
-
- spec/models/
|
|
511
|
-
- spec/models/
|
|
512
|
-
- spec/models/
|
|
486
|
+
- spec/models/dns_bulk_request_spec.rb
|
|
487
|
+
- spec/models/related_ioc_spec.rb
|
|
488
|
+
- spec/models/whois_historical_item_spec.rb
|
|
489
|
+
- spec/models/api_subscription_spec.rb
|
|
490
|
+
- spec/models/bulk_domain_availability_request_spec.rb
|
|
491
|
+
- spec/models/database_updates_spec.rb
|
|
492
|
+
- spec/models/historical_dns_response_spec.rb
|
|
493
|
+
- spec/models/typosquatting_response_spec.rb
|
|
494
|
+
- spec/models/error_response_spec.rb
|
|
495
|
+
- spec/models/whois_response_spec.rb
|
|
496
|
+
- spec/models/bulk_domain_availability_response_spec.rb
|
|
513
497
|
- spec/models/geo_network_spec.rb
|
|
514
|
-
- spec/models/
|
|
515
|
-
- spec/models/
|
|
498
|
+
- spec/models/ssl_alternate_names_spec.rb
|
|
499
|
+
- spec/models/reputation_signals_spec.rb
|
|
500
|
+
- spec/models/pivot_match_spec.rb
|
|
501
|
+
- spec/models/bulk_whois_request_spec.rb
|
|
502
|
+
- spec/models/ssl_certificate_policy_spec.rb
|
|
516
503
|
- spec/models/bulk_geolocation_request_spec.rb
|
|
517
|
-
- spec/models/
|
|
518
|
-
- spec/models/
|
|
519
|
-
- spec/models/
|
|
520
|
-
- spec/models/
|
|
504
|
+
- spec/models/bulk_whois_response_spec.rb
|
|
505
|
+
- spec/models/dns_record_spec.rb
|
|
506
|
+
- spec/models/geo_company_spec.rb
|
|
507
|
+
- spec/models/ssl_certificate_spec.rb
|
|
508
|
+
- spec/models/ssl_authority_info_spec.rb
|
|
521
509
|
- spec/models/inet_num_spec.rb
|
|
522
|
-
- spec/models/
|
|
510
|
+
- spec/models/account_usage_response_spec.rb
|
|
511
|
+
- spec/models/ip_security_asn_spec.rb
|
|
512
|
+
- spec/models/bulk_dns_response_spec.rb
|
|
513
|
+
- spec/models/reverse_dns_response_spec.rb
|
|
523
514
|
- spec/models/registrar_information_spec.rb
|
|
524
|
-
- spec/models/whois_response_spec.rb
|
|
525
|
-
- spec/models/api_subscription_spec.rb
|
|
526
|
-
- spec/models/database_file_status_spec.rb
|
|
527
515
|
- spec/models/geolocation_response_spec.rb
|
|
528
|
-
- spec/models/
|
|
529
|
-
- spec/models/
|
|
530
|
-
- spec/models/
|
|
516
|
+
- spec/models/personal_information_spec.rb
|
|
517
|
+
- spec/models/reseller_contact_spec.rb
|
|
518
|
+
- spec/models/irt_spec.rb
|
|
519
|
+
- spec/models/bulk_whois_item_spec.rb
|
|
520
|
+
- spec/models/whois_organization_spec.rb
|
|
521
|
+
- spec/models/subdomains_response_spec.rb
|
|
522
|
+
- spec/models/registry_data_spec.rb
|
|
523
|
+
- spec/models/currency_spec.rb
|
|
524
|
+
- spec/models/evidence_summary_spec.rb
|
|
525
|
+
- spec/models/whois_historical_response_spec.rb
|
|
526
|
+
- spec/models/domain_availability_response_spec.rb
|
|
527
|
+
- spec/models/newly_status_spec.rb
|
|
528
|
+
- spec/models/threat_source_spec.rb
|
|
529
|
+
- spec/models/eligibility_info_spec.rb
|
|
530
|
+
- spec/models/dga_score_spec.rb
|
|
531
531
|
- spec/spec_helper.rb
|