whoisfreaks 0.19.0 → 0.20.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.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -7
  3. data/docs/ASNWHOISApi.md +4 -6
  4. data/docs/AccountApi.md +10 -16
  5. data/docs/DNSApi.md +16 -24
  6. data/docs/DatabasesASNWHOISApi.md +9 -14
  7. data/docs/DatabasesDNSApi.md +12 -18
  8. data/docs/DatabasesExpiringDroppedApi.md +20 -30
  9. data/docs/DatabasesIPGeolocationApi.md +18 -28
  10. data/docs/DatabasesIPSecurityApi.md +9 -14
  11. data/docs/DatabasesIPWHOISApi.md +9 -14
  12. data/docs/DatabasesNewlyRegisteredApi.md +28 -42
  13. data/docs/DatabasesSubdomainsApi.md +12 -18
  14. data/docs/DatabasesWHOISApi.md +12 -18
  15. data/docs/DomainAvailabilityApi.md +8 -12
  16. data/docs/DomainReputationApi.md +4 -6
  17. data/docs/GeolocationApi.md +8 -12
  18. data/docs/IPReputationApi.md +8 -12
  19. data/docs/IPWHOISApi.md +4 -6
  20. data/docs/SSLApi.md +4 -6
  21. data/docs/SubdomainsApi.md +4 -6
  22. data/docs/TyposquattingApi.md +4 -6
  23. data/docs/WHOISApi.md +16 -118
  24. data/lib/whoisfreaks/api/account_api.rb +6 -20
  25. data/lib/whoisfreaks/api/asnwhois_api.rb +3 -10
  26. data/lib/whoisfreaks/api/databases_asnwhois_api.rb +6 -20
  27. data/lib/whoisfreaks/api/databases_dns_api.rb +9 -30
  28. data/lib/whoisfreaks/api/databases_expiring_dropped_api.rb +15 -50
  29. data/lib/whoisfreaks/api/databases_ip_geolocation_api.rb +12 -40
  30. data/lib/whoisfreaks/api/databases_ip_security_api.rb +6 -20
  31. data/lib/whoisfreaks/api/databases_ipwhois_api.rb +6 -20
  32. data/lib/whoisfreaks/api/databases_newly_registered_api.rb +21 -70
  33. data/lib/whoisfreaks/api/databases_subdomains_api.rb +9 -30
  34. data/lib/whoisfreaks/api/databases_whois_api.rb +9 -30
  35. data/lib/whoisfreaks/api/dns_api.rb +12 -40
  36. data/lib/whoisfreaks/api/domain_availability_api.rb +6 -20
  37. data/lib/whoisfreaks/api/domain_reputation_api.rb +3 -10
  38. data/lib/whoisfreaks/api/geolocation_api.rb +6 -20
  39. data/lib/whoisfreaks/api/ip_reputation_api.rb +6 -20
  40. data/lib/whoisfreaks/api/ipwhois_api.rb +3 -10
  41. data/lib/whoisfreaks/api/ssl_api.rb +3 -10
  42. data/lib/whoisfreaks/api/subdomains_api.rb +3 -10
  43. data/lib/whoisfreaks/api/typosquatting_api.rb +3 -10
  44. data/lib/whoisfreaks/api/whois_api.rb +12 -151
  45. data/lib/whoisfreaks/version.rb +1 -1
  46. data/spec/api/account_api_spec.rb +0 -2
  47. data/spec/api/asnwhois_api_spec.rb +0 -1
  48. data/spec/api/databases_asnwhois_api_spec.rb +0 -2
  49. data/spec/api/databases_dns_api_spec.rb +0 -3
  50. data/spec/api/databases_expiring_dropped_api_spec.rb +0 -5
  51. data/spec/api/databases_ip_geolocation_api_spec.rb +0 -4
  52. data/spec/api/databases_ip_security_api_spec.rb +0 -2
  53. data/spec/api/databases_ipwhois_api_spec.rb +0 -2
  54. data/spec/api/databases_newly_registered_api_spec.rb +0 -7
  55. data/spec/api/databases_subdomains_api_spec.rb +0 -3
  56. data/spec/api/databases_whois_api_spec.rb +0 -3
  57. data/spec/api/dns_api_spec.rb +0 -4
  58. data/spec/api/domain_availability_api_spec.rb +0 -2
  59. data/spec/api/domain_reputation_api_spec.rb +0 -1
  60. data/spec/api/geolocation_api_spec.rb +0 -2
  61. data/spec/api/ip_reputation_api_spec.rb +0 -2
  62. data/spec/api/ipwhois_api_spec.rb +0 -1
  63. data/spec/api/ssl_api_spec.rb +0 -1
  64. data/spec/api/subdomains_api_spec.rb +0 -1
  65. data/spec/api/typosquatting_api_spec.rb +0 -1
  66. data/spec/api/whois_api_spec.rb +0 -26
  67. metadata +81 -81
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cdd3e2dd7a325a7e01bcb758e51406a2a580ea8a013093cd351e2f3a660b5d34
4
- data.tar.gz: 3f9da3539bfb4832a6e498684bfbe5bc5f9795c6d22669c09fcefe3ffe3af39f
3
+ metadata.gz: 016ea96af24d424dd3cf5cb1467a879ba31361e692cff420115c5db70038234d
4
+ data.tar.gz: f0dee67a984693987e683ce795bc36a0a2cd491e06db9b2e6bd05f18137d0398
5
5
  SHA512:
6
- metadata.gz: bd0d5f894a10993f653725d035024dc7bb4775a5cb17cc6daddac451e6fdda55847b0e1255a58e966b4d238dff384afed6ad02188c59f373f35df730953d8712
7
- data.tar.gz: 8bd7871f0ada9e5f8ec0504aaaa1798ea31ff8738c4c4925336dab77ee06950bbd39d19d67a3289b2037a2662315de192d630e9cc583684680074346c9f891f5
6
+ metadata.gz: a3efd3e0008b60cfff06da0277756ff12dce38e6b12256df59ba3e4b0073759e3b1d646a528f4cb25d0e22a8d5c6434d808e1235f3a820270b39e1b6ef86d00e
7
+ data.tar.gz: 83946c0c5e8e0ece62547de3489be7617d73dbc093fc105893fd5213af072fbd6b7b45974a40fb4840ff1248bb5dd8f947b2b2f93715712a2fe02b14f433de25
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.19.0
20
+ - Package version: 0.20.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.19.0.gem
38
+ gem install ./whoisfreaks-0.20.0.gem
39
39
  ```
40
40
 
41
- (for development, run `gem install --dev ./whoisfreaks-0.19.0.gem` to install the development dependencies)
41
+ (for development, run `gem install --dev ./whoisfreaks-0.20.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.19.0'
47
+ gem 'whoisfreaks', '~> 0.20.0'
48
48
 
49
49
  ### Install from Git
50
50
 
@@ -79,7 +79,6 @@ WhoisFreaks.configure do |config|
79
79
  end
80
80
 
81
81
  api_instance = WhoisFreaks::ASNWHOISApi.new
82
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
83
82
  asn = 'as15169' # String |
84
83
  opts = {
85
84
  format: 'json' # String |
@@ -87,7 +86,7 @@ opts = {
87
86
 
88
87
  begin
89
88
  #ASN WHOIS Lookup
90
- result = api_instance.asn_whois(api_key, asn, opts)
89
+ result = api_instance.asn_whois(asn, opts)
91
90
  p result
92
91
  rescue WhoisFreaks::ApiError => e
93
92
  puts "Exception when calling ASNWHOISApi->asn_whois: #{e}"
@@ -152,7 +151,6 @@ Class | Method | HTTP request | Description
152
151
  *WhoisFreaks::SubdomainsApi* | [**subdomains**](docs/SubdomainsApi.md#subdomains) | **GET** /v1.0/subdomains | Subdomains Lookup
153
152
  *WhoisFreaks::TyposquattingApi* | [**typosquatting**](docs/TyposquattingApi.md#typosquatting) | **GET** /v3.0/domain/typos | Typosquatting Lookup
154
153
  *WhoisFreaks::WHOISApi* | [**bulk_whois**](docs/WHOISApi.md#bulk_whois) | **POST** /v2.0/bulkwhois/live | Bulk WHOIS Lookup
155
- *WhoisFreaks::WHOISApi* | [**whois_historical_or_reverse**](docs/WHOISApi.md#whois_historical_or_reverse) | **GET** /v1.0/whois | WHOIS Historical or Reverse Lookup
156
154
  *WhoisFreaks::WHOISApi* | [**whois_history**](docs/WHOISApi.md#whois_history) | **GET** /v2.0/whois/history | Historical WHOIS records for a domain
157
155
  *WhoisFreaks::WHOISApi* | [**whois_live**](docs/WHOISApi.md#whois_live) | **GET** /v2.0/whois/live | Live WHOIS Lookup
158
156
  *WhoisFreaks::WHOISApi* | [**whois_reverse**](docs/WHOISApi.md#whois_reverse) | **GET** /v2.0/whois/reverse | Reverse WHOIS lookup by keyword
data/docs/ASNWHOISApi.md CHANGED
@@ -9,7 +9,7 @@ All URIs are relative to *https://api.whoisfreaks.com*
9
9
 
10
10
  ## asn_whois
11
11
 
12
- > <AsnWhoisResponse> asn_whois(api_key, asn, opts)
12
+ > <AsnWhoisResponse> asn_whois(asn, opts)
13
13
 
14
14
  ASN WHOIS Lookup
15
15
 
@@ -29,7 +29,6 @@ WhoisFreaks.configure do |config|
29
29
  end
30
30
 
31
31
  api_instance = WhoisFreaks::ASNWHOISApi.new
32
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
33
32
  asn = 'as15169' # String |
34
33
  opts = {
35
34
  format: 'json' # String |
@@ -37,7 +36,7 @@ opts = {
37
36
 
38
37
  begin
39
38
  # ASN WHOIS Lookup
40
- result = api_instance.asn_whois(api_key, asn, opts)
39
+ result = api_instance.asn_whois(asn, opts)
41
40
  p result
42
41
  rescue WhoisFreaks::ApiError => e
43
42
  puts "Error when calling ASNWHOISApi->asn_whois: #{e}"
@@ -48,12 +47,12 @@ end
48
47
 
49
48
  This returns an Array which contains the response data, status code and headers.
50
49
 
51
- > <Array(<AsnWhoisResponse>, Integer, Hash)> asn_whois_with_http_info(api_key, asn, opts)
50
+ > <Array(<AsnWhoisResponse>, Integer, Hash)> asn_whois_with_http_info(asn, opts)
52
51
 
53
52
  ```ruby
54
53
  begin
55
54
  # ASN WHOIS Lookup
56
- data, status_code, headers = api_instance.asn_whois_with_http_info(api_key, asn, opts)
55
+ data, status_code, headers = api_instance.asn_whois_with_http_info(asn, opts)
57
56
  p status_code # => 2xx
58
57
  p headers # => { ... }
59
58
  p data # => <AsnWhoisResponse>
@@ -66,7 +65,6 @@ end
66
65
 
67
66
  | Name | Type | Description | Notes |
68
67
  | ---- | ---- | ----------- | ----- |
69
- | **api_key** | **String** | Your WHOISFreaks API key | |
70
68
  | **asn** | **String** | | |
71
69
  | **format** | **String** | | [optional][default to &#39;json&#39;] |
72
70
 
data/docs/AccountApi.md CHANGED
@@ -11,7 +11,7 @@ All URIs are relative to *https://api.whoisfreaks.com*
11
11
 
12
12
  ## account_usage
13
13
 
14
- > <AccountUsageResponse> account_usage(api_key)
14
+ > <AccountUsageResponse> account_usage
15
15
 
16
16
  Account Usage
17
17
 
@@ -31,11 +31,10 @@ WhoisFreaks.configure do |config|
31
31
  end
32
32
 
33
33
  api_instance = WhoisFreaks::AccountApi.new
34
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
35
34
 
36
35
  begin
37
36
  # Account Usage
38
- result = api_instance.account_usage(api_key)
37
+ result = api_instance.account_usage
39
38
  p result
40
39
  rescue WhoisFreaks::ApiError => e
41
40
  puts "Error when calling AccountApi->account_usage: #{e}"
@@ -46,12 +45,12 @@ end
46
45
 
47
46
  This returns an Array which contains the response data, status code and headers.
48
47
 
49
- > <Array(<AccountUsageResponse>, Integer, Hash)> account_usage_with_http_info(api_key)
48
+ > <Array(<AccountUsageResponse>, Integer, Hash)> account_usage_with_http_info
50
49
 
51
50
  ```ruby
52
51
  begin
53
52
  # Account Usage
54
- data, status_code, headers = api_instance.account_usage_with_http_info(api_key)
53
+ data, status_code, headers = api_instance.account_usage_with_http_info
55
54
  p status_code # => 2xx
56
55
  p headers # => { ... }
57
56
  p data # => <AccountUsageResponse>
@@ -62,9 +61,7 @@ end
62
61
 
63
62
  ### Parameters
64
63
 
65
- | Name | Type | Description | Notes |
66
- | ---- | ---- | ----------- | ----- |
67
- | **api_key** | **String** | Your WHOISFreaks API key | |
64
+ This endpoint does not need any parameter.
68
65
 
69
66
  ### Return type
70
67
 
@@ -143,7 +140,7 @@ No authorization required
143
140
 
144
141
  ## rotate_api_key
145
142
 
146
- > String rotate_api_key(api_key)
143
+ > String rotate_api_key
147
144
 
148
145
  Rotate API Key
149
146
 
@@ -163,11 +160,10 @@ WhoisFreaks.configure do |config|
163
160
  end
164
161
 
165
162
  api_instance = WhoisFreaks::AccountApi.new
166
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
167
163
 
168
164
  begin
169
165
  # Rotate API Key
170
- result = api_instance.rotate_api_key(api_key)
166
+ result = api_instance.rotate_api_key
171
167
  p result
172
168
  rescue WhoisFreaks::ApiError => e
173
169
  puts "Error when calling AccountApi->rotate_api_key: #{e}"
@@ -178,12 +174,12 @@ end
178
174
 
179
175
  This returns an Array which contains the response data, status code and headers.
180
176
 
181
- > <Array(String, Integer, Hash)> rotate_api_key_with_http_info(api_key)
177
+ > <Array(String, Integer, Hash)> rotate_api_key_with_http_info
182
178
 
183
179
  ```ruby
184
180
  begin
185
181
  # Rotate API Key
186
- data, status_code, headers = api_instance.rotate_api_key_with_http_info(api_key)
182
+ data, status_code, headers = api_instance.rotate_api_key_with_http_info
187
183
  p status_code # => 2xx
188
184
  p headers # => { ... }
189
185
  p data # => String
@@ -194,9 +190,7 @@ end
194
190
 
195
191
  ### Parameters
196
192
 
197
- | Name | Type | Description | Notes |
198
- | ---- | ---- | ----------- | ----- |
199
- | **api_key** | **String** | Your WHOISFreaks API key | |
193
+ This endpoint does not need any parameter.
200
194
 
201
195
  ### Return type
202
196
 
data/docs/DNSApi.md CHANGED
@@ -12,7 +12,7 @@ All URIs are relative to *https://api.whoisfreaks.com*
12
12
 
13
13
  ## dns_bulk
14
14
 
15
- > <BulkDnsResponse> dns_bulk(api_key, type, dns_bulk_request, opts)
15
+ > <BulkDnsResponse> dns_bulk(type, dns_bulk_request, opts)
16
16
 
17
17
  Bulk DNS Lookup
18
18
 
@@ -32,7 +32,6 @@ WhoisFreaks.configure do |config|
32
32
  end
33
33
 
34
34
  api_instance = WhoisFreaks::DNSApi.new
35
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
36
35
  type = 'type_example' # String |
37
36
  dns_bulk_request = WhoisFreaks::DnsBulkRequest.new # DnsBulkRequest |
38
37
  opts = {
@@ -41,7 +40,7 @@ opts = {
41
40
 
42
41
  begin
43
42
  # Bulk DNS Lookup
44
- result = api_instance.dns_bulk(api_key, type, dns_bulk_request, opts)
43
+ result = api_instance.dns_bulk(type, dns_bulk_request, opts)
45
44
  p result
46
45
  rescue WhoisFreaks::ApiError => e
47
46
  puts "Error when calling DNSApi->dns_bulk: #{e}"
@@ -52,12 +51,12 @@ end
52
51
 
53
52
  This returns an Array which contains the response data, status code and headers.
54
53
 
55
- > <Array(<BulkDnsResponse>, Integer, Hash)> dns_bulk_with_http_info(api_key, type, dns_bulk_request, opts)
54
+ > <Array(<BulkDnsResponse>, Integer, Hash)> dns_bulk_with_http_info(type, dns_bulk_request, opts)
56
55
 
57
56
  ```ruby
58
57
  begin
59
58
  # Bulk DNS Lookup
60
- data, status_code, headers = api_instance.dns_bulk_with_http_info(api_key, type, dns_bulk_request, opts)
59
+ data, status_code, headers = api_instance.dns_bulk_with_http_info(type, dns_bulk_request, opts)
61
60
  p status_code # => 2xx
62
61
  p headers # => { ... }
63
62
  p data # => <BulkDnsResponse>
@@ -70,7 +69,6 @@ end
70
69
 
71
70
  | Name | Type | Description | Notes |
72
71
  | ---- | ---- | ----------- | ----- |
73
- | **api_key** | **String** | Your WHOISFreaks API key | |
74
72
  | **type** | **String** | | [default to &#39;all&#39;] |
75
73
  | **dns_bulk_request** | [**DnsBulkRequest**](DnsBulkRequest.md) | | |
76
74
  | **format** | **String** | | [optional][default to &#39;json&#39;] |
@@ -91,7 +89,7 @@ end
91
89
 
92
90
  ## dns_historical
93
91
 
94
- > <HistoricalDnsResponse> dns_historical(api_key, domain_name, type, opts)
92
+ > <HistoricalDnsResponse> dns_historical(domain_name, type, opts)
95
93
 
96
94
  Historical DNS Lookup
97
95
 
@@ -111,7 +109,6 @@ WhoisFreaks.configure do |config|
111
109
  end
112
110
 
113
111
  api_instance = WhoisFreaks::DNSApi.new
114
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
115
112
  domain_name = 'domain_name_example' # String |
116
113
  type = 'type_example' # String |
117
114
  opts = {
@@ -121,7 +118,7 @@ opts = {
121
118
 
122
119
  begin
123
120
  # Historical DNS Lookup
124
- result = api_instance.dns_historical(api_key, domain_name, type, opts)
121
+ result = api_instance.dns_historical(domain_name, type, opts)
125
122
  p result
126
123
  rescue WhoisFreaks::ApiError => e
127
124
  puts "Error when calling DNSApi->dns_historical: #{e}"
@@ -132,12 +129,12 @@ end
132
129
 
133
130
  This returns an Array which contains the response data, status code and headers.
134
131
 
135
- > <Array(<HistoricalDnsResponse>, Integer, Hash)> dns_historical_with_http_info(api_key, domain_name, type, opts)
132
+ > <Array(<HistoricalDnsResponse>, Integer, Hash)> dns_historical_with_http_info(domain_name, type, opts)
136
133
 
137
134
  ```ruby
138
135
  begin
139
136
  # Historical DNS Lookup
140
- data, status_code, headers = api_instance.dns_historical_with_http_info(api_key, domain_name, type, opts)
137
+ data, status_code, headers = api_instance.dns_historical_with_http_info(domain_name, type, opts)
141
138
  p status_code # => 2xx
142
139
  p headers # => { ... }
143
140
  p data # => <HistoricalDnsResponse>
@@ -150,7 +147,6 @@ end
150
147
 
151
148
  | Name | Type | Description | Notes |
152
149
  | ---- | ---- | ----------- | ----- |
153
- | **api_key** | **String** | Your WHOISFreaks API key | |
154
150
  | **domain_name** | **String** | | |
155
151
  | **type** | **String** | | [default to &#39;all&#39;] |
156
152
  | **page** | **Integer** | | [optional][default to 1] |
@@ -172,7 +168,7 @@ end
172
168
 
173
169
  ## dns_live
174
170
 
175
- > <DnsResponse> dns_live(api_key, type, opts)
171
+ > <DnsResponse> dns_live(type, opts)
176
172
 
177
173
  Live DNS Lookup
178
174
 
@@ -192,7 +188,6 @@ WhoisFreaks.configure do |config|
192
188
  end
193
189
 
194
190
  api_instance = WhoisFreaks::DNSApi.new
195
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
196
191
  type = 'type_example' # String | all or comma-separated: A,MX,NS,TXT,SOA,SPF,AAAA,CNAME
197
192
  opts = {
198
193
  domain_name: 'domain_name_example', # String |
@@ -202,7 +197,7 @@ opts = {
202
197
 
203
198
  begin
204
199
  # Live DNS Lookup
205
- result = api_instance.dns_live(api_key, type, opts)
200
+ result = api_instance.dns_live(type, opts)
206
201
  p result
207
202
  rescue WhoisFreaks::ApiError => e
208
203
  puts "Error when calling DNSApi->dns_live: #{e}"
@@ -213,12 +208,12 @@ end
213
208
 
214
209
  This returns an Array which contains the response data, status code and headers.
215
210
 
216
- > <Array(<DnsResponse>, Integer, Hash)> dns_live_with_http_info(api_key, type, opts)
211
+ > <Array(<DnsResponse>, Integer, Hash)> dns_live_with_http_info(type, opts)
217
212
 
218
213
  ```ruby
219
214
  begin
220
215
  # Live DNS Lookup
221
- data, status_code, headers = api_instance.dns_live_with_http_info(api_key, type, opts)
216
+ data, status_code, headers = api_instance.dns_live_with_http_info(type, opts)
222
217
  p status_code # => 2xx
223
218
  p headers # => { ... }
224
219
  p data # => <DnsResponse>
@@ -231,7 +226,6 @@ end
231
226
 
232
227
  | Name | Type | Description | Notes |
233
228
  | ---- | ---- | ----------- | ----- |
234
- | **api_key** | **String** | Your WHOISFreaks API key | |
235
229
  | **type** | **String** | all or comma-separated: A,MX,NS,TXT,SOA,SPF,AAAA,CNAME | [default to &#39;all&#39;] |
236
230
  | **domain_name** | **String** | | [optional] |
237
231
  | **ip_address** | **String** | Use for PTR lookups | [optional] |
@@ -253,7 +247,7 @@ end
253
247
 
254
248
  ## dns_reverse
255
249
 
256
- > <ReverseDnsResponse> dns_reverse(api_key, value, type, opts)
250
+ > <ReverseDnsResponse> dns_reverse(value, type, opts)
257
251
 
258
252
  Reverse DNS Lookup
259
253
 
@@ -273,7 +267,6 @@ WhoisFreaks.configure do |config|
273
267
  end
274
268
 
275
269
  api_instance = WhoisFreaks::DNSApi.new
276
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
277
270
  value = 'value_example' # String | IP, CIDR, or record value
278
271
  type = 'a' # String |
279
272
  opts = {
@@ -284,7 +277,7 @@ opts = {
284
277
 
285
278
  begin
286
279
  # Reverse DNS Lookup
287
- result = api_instance.dns_reverse(api_key, value, type, opts)
280
+ result = api_instance.dns_reverse(value, type, opts)
288
281
  p result
289
282
  rescue WhoisFreaks::ApiError => e
290
283
  puts "Error when calling DNSApi->dns_reverse: #{e}"
@@ -295,12 +288,12 @@ end
295
288
 
296
289
  This returns an Array which contains the response data, status code and headers.
297
290
 
298
- > <Array(<ReverseDnsResponse>, Integer, Hash)> dns_reverse_with_http_info(api_key, value, type, opts)
291
+ > <Array(<ReverseDnsResponse>, Integer, Hash)> dns_reverse_with_http_info(value, type, opts)
299
292
 
300
293
  ```ruby
301
294
  begin
302
295
  # Reverse DNS Lookup
303
- data, status_code, headers = api_instance.dns_reverse_with_http_info(api_key, value, type, opts)
296
+ data, status_code, headers = api_instance.dns_reverse_with_http_info(value, type, opts)
304
297
  p status_code # => 2xx
305
298
  p headers # => { ... }
306
299
  p data # => <ReverseDnsResponse>
@@ -313,7 +306,6 @@ end
313
306
 
314
307
  | Name | Type | Description | Notes |
315
308
  | ---- | ---- | ----------- | ----- |
316
- | **api_key** | **String** | Your WHOISFreaks API key | |
317
309
  | **value** | **String** | IP, CIDR, or record value | |
318
310
  | **type** | **String** | | |
319
311
  | **exact** | **Boolean** | | [optional][default to true] |
@@ -10,7 +10,7 @@ All URIs are relative to *https://api.whoisfreaks.com*
10
10
 
11
11
  ## db_asn_whois
12
12
 
13
- > File db_asn_whois(api_key, date)
13
+ > File db_asn_whois(date)
14
14
 
15
15
  ASN WHOIS Snapshot
16
16
 
@@ -30,12 +30,11 @@ WhoisFreaks.configure do |config|
30
30
  end
31
31
 
32
32
  api_instance = WhoisFreaks::DatabasesASNWHOISApi.new
33
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
34
33
  date = Date.parse('2013-10-20') # Date |
35
34
 
36
35
  begin
37
36
  # ASN WHOIS Snapshot
38
- result = api_instance.db_asn_whois(api_key, date)
37
+ result = api_instance.db_asn_whois(date)
39
38
  p result
40
39
  rescue WhoisFreaks::ApiError => e
41
40
  puts "Error when calling DatabasesASNWHOISApi->db_asn_whois: #{e}"
@@ -46,12 +45,12 @@ end
46
45
 
47
46
  This returns an Array which contains the response data, status code and headers.
48
47
 
49
- > <Array(File, Integer, Hash)> db_asn_whois_with_http_info(api_key, date)
48
+ > <Array(File, Integer, Hash)> db_asn_whois_with_http_info(date)
50
49
 
51
50
  ```ruby
52
51
  begin
53
52
  # ASN WHOIS Snapshot
54
- data, status_code, headers = api_instance.db_asn_whois_with_http_info(api_key, date)
53
+ data, status_code, headers = api_instance.db_asn_whois_with_http_info(date)
55
54
  p status_code # => 2xx
56
55
  p headers # => { ... }
57
56
  p data # => File
@@ -64,7 +63,6 @@ end
64
63
 
65
64
  | Name | Type | Description | Notes |
66
65
  | ---- | ---- | ----------- | ----- |
67
- | **api_key** | **String** | Your WHOISFreaks API key | |
68
66
  | **date** | **Date** | | |
69
67
 
70
68
  ### Return type
@@ -83,7 +81,7 @@ end
83
81
 
84
82
  ## db_asn_whois_status
85
83
 
86
- > <SnapshotStatus> db_asn_whois_status(api_key)
84
+ > <SnapshotStatus> db_asn_whois_status
87
85
 
88
86
  ASN WHOIS Snapshot Status
89
87
 
@@ -103,11 +101,10 @@ WhoisFreaks.configure do |config|
103
101
  end
104
102
 
105
103
  api_instance = WhoisFreaks::DatabasesASNWHOISApi.new
106
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
107
104
 
108
105
  begin
109
106
  # ASN WHOIS Snapshot Status
110
- result = api_instance.db_asn_whois_status(api_key)
107
+ result = api_instance.db_asn_whois_status
111
108
  p result
112
109
  rescue WhoisFreaks::ApiError => e
113
110
  puts "Error when calling DatabasesASNWHOISApi->db_asn_whois_status: #{e}"
@@ -118,12 +115,12 @@ end
118
115
 
119
116
  This returns an Array which contains the response data, status code and headers.
120
117
 
121
- > <Array(<SnapshotStatus>, Integer, Hash)> db_asn_whois_status_with_http_info(api_key)
118
+ > <Array(<SnapshotStatus>, Integer, Hash)> db_asn_whois_status_with_http_info
122
119
 
123
120
  ```ruby
124
121
  begin
125
122
  # ASN WHOIS Snapshot Status
126
- data, status_code, headers = api_instance.db_asn_whois_status_with_http_info(api_key)
123
+ data, status_code, headers = api_instance.db_asn_whois_status_with_http_info
127
124
  p status_code # => 2xx
128
125
  p headers # => { ... }
129
126
  p data # => <SnapshotStatus>
@@ -134,9 +131,7 @@ end
134
131
 
135
132
  ### Parameters
136
133
 
137
- | Name | Type | Description | Notes |
138
- | ---- | ---- | ----------- | ----- |
139
- | **api_key** | **String** | Your WHOISFreaks API key | |
134
+ This endpoint does not need any parameter.
140
135
 
141
136
  ### Return type
142
137
 
@@ -11,7 +11,7 @@ All URIs are relative to *https://api.whoisfreaks.com*
11
11
 
12
12
  ## db_dns_daily
13
13
 
14
- > File db_dns_daily(api_key, opts)
14
+ > File db_dns_daily(opts)
15
15
 
16
16
  DNS Database Daily
17
17
 
@@ -31,14 +31,13 @@ WhoisFreaks.configure do |config|
31
31
  end
32
32
 
33
33
  api_instance = WhoisFreaks::DatabasesDNSApi.new
34
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
35
34
  opts = {
36
35
  date: Date.parse('2013-10-20') # Date | yyyy-MM-dd; omit for latest
37
36
  }
38
37
 
39
38
  begin
40
39
  # DNS Database Daily
41
- result = api_instance.db_dns_daily(api_key, opts)
40
+ result = api_instance.db_dns_daily(opts)
42
41
  p result
43
42
  rescue WhoisFreaks::ApiError => e
44
43
  puts "Error when calling DatabasesDNSApi->db_dns_daily: #{e}"
@@ -49,12 +48,12 @@ end
49
48
 
50
49
  This returns an Array which contains the response data, status code and headers.
51
50
 
52
- > <Array(File, Integer, Hash)> db_dns_daily_with_http_info(api_key, opts)
51
+ > <Array(File, Integer, Hash)> db_dns_daily_with_http_info(opts)
53
52
 
54
53
  ```ruby
55
54
  begin
56
55
  # DNS Database Daily
57
- data, status_code, headers = api_instance.db_dns_daily_with_http_info(api_key, opts)
56
+ data, status_code, headers = api_instance.db_dns_daily_with_http_info(opts)
58
57
  p status_code # => 2xx
59
58
  p headers # => { ... }
60
59
  p data # => File
@@ -67,7 +66,6 @@ end
67
66
 
68
67
  | Name | Type | Description | Notes |
69
68
  | ---- | ---- | ----------- | ----- |
70
- | **api_key** | **String** | Your WHOISFreaks API key | |
71
69
  | **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
72
70
 
73
71
  ### Return type
@@ -86,7 +84,7 @@ end
86
84
 
87
85
  ## db_dns_monthly
88
86
 
89
- > File db_dns_monthly(api_key, opts)
87
+ > File db_dns_monthly(opts)
90
88
 
91
89
  DNS Database Monthly
92
90
 
@@ -106,14 +104,13 @@ WhoisFreaks.configure do |config|
106
104
  end
107
105
 
108
106
  api_instance = WhoisFreaks::DatabasesDNSApi.new
109
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
110
107
  opts = {
111
108
  date: Date.parse('2013-10-20') # Date | yyyy-MM-dd; omit for latest
112
109
  }
113
110
 
114
111
  begin
115
112
  # DNS Database Monthly
116
- result = api_instance.db_dns_monthly(api_key, opts)
113
+ result = api_instance.db_dns_monthly(opts)
117
114
  p result
118
115
  rescue WhoisFreaks::ApiError => e
119
116
  puts "Error when calling DatabasesDNSApi->db_dns_monthly: #{e}"
@@ -124,12 +121,12 @@ end
124
121
 
125
122
  This returns an Array which contains the response data, status code and headers.
126
123
 
127
- > <Array(File, Integer, Hash)> db_dns_monthly_with_http_info(api_key, opts)
124
+ > <Array(File, Integer, Hash)> db_dns_monthly_with_http_info(opts)
128
125
 
129
126
  ```ruby
130
127
  begin
131
128
  # DNS Database Monthly
132
- data, status_code, headers = api_instance.db_dns_monthly_with_http_info(api_key, opts)
129
+ data, status_code, headers = api_instance.db_dns_monthly_with_http_info(opts)
133
130
  p status_code # => 2xx
134
131
  p headers # => { ... }
135
132
  p data # => File
@@ -142,7 +139,6 @@ end
142
139
 
143
140
  | Name | Type | Description | Notes |
144
141
  | ---- | ---- | ----------- | ----- |
145
- | **api_key** | **String** | Your WHOISFreaks API key | |
146
142
  | **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
147
143
 
148
144
  ### Return type
@@ -161,7 +157,7 @@ end
161
157
 
162
158
  ## db_dns_weekly
163
159
 
164
- > File db_dns_weekly(api_key, opts)
160
+ > File db_dns_weekly(opts)
165
161
 
166
162
  DNS Database Weekly
167
163
 
@@ -181,14 +177,13 @@ WhoisFreaks.configure do |config|
181
177
  end
182
178
 
183
179
  api_instance = WhoisFreaks::DatabasesDNSApi.new
184
- api_key = 'api_key_example' # String | Your WHOISFreaks API key
185
180
  opts = {
186
181
  date: Date.parse('2013-10-20') # Date | yyyy-MM-dd; omit for latest
187
182
  }
188
183
 
189
184
  begin
190
185
  # DNS Database Weekly
191
- result = api_instance.db_dns_weekly(api_key, opts)
186
+ result = api_instance.db_dns_weekly(opts)
192
187
  p result
193
188
  rescue WhoisFreaks::ApiError => e
194
189
  puts "Error when calling DatabasesDNSApi->db_dns_weekly: #{e}"
@@ -199,12 +194,12 @@ end
199
194
 
200
195
  This returns an Array which contains the response data, status code and headers.
201
196
 
202
- > <Array(File, Integer, Hash)> db_dns_weekly_with_http_info(api_key, opts)
197
+ > <Array(File, Integer, Hash)> db_dns_weekly_with_http_info(opts)
203
198
 
204
199
  ```ruby
205
200
  begin
206
201
  # DNS Database Weekly
207
- data, status_code, headers = api_instance.db_dns_weekly_with_http_info(api_key, opts)
202
+ data, status_code, headers = api_instance.db_dns_weekly_with_http_info(opts)
208
203
  p status_code # => 2xx
209
204
  p headers # => { ... }
210
205
  p data # => File
@@ -217,7 +212,6 @@ end
217
212
 
218
213
  | Name | Type | Description | Notes |
219
214
  | ---- | ---- | ----------- | ----- |
220
- | **api_key** | **String** | Your WHOISFreaks API key | |
221
215
  | **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
222
216
 
223
217
  ### Return type