whoisfreaks 0.2.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 +7 -0
- data/Gemfile +9 -0
- data/LICENSE +21 -0
- data/README.md +229 -0
- data/Rakefile +10 -0
- data/docs/ASNWHOISApi.md +85 -0
- data/docs/AccountApi.md +213 -0
- data/docs/AccountUsageResponse.md +22 -0
- data/docs/AccountUsageResponseApiCredits.md +20 -0
- data/docs/AccountUsageResponseApiSubscription.md +26 -0
- data/docs/AsnWhoisResponse.md +28 -0
- data/docs/AsnWhoisResponseAutNumsInner.md +26 -0
- data/docs/AsnWhoisResponseOrganization.md +24 -0
- data/docs/BulkDomainAvailabilityRequest.md +20 -0
- data/docs/BulkDomainAvailabilityV2Item.md +22 -0
- data/docs/BulkDomainAvailabilityV2Response.md +18 -0
- data/docs/BulkGeolocationRequest.md +18 -0
- data/docs/BulkWhois200Response.md +18 -0
- data/docs/BulkWhoisRequest.md +18 -0
- data/docs/Contact.md +38 -0
- data/docs/DNSApi.md +335 -0
- data/docs/DatabaseFileStatus.md +24 -0
- data/docs/DatabaseFileStatusNewlyValue.md +20 -0
- data/docs/DatabasesASNWHOISApi.md +153 -0
- data/docs/DatabasesDNSApi.md +235 -0
- data/docs/DatabasesExpiringDroppedApi.md +395 -0
- data/docs/DatabasesIPGeolocationApi.md +299 -0
- data/docs/DatabasesIPSecurityApi.md +153 -0
- data/docs/DatabasesIPWHOISApi.md +153 -0
- data/docs/DatabasesNewlyRegisteredApi.md +551 -0
- data/docs/DatabasesSubdomainsApi.md +235 -0
- data/docs/DatabasesWHOISApi.md +235 -0
- data/docs/DnsBulk200Response.md +18 -0
- data/docs/DnsBulkRequest.md +20 -0
- data/docs/DnsRecord.md +34 -0
- data/docs/DnsResponse.md +26 -0
- data/docs/DomainAvailabilityApi.md +169 -0
- data/docs/DomainAvailabilityV2Item.md +20 -0
- data/docs/DomainAvailabilityV2Response.md +18 -0
- data/docs/DomainReputationApi.md +85 -0
- data/docs/DomainReputationDgaFeatures.md +30 -0
- data/docs/DomainReputationDgaScore.md +26 -0
- data/docs/DomainReputationEvidenceSummary.md +18 -0
- data/docs/DomainReputationIndicators.md +34 -0
- data/docs/DomainReputationInput.md +18 -0
- data/docs/DomainReputationIntelligence.md +32 -0
- data/docs/DomainReputationPivotMatch.md +24 -0
- data/docs/DomainReputationRelatedIoc.md +22 -0
- data/docs/DomainReputationResponse.md +36 -0
- data/docs/DomainReputationRiskCategory.md +30 -0
- data/docs/DomainReputationSignal.md +28 -0
- data/docs/DomainReputationSignals.md +22 -0
- data/docs/DomainReputationTrustSignals.md +24 -0
- data/docs/ErrorResponse.md +26 -0
- data/docs/GeolocationApi.md +155 -0
- data/docs/GeolocationAsn.md +26 -0
- data/docs/GeolocationLocation.md +38 -0
- data/docs/GeolocationResponse.md +24 -0
- data/docs/GeolocationResponseCurrency.md +22 -0
- data/docs/GeolocationResponseNetwork.md +18 -0
- data/docs/HistoricalDnsResponse.md +24 -0
- data/docs/IPReputationApi.md +155 -0
- data/docs/IPWHOISApi.md +85 -0
- data/docs/IpReputationResponse.md +24 -0
- data/docs/IpReputationSecurity.md +42 -0
- data/docs/IpWhoisResponse.md +30 -0
- data/docs/IpWhoisResponseAbuseContactsInner.md +22 -0
- data/docs/IpWhoisResponseInetNumsInner.md +28 -0
- data/docs/IpWhoisResponseOrganization.md +26 -0
- data/docs/Registrar.md +30 -0
- data/docs/ReverseDnsResponse.md +24 -0
- data/docs/ReverseWhoisResponse.md +24 -0
- data/docs/SSLApi.md +89 -0
- data/docs/SnapshotStatus.md +26 -0
- data/docs/SslCertificate.md +34 -0
- data/docs/SslResponse.md +22 -0
- data/docs/Subdomain.md +24 -0
- data/docs/SubdomainsApi.md +93 -0
- data/docs/SubdomainsResponse.md +30 -0
- data/docs/TyposquattingApi.md +87 -0
- data/docs/TyposquattingDomain.md +26 -0
- data/docs/TyposquattingResponse.md +30 -0
- data/docs/WHOISApi.md +257 -0
- data/docs/WhoisHistoricalOrReverse200Response.md +49 -0
- data/docs/WhoisHistoricalResponse.md +24 -0
- data/docs/WhoisResponse.md +50 -0
- data/git_push.sh +57 -0
- data/lib/whoisfreaks/api/account_api.rb +207 -0
- data/lib/whoisfreaks/api/asnwhois_api.rb +100 -0
- data/lib/whoisfreaks/api/databases_asnwhois_api.rb +157 -0
- data/lib/whoisfreaks/api/databases_dns_api.rb +223 -0
- data/lib/whoisfreaks/api/databases_expiring_dropped_api.rb +377 -0
- data/lib/whoisfreaks/api/databases_ip_geolocation_api.rb +292 -0
- data/lib/whoisfreaks/api/databases_ip_security_api.rb +157 -0
- data/lib/whoisfreaks/api/databases_ipwhois_api.rb +157 -0
- data/lib/whoisfreaks/api/databases_newly_registered_api.rb +517 -0
- data/lib/whoisfreaks/api/databases_subdomains_api.rb +223 -0
- data/lib/whoisfreaks/api/databases_whois_api.rb +223 -0
- data/lib/whoisfreaks/api/dns_api.rb +379 -0
- data/lib/whoisfreaks/api/domain_availability_api.rb +199 -0
- data/lib/whoisfreaks/api/domain_reputation_api.rb +100 -0
- data/lib/whoisfreaks/api/geolocation_api.rb +168 -0
- data/lib/whoisfreaks/api/ip_reputation_api.rb +168 -0
- data/lib/whoisfreaks/api/ipwhois_api.rb +100 -0
- data/lib/whoisfreaks/api/ssl_api.rb +106 -0
- data/lib/whoisfreaks/api/subdomains_api.rb +116 -0
- data/lib/whoisfreaks/api/typosquatting_api.rb +95 -0
- data/lib/whoisfreaks/api/whois_api.rb +293 -0
- data/lib/whoisfreaks/api_client.rb +437 -0
- data/lib/whoisfreaks/api_error.rb +58 -0
- data/lib/whoisfreaks/configuration.rb +588 -0
- data/lib/whoisfreaks/models/account_usage_response.rb +232 -0
- data/lib/whoisfreaks/models/account_usage_response_api_credits.rb +223 -0
- data/lib/whoisfreaks/models/account_usage_response_api_subscription.rb +250 -0
- data/lib/whoisfreaks/models/asn_whois_response.rb +261 -0
- data/lib/whoisfreaks/models/asn_whois_response_aut_nums_inner.rb +252 -0
- data/lib/whoisfreaks/models/asn_whois_response_organization.rb +243 -0
- data/lib/whoisfreaks/models/bulk_domain_availability_request.rb +268 -0
- data/lib/whoisfreaks/models/bulk_domain_availability_v2_item.rb +268 -0
- data/lib/whoisfreaks/models/bulk_domain_availability_v2_response.rb +217 -0
- data/lib/whoisfreaks/models/bulk_geolocation_request.rb +242 -0
- data/lib/whoisfreaks/models/bulk_whois200_response.rb +216 -0
- data/lib/whoisfreaks/models/bulk_whois_request.rb +242 -0
- data/lib/whoisfreaks/models/contact.rb +304 -0
- data/lib/whoisfreaks/models/database_file_status.rb +243 -0
- data/lib/whoisfreaks/models/database_file_status_newly_value.rb +223 -0
- data/lib/whoisfreaks/models/dns_bulk200_response.rb +216 -0
- data/lib/whoisfreaks/models/dns_bulk_request.rb +227 -0
- data/lib/whoisfreaks/models/dns_record.rb +286 -0
- data/lib/whoisfreaks/models/dns_response.rb +254 -0
- data/lib/whoisfreaks/models/domain_availability_v2_item.rb +260 -0
- data/lib/whoisfreaks/models/domain_availability_v2_response.rb +217 -0
- data/lib/whoisfreaks/models/domain_reputation_dga_features.rb +268 -0
- data/lib/whoisfreaks/models/domain_reputation_dga_score.rb +312 -0
- data/lib/whoisfreaks/models/domain_reputation_evidence_summary.rb +216 -0
- data/lib/whoisfreaks/models/domain_reputation_indicators.rb +286 -0
- data/lib/whoisfreaks/models/domain_reputation_input.rb +215 -0
- data/lib/whoisfreaks/models/domain_reputation_intelligence.rb +317 -0
- data/lib/whoisfreaks/models/domain_reputation_pivot_match.rb +304 -0
- data/lib/whoisfreaks/models/domain_reputation_related_ioc.rb +294 -0
- data/lib/whoisfreaks/models/domain_reputation_response.rb +297 -0
- data/lib/whoisfreaks/models/domain_reputation_risk_category.rb +349 -0
- data/lib/whoisfreaks/models/domain_reputation_signal.rb +333 -0
- data/lib/whoisfreaks/models/domain_reputation_signals.rb +238 -0
- data/lib/whoisfreaks/models/domain_reputation_trust_signals.rb +303 -0
- data/lib/whoisfreaks/models/error_response.rb +250 -0
- data/lib/whoisfreaks/models/geolocation_asn.rb +250 -0
- data/lib/whoisfreaks/models/geolocation_location.rb +304 -0
- data/lib/whoisfreaks/models/geolocation_response.rb +241 -0
- data/lib/whoisfreaks/models/geolocation_response_currency.rb +232 -0
- data/lib/whoisfreaks/models/geolocation_response_network.rb +214 -0
- data/lib/whoisfreaks/models/historical_dns_response.rb +243 -0
- data/lib/whoisfreaks/models/ip_reputation_response.rb +241 -0
- data/lib/whoisfreaks/models/ip_reputation_security.rb +322 -0
- data/lib/whoisfreaks/models/ip_whois_response.rb +272 -0
- data/lib/whoisfreaks/models/ip_whois_response_abuse_contacts_inner.rb +234 -0
- data/lib/whoisfreaks/models/ip_whois_response_inet_nums_inner.rb +261 -0
- data/lib/whoisfreaks/models/ip_whois_response_organization.rb +252 -0
- data/lib/whoisfreaks/models/registrar.rb +268 -0
- data/lib/whoisfreaks/models/reverse_dns_response.rb +243 -0
- data/lib/whoisfreaks/models/reverse_whois_response.rb +243 -0
- data/lib/whoisfreaks/models/snapshot_status.rb +250 -0
- data/lib/whoisfreaks/models/ssl_certificate.rb +320 -0
- data/lib/whoisfreaks/models/ssl_response.rb +234 -0
- data/lib/whoisfreaks/models/subdomain.rb +241 -0
- data/lib/whoisfreaks/models/subdomains_response.rb +270 -0
- data/lib/whoisfreaks/models/typosquatting_domain.rb +250 -0
- data/lib/whoisfreaks/models/typosquatting_response.rb +270 -0
- data/lib/whoisfreaks/models/whois_historical_or_reverse200_response.rb +105 -0
- data/lib/whoisfreaks/models/whois_historical_response.rb +277 -0
- data/lib/whoisfreaks/models/whois_response.rb +362 -0
- data/lib/whoisfreaks/version.rb +15 -0
- data/lib/whoisfreaks.rb +120 -0
- data/spec/api/account_api_spec.rb +70 -0
- data/spec/api/asnwhois_api_spec.rb +49 -0
- data/spec/api/databases_asnwhois_api_spec.rb +60 -0
- data/spec/api/databases_dns_api_spec.rb +74 -0
- data/spec/api/databases_expiring_dropped_api_spec.rb +104 -0
- data/spec/api/databases_ip_geolocation_api_spec.rb +85 -0
- data/spec/api/databases_ip_security_api_spec.rb +60 -0
- data/spec/api/databases_ipwhois_api_spec.rb +60 -0
- data/spec/api/databases_newly_registered_api_spec.rb +132 -0
- data/spec/api/databases_subdomains_api_spec.rb +74 -0
- data/spec/api/databases_whois_api_spec.rb +74 -0
- data/spec/api/dns_api_spec.rb +99 -0
- data/spec/api/domain_availability_api_spec.rb +66 -0
- data/spec/api/domain_reputation_api_spec.rb +49 -0
- data/spec/api/geolocation_api_spec.rb +61 -0
- data/spec/api/ip_reputation_api_spec.rb +61 -0
- data/spec/api/ipwhois_api_spec.rb +49 -0
- data/spec/api/ssl_api_spec.rb +51 -0
- data/spec/api/subdomains_api_spec.rb +53 -0
- data/spec/api/typosquatting_api_spec.rb +50 -0
- data/spec/api/whois_api_spec.rb +85 -0
- data/spec/models/account_usage_response_api_credits_spec.rb +42 -0
- data/spec/models/account_usage_response_api_subscription_spec.rb +60 -0
- data/spec/models/account_usage_response_spec.rb +48 -0
- data/spec/models/asn_whois_response_aut_nums_inner_spec.rb +60 -0
- data/spec/models/asn_whois_response_organization_spec.rb +54 -0
- data/spec/models/asn_whois_response_spec.rb +66 -0
- data/spec/models/bulk_domain_availability_request_spec.rb +42 -0
- data/spec/models/bulk_domain_availability_v2_item_spec.rb +52 -0
- data/spec/models/bulk_domain_availability_v2_response_spec.rb +36 -0
- data/spec/models/bulk_geolocation_request_spec.rb +36 -0
- data/spec/models/bulk_whois200_response_spec.rb +36 -0
- data/spec/models/bulk_whois_request_spec.rb +36 -0
- data/spec/models/contact_spec.rb +96 -0
- data/spec/models/database_file_status_newly_value_spec.rb +42 -0
- data/spec/models/database_file_status_spec.rb +54 -0
- data/spec/models/dns_bulk200_response_spec.rb +36 -0
- data/spec/models/dns_bulk_request_spec.rb +42 -0
- data/spec/models/dns_record_spec.rb +84 -0
- data/spec/models/dns_response_spec.rb +60 -0
- data/spec/models/domain_availability_v2_item_spec.rb +46 -0
- data/spec/models/domain_availability_v2_response_spec.rb +36 -0
- data/spec/models/domain_reputation_dga_features_spec.rb +72 -0
- data/spec/models/domain_reputation_dga_score_spec.rb +64 -0
- data/spec/models/domain_reputation_evidence_summary_spec.rb +36 -0
- data/spec/models/domain_reputation_indicators_spec.rb +84 -0
- data/spec/models/domain_reputation_input_spec.rb +36 -0
- data/spec/models/domain_reputation_intelligence_spec.rb +82 -0
- data/spec/models/domain_reputation_pivot_match_spec.rb +58 -0
- data/spec/models/domain_reputation_related_ioc_spec.rb +52 -0
- data/spec/models/domain_reputation_response_spec.rb +90 -0
- data/spec/models/domain_reputation_risk_category_spec.rb +80 -0
- data/spec/models/domain_reputation_signal_spec.rb +74 -0
- data/spec/models/domain_reputation_signals_spec.rb +48 -0
- data/spec/models/domain_reputation_trust_signals_spec.rb +58 -0
- data/spec/models/error_response_spec.rb +60 -0
- data/spec/models/geolocation_asn_spec.rb +60 -0
- data/spec/models/geolocation_location_spec.rb +96 -0
- data/spec/models/geolocation_response_currency_spec.rb +48 -0
- data/spec/models/geolocation_response_network_spec.rb +36 -0
- data/spec/models/geolocation_response_spec.rb +54 -0
- data/spec/models/historical_dns_response_spec.rb +54 -0
- data/spec/models/ip_reputation_response_spec.rb +54 -0
- data/spec/models/ip_reputation_security_spec.rb +108 -0
- data/spec/models/ip_whois_response_abuse_contacts_inner_spec.rb +48 -0
- data/spec/models/ip_whois_response_inet_nums_inner_spec.rb +66 -0
- data/spec/models/ip_whois_response_organization_spec.rb +60 -0
- data/spec/models/ip_whois_response_spec.rb +72 -0
- data/spec/models/registrar_spec.rb +72 -0
- data/spec/models/reverse_dns_response_spec.rb +54 -0
- data/spec/models/reverse_whois_response_spec.rb +54 -0
- data/spec/models/snapshot_status_spec.rb +60 -0
- data/spec/models/ssl_certificate_spec.rb +88 -0
- data/spec/models/ssl_response_spec.rb +48 -0
- data/spec/models/subdomain_spec.rb +54 -0
- data/spec/models/subdomains_response_spec.rb +72 -0
- data/spec/models/typosquatting_domain_spec.rb +60 -0
- data/spec/models/typosquatting_response_spec.rb +72 -0
- data/spec/models/whois_historical_or_reverse200_response_spec.rb +32 -0
- data/spec/models/whois_historical_response_spec.rb +58 -0
- data/spec/models/whois_response_spec.rb +132 -0
- data/spec/spec_helper.rb +111 -0
- data/whoisfreaks.gemspec +41 -0
- metadata +451 -0
|
@@ -0,0 +1,551 @@
|
|
|
1
|
+
# WhoisFreaks::DatabasesNewlyRegisteredApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.whoisfreaks.com*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**db_newly_cctld**](DatabasesNewlyRegisteredApi.md#db_newly_cctld) | **GET** /v3.1/download/domainer/cctld | Newly Registered ccTLD (CSV) |
|
|
8
|
+
| [**db_newly_cctld_cleaned**](DatabasesNewlyRegisteredApi.md#db_newly_cctld_cleaned) | **GET** /v3.1/download/domainer/cctld/cleaned | Newly Registered ccTLD Cleaned WHOIS (CSV) |
|
|
9
|
+
| [**db_newly_cctld_json**](DatabasesNewlyRegisteredApi.md#db_newly_cctld_json) | **GET** /v3.1/domains/newly/cctld | Newly Registered ccTLD (JSON) |
|
|
10
|
+
| [**db_newly_dns**](DatabasesNewlyRegisteredApi.md#db_newly_dns) | **GET** /v3.1/download/domainer/newly/dns | Newly Registered With DNS |
|
|
11
|
+
| [**db_newly_gtld**](DatabasesNewlyRegisteredApi.md#db_newly_gtld) | **GET** /v3.1/download/domainer/gtld | Newly Registered gTLD (CSV) |
|
|
12
|
+
| [**db_newly_gtld_cleaned**](DatabasesNewlyRegisteredApi.md#db_newly_gtld_cleaned) | **GET** /v3.1/download/domainer/gtld/cleaned | Newly Registered gTLD Cleaned WHOIS (CSV) |
|
|
13
|
+
| [**db_newly_gtld_json**](DatabasesNewlyRegisteredApi.md#db_newly_gtld_json) | **GET** /v3.1/domains/newly/gtld | Newly Registered gTLD (JSON) |
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## db_newly_cctld
|
|
17
|
+
|
|
18
|
+
> String db_newly_cctld(api_key, whois, opts)
|
|
19
|
+
|
|
20
|
+
Newly Registered ccTLD (CSV)
|
|
21
|
+
|
|
22
|
+
Newly Registered ccTLD (CSV). Returns the file/snapshot described by this operation.
|
|
23
|
+
|
|
24
|
+
### Examples
|
|
25
|
+
|
|
26
|
+
```ruby
|
|
27
|
+
require 'time'
|
|
28
|
+
require 'whoisfreaks'
|
|
29
|
+
# setup authorization
|
|
30
|
+
WhoisFreaks.configure do |config|
|
|
31
|
+
# Configure API key authorization: ApiKeyAuth
|
|
32
|
+
config.api_key['apiKey'] = 'YOUR API KEY'
|
|
33
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
34
|
+
# config.api_key_prefix['apiKey'] = 'Bearer'
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
api_instance = WhoisFreaks::DatabasesNewlyRegisteredApi.new
|
|
38
|
+
api_key = 'api_key_example' # String | Your WHOISFreaks API key
|
|
39
|
+
whois = true # Boolean |
|
|
40
|
+
opts = {
|
|
41
|
+
date: Date.parse('2013-10-20'), # Date | yyyy-MM-dd; omit for latest
|
|
42
|
+
tlds: 'tlds_example' # String |
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
begin
|
|
46
|
+
# Newly Registered ccTLD (CSV)
|
|
47
|
+
result = api_instance.db_newly_cctld(api_key, whois, opts)
|
|
48
|
+
p result
|
|
49
|
+
rescue WhoisFreaks::ApiError => e
|
|
50
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_cctld: #{e}"
|
|
51
|
+
end
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
#### Using the db_newly_cctld_with_http_info variant
|
|
55
|
+
|
|
56
|
+
This returns an Array which contains the response data, status code and headers.
|
|
57
|
+
|
|
58
|
+
> <Array(String, Integer, Hash)> db_newly_cctld_with_http_info(api_key, whois, opts)
|
|
59
|
+
|
|
60
|
+
```ruby
|
|
61
|
+
begin
|
|
62
|
+
# Newly Registered ccTLD (CSV)
|
|
63
|
+
data, status_code, headers = api_instance.db_newly_cctld_with_http_info(api_key, whois, opts)
|
|
64
|
+
p status_code # => 2xx
|
|
65
|
+
p headers # => { ... }
|
|
66
|
+
p data # => String
|
|
67
|
+
rescue WhoisFreaks::ApiError => e
|
|
68
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_cctld_with_http_info: #{e}"
|
|
69
|
+
end
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Parameters
|
|
73
|
+
|
|
74
|
+
| Name | Type | Description | Notes |
|
|
75
|
+
| ---- | ---- | ----------- | ----- |
|
|
76
|
+
| **api_key** | **String** | Your WHOISFreaks API key | |
|
|
77
|
+
| **whois** | **Boolean** | | |
|
|
78
|
+
| **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
|
|
79
|
+
| **tlds** | **String** | | [optional] |
|
|
80
|
+
|
|
81
|
+
### Return type
|
|
82
|
+
|
|
83
|
+
**String**
|
|
84
|
+
|
|
85
|
+
### Authorization
|
|
86
|
+
|
|
87
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
88
|
+
|
|
89
|
+
### HTTP request headers
|
|
90
|
+
|
|
91
|
+
- **Content-Type**: Not defined
|
|
92
|
+
- **Accept**: text/csv, application/json
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
## db_newly_cctld_cleaned
|
|
96
|
+
|
|
97
|
+
> String db_newly_cctld_cleaned(api_key, opts)
|
|
98
|
+
|
|
99
|
+
Newly Registered ccTLD Cleaned WHOIS (CSV)
|
|
100
|
+
|
|
101
|
+
Newly Registered ccTLD Cleaned WHOIS (CSV). Returns the file/snapshot described by this operation.
|
|
102
|
+
|
|
103
|
+
### Examples
|
|
104
|
+
|
|
105
|
+
```ruby
|
|
106
|
+
require 'time'
|
|
107
|
+
require 'whoisfreaks'
|
|
108
|
+
# setup authorization
|
|
109
|
+
WhoisFreaks.configure do |config|
|
|
110
|
+
# Configure API key authorization: ApiKeyAuth
|
|
111
|
+
config.api_key['apiKey'] = 'YOUR API KEY'
|
|
112
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
113
|
+
# config.api_key_prefix['apiKey'] = 'Bearer'
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
api_instance = WhoisFreaks::DatabasesNewlyRegisteredApi.new
|
|
117
|
+
api_key = 'api_key_example' # String | Your WHOISFreaks API key
|
|
118
|
+
opts = {
|
|
119
|
+
date: Date.parse('2013-10-20') # Date | yyyy-MM-dd; omit for latest
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
begin
|
|
123
|
+
# Newly Registered ccTLD Cleaned WHOIS (CSV)
|
|
124
|
+
result = api_instance.db_newly_cctld_cleaned(api_key, opts)
|
|
125
|
+
p result
|
|
126
|
+
rescue WhoisFreaks::ApiError => e
|
|
127
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_cctld_cleaned: #{e}"
|
|
128
|
+
end
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
#### Using the db_newly_cctld_cleaned_with_http_info variant
|
|
132
|
+
|
|
133
|
+
This returns an Array which contains the response data, status code and headers.
|
|
134
|
+
|
|
135
|
+
> <Array(String, Integer, Hash)> db_newly_cctld_cleaned_with_http_info(api_key, opts)
|
|
136
|
+
|
|
137
|
+
```ruby
|
|
138
|
+
begin
|
|
139
|
+
# Newly Registered ccTLD Cleaned WHOIS (CSV)
|
|
140
|
+
data, status_code, headers = api_instance.db_newly_cctld_cleaned_with_http_info(api_key, opts)
|
|
141
|
+
p status_code # => 2xx
|
|
142
|
+
p headers # => { ... }
|
|
143
|
+
p data # => String
|
|
144
|
+
rescue WhoisFreaks::ApiError => e
|
|
145
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_cctld_cleaned_with_http_info: #{e}"
|
|
146
|
+
end
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Parameters
|
|
150
|
+
|
|
151
|
+
| Name | Type | Description | Notes |
|
|
152
|
+
| ---- | ---- | ----------- | ----- |
|
|
153
|
+
| **api_key** | **String** | Your WHOISFreaks API key | |
|
|
154
|
+
| **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
|
|
155
|
+
|
|
156
|
+
### Return type
|
|
157
|
+
|
|
158
|
+
**String**
|
|
159
|
+
|
|
160
|
+
### Authorization
|
|
161
|
+
|
|
162
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
163
|
+
|
|
164
|
+
### HTTP request headers
|
|
165
|
+
|
|
166
|
+
- **Content-Type**: Not defined
|
|
167
|
+
- **Accept**: text/csv, application/json
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
## db_newly_cctld_json
|
|
171
|
+
|
|
172
|
+
> Array<String> db_newly_cctld_json(api_key, opts)
|
|
173
|
+
|
|
174
|
+
Newly Registered ccTLD (JSON)
|
|
175
|
+
|
|
176
|
+
Newly Registered ccTLD (JSON). Returns the file/snapshot described by this operation.
|
|
177
|
+
|
|
178
|
+
### Examples
|
|
179
|
+
|
|
180
|
+
```ruby
|
|
181
|
+
require 'time'
|
|
182
|
+
require 'whoisfreaks'
|
|
183
|
+
# setup authorization
|
|
184
|
+
WhoisFreaks.configure do |config|
|
|
185
|
+
# Configure API key authorization: ApiKeyAuth
|
|
186
|
+
config.api_key['apiKey'] = 'YOUR API KEY'
|
|
187
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
188
|
+
# config.api_key_prefix['apiKey'] = 'Bearer'
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
api_instance = WhoisFreaks::DatabasesNewlyRegisteredApi.new
|
|
192
|
+
api_key = 'api_key_example' # String | Your WHOISFreaks API key
|
|
193
|
+
opts = {
|
|
194
|
+
date: Date.parse('2013-10-20'), # Date | yyyy-MM-dd; omit for latest
|
|
195
|
+
tlds: 'tlds_example' # String |
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
begin
|
|
199
|
+
# Newly Registered ccTLD (JSON)
|
|
200
|
+
result = api_instance.db_newly_cctld_json(api_key, opts)
|
|
201
|
+
p result
|
|
202
|
+
rescue WhoisFreaks::ApiError => e
|
|
203
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_cctld_json: #{e}"
|
|
204
|
+
end
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
#### Using the db_newly_cctld_json_with_http_info variant
|
|
208
|
+
|
|
209
|
+
This returns an Array which contains the response data, status code and headers.
|
|
210
|
+
|
|
211
|
+
> <Array(Array<String>, Integer, Hash)> db_newly_cctld_json_with_http_info(api_key, opts)
|
|
212
|
+
|
|
213
|
+
```ruby
|
|
214
|
+
begin
|
|
215
|
+
# Newly Registered ccTLD (JSON)
|
|
216
|
+
data, status_code, headers = api_instance.db_newly_cctld_json_with_http_info(api_key, opts)
|
|
217
|
+
p status_code # => 2xx
|
|
218
|
+
p headers # => { ... }
|
|
219
|
+
p data # => Array<String>
|
|
220
|
+
rescue WhoisFreaks::ApiError => e
|
|
221
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_cctld_json_with_http_info: #{e}"
|
|
222
|
+
end
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
### Parameters
|
|
226
|
+
|
|
227
|
+
| Name | Type | Description | Notes |
|
|
228
|
+
| ---- | ---- | ----------- | ----- |
|
|
229
|
+
| **api_key** | **String** | Your WHOISFreaks API key | |
|
|
230
|
+
| **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
|
|
231
|
+
| **tlds** | **String** | | [optional] |
|
|
232
|
+
|
|
233
|
+
### Return type
|
|
234
|
+
|
|
235
|
+
**Array<String>**
|
|
236
|
+
|
|
237
|
+
### Authorization
|
|
238
|
+
|
|
239
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
240
|
+
|
|
241
|
+
### HTTP request headers
|
|
242
|
+
|
|
243
|
+
- **Content-Type**: Not defined
|
|
244
|
+
- **Accept**: application/json
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
## db_newly_dns
|
|
248
|
+
|
|
249
|
+
> Array<Object> db_newly_dns(api_key, opts)
|
|
250
|
+
|
|
251
|
+
Newly Registered With DNS
|
|
252
|
+
|
|
253
|
+
Newly Registered With DNS. Returns the file/snapshot described by this operation.
|
|
254
|
+
|
|
255
|
+
### Examples
|
|
256
|
+
|
|
257
|
+
```ruby
|
|
258
|
+
require 'time'
|
|
259
|
+
require 'whoisfreaks'
|
|
260
|
+
# setup authorization
|
|
261
|
+
WhoisFreaks.configure do |config|
|
|
262
|
+
# Configure API key authorization: ApiKeyAuth
|
|
263
|
+
config.api_key['apiKey'] = 'YOUR API KEY'
|
|
264
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
265
|
+
# config.api_key_prefix['apiKey'] = 'Bearer'
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
api_instance = WhoisFreaks::DatabasesNewlyRegisteredApi.new
|
|
269
|
+
api_key = 'api_key_example' # String | Your WHOISFreaks API key
|
|
270
|
+
opts = {
|
|
271
|
+
date: Date.parse('2013-10-20') # Date | yyyy-MM-dd; omit for latest
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
begin
|
|
275
|
+
# Newly Registered With DNS
|
|
276
|
+
result = api_instance.db_newly_dns(api_key, opts)
|
|
277
|
+
p result
|
|
278
|
+
rescue WhoisFreaks::ApiError => e
|
|
279
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_dns: #{e}"
|
|
280
|
+
end
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
#### Using the db_newly_dns_with_http_info variant
|
|
284
|
+
|
|
285
|
+
This returns an Array which contains the response data, status code and headers.
|
|
286
|
+
|
|
287
|
+
> <Array(Array<Object>, Integer, Hash)> db_newly_dns_with_http_info(api_key, opts)
|
|
288
|
+
|
|
289
|
+
```ruby
|
|
290
|
+
begin
|
|
291
|
+
# Newly Registered With DNS
|
|
292
|
+
data, status_code, headers = api_instance.db_newly_dns_with_http_info(api_key, opts)
|
|
293
|
+
p status_code # => 2xx
|
|
294
|
+
p headers # => { ... }
|
|
295
|
+
p data # => Array<Object>
|
|
296
|
+
rescue WhoisFreaks::ApiError => e
|
|
297
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_dns_with_http_info: #{e}"
|
|
298
|
+
end
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
### Parameters
|
|
302
|
+
|
|
303
|
+
| Name | Type | Description | Notes |
|
|
304
|
+
| ---- | ---- | ----------- | ----- |
|
|
305
|
+
| **api_key** | **String** | Your WHOISFreaks API key | |
|
|
306
|
+
| **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
|
|
307
|
+
|
|
308
|
+
### Return type
|
|
309
|
+
|
|
310
|
+
**Array<Object>**
|
|
311
|
+
|
|
312
|
+
### Authorization
|
|
313
|
+
|
|
314
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
315
|
+
|
|
316
|
+
### HTTP request headers
|
|
317
|
+
|
|
318
|
+
- **Content-Type**: Not defined
|
|
319
|
+
- **Accept**: application/json
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
## db_newly_gtld
|
|
323
|
+
|
|
324
|
+
> String db_newly_gtld(api_key, whois, opts)
|
|
325
|
+
|
|
326
|
+
Newly Registered gTLD (CSV)
|
|
327
|
+
|
|
328
|
+
Newly Registered gTLD (CSV). Returns the file/snapshot described by this operation.
|
|
329
|
+
|
|
330
|
+
### Examples
|
|
331
|
+
|
|
332
|
+
```ruby
|
|
333
|
+
require 'time'
|
|
334
|
+
require 'whoisfreaks'
|
|
335
|
+
# setup authorization
|
|
336
|
+
WhoisFreaks.configure do |config|
|
|
337
|
+
# Configure API key authorization: ApiKeyAuth
|
|
338
|
+
config.api_key['apiKey'] = 'YOUR API KEY'
|
|
339
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
340
|
+
# config.api_key_prefix['apiKey'] = 'Bearer'
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
api_instance = WhoisFreaks::DatabasesNewlyRegisteredApi.new
|
|
344
|
+
api_key = 'api_key_example' # String | Your WHOISFreaks API key
|
|
345
|
+
whois = true # Boolean |
|
|
346
|
+
opts = {
|
|
347
|
+
date: Date.parse('2013-10-20'), # Date | yyyy-MM-dd; omit for latest
|
|
348
|
+
tlds: 'tlds_example' # String |
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
begin
|
|
352
|
+
# Newly Registered gTLD (CSV)
|
|
353
|
+
result = api_instance.db_newly_gtld(api_key, whois, opts)
|
|
354
|
+
p result
|
|
355
|
+
rescue WhoisFreaks::ApiError => e
|
|
356
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_gtld: #{e}"
|
|
357
|
+
end
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
#### Using the db_newly_gtld_with_http_info variant
|
|
361
|
+
|
|
362
|
+
This returns an Array which contains the response data, status code and headers.
|
|
363
|
+
|
|
364
|
+
> <Array(String, Integer, Hash)> db_newly_gtld_with_http_info(api_key, whois, opts)
|
|
365
|
+
|
|
366
|
+
```ruby
|
|
367
|
+
begin
|
|
368
|
+
# Newly Registered gTLD (CSV)
|
|
369
|
+
data, status_code, headers = api_instance.db_newly_gtld_with_http_info(api_key, whois, opts)
|
|
370
|
+
p status_code # => 2xx
|
|
371
|
+
p headers # => { ... }
|
|
372
|
+
p data # => String
|
|
373
|
+
rescue WhoisFreaks::ApiError => e
|
|
374
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_gtld_with_http_info: #{e}"
|
|
375
|
+
end
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
### Parameters
|
|
379
|
+
|
|
380
|
+
| Name | Type | Description | Notes |
|
|
381
|
+
| ---- | ---- | ----------- | ----- |
|
|
382
|
+
| **api_key** | **String** | Your WHOISFreaks API key | |
|
|
383
|
+
| **whois** | **Boolean** | | |
|
|
384
|
+
| **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
|
|
385
|
+
| **tlds** | **String** | | [optional] |
|
|
386
|
+
|
|
387
|
+
### Return type
|
|
388
|
+
|
|
389
|
+
**String**
|
|
390
|
+
|
|
391
|
+
### Authorization
|
|
392
|
+
|
|
393
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
394
|
+
|
|
395
|
+
### HTTP request headers
|
|
396
|
+
|
|
397
|
+
- **Content-Type**: Not defined
|
|
398
|
+
- **Accept**: text/csv, application/json
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
## db_newly_gtld_cleaned
|
|
402
|
+
|
|
403
|
+
> String db_newly_gtld_cleaned(api_key, opts)
|
|
404
|
+
|
|
405
|
+
Newly Registered gTLD Cleaned WHOIS (CSV)
|
|
406
|
+
|
|
407
|
+
Newly Registered gTLD Cleaned WHOIS (CSV). Returns the file/snapshot described by this operation.
|
|
408
|
+
|
|
409
|
+
### Examples
|
|
410
|
+
|
|
411
|
+
```ruby
|
|
412
|
+
require 'time'
|
|
413
|
+
require 'whoisfreaks'
|
|
414
|
+
# setup authorization
|
|
415
|
+
WhoisFreaks.configure do |config|
|
|
416
|
+
# Configure API key authorization: ApiKeyAuth
|
|
417
|
+
config.api_key['apiKey'] = 'YOUR API KEY'
|
|
418
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
419
|
+
# config.api_key_prefix['apiKey'] = 'Bearer'
|
|
420
|
+
end
|
|
421
|
+
|
|
422
|
+
api_instance = WhoisFreaks::DatabasesNewlyRegisteredApi.new
|
|
423
|
+
api_key = 'api_key_example' # String | Your WHOISFreaks API key
|
|
424
|
+
opts = {
|
|
425
|
+
date: Date.parse('2013-10-20') # Date | yyyy-MM-dd; omit for latest
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
begin
|
|
429
|
+
# Newly Registered gTLD Cleaned WHOIS (CSV)
|
|
430
|
+
result = api_instance.db_newly_gtld_cleaned(api_key, opts)
|
|
431
|
+
p result
|
|
432
|
+
rescue WhoisFreaks::ApiError => e
|
|
433
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_gtld_cleaned: #{e}"
|
|
434
|
+
end
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
#### Using the db_newly_gtld_cleaned_with_http_info variant
|
|
438
|
+
|
|
439
|
+
This returns an Array which contains the response data, status code and headers.
|
|
440
|
+
|
|
441
|
+
> <Array(String, Integer, Hash)> db_newly_gtld_cleaned_with_http_info(api_key, opts)
|
|
442
|
+
|
|
443
|
+
```ruby
|
|
444
|
+
begin
|
|
445
|
+
# Newly Registered gTLD Cleaned WHOIS (CSV)
|
|
446
|
+
data, status_code, headers = api_instance.db_newly_gtld_cleaned_with_http_info(api_key, opts)
|
|
447
|
+
p status_code # => 2xx
|
|
448
|
+
p headers # => { ... }
|
|
449
|
+
p data # => String
|
|
450
|
+
rescue WhoisFreaks::ApiError => e
|
|
451
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_gtld_cleaned_with_http_info: #{e}"
|
|
452
|
+
end
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
### Parameters
|
|
456
|
+
|
|
457
|
+
| Name | Type | Description | Notes |
|
|
458
|
+
| ---- | ---- | ----------- | ----- |
|
|
459
|
+
| **api_key** | **String** | Your WHOISFreaks API key | |
|
|
460
|
+
| **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
|
|
461
|
+
|
|
462
|
+
### Return type
|
|
463
|
+
|
|
464
|
+
**String**
|
|
465
|
+
|
|
466
|
+
### Authorization
|
|
467
|
+
|
|
468
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
469
|
+
|
|
470
|
+
### HTTP request headers
|
|
471
|
+
|
|
472
|
+
- **Content-Type**: Not defined
|
|
473
|
+
- **Accept**: text/csv, application/json
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
## db_newly_gtld_json
|
|
477
|
+
|
|
478
|
+
> Array<String> db_newly_gtld_json(api_key, opts)
|
|
479
|
+
|
|
480
|
+
Newly Registered gTLD (JSON)
|
|
481
|
+
|
|
482
|
+
Newly Registered gTLD (JSON). Returns the file/snapshot described by this operation.
|
|
483
|
+
|
|
484
|
+
### Examples
|
|
485
|
+
|
|
486
|
+
```ruby
|
|
487
|
+
require 'time'
|
|
488
|
+
require 'whoisfreaks'
|
|
489
|
+
# setup authorization
|
|
490
|
+
WhoisFreaks.configure do |config|
|
|
491
|
+
# Configure API key authorization: ApiKeyAuth
|
|
492
|
+
config.api_key['apiKey'] = 'YOUR API KEY'
|
|
493
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
494
|
+
# config.api_key_prefix['apiKey'] = 'Bearer'
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
api_instance = WhoisFreaks::DatabasesNewlyRegisteredApi.new
|
|
498
|
+
api_key = 'api_key_example' # String | Your WHOISFreaks API key
|
|
499
|
+
opts = {
|
|
500
|
+
date: Date.parse('2013-10-20'), # Date | yyyy-MM-dd; omit for latest
|
|
501
|
+
tlds: 'tlds_example' # String |
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
begin
|
|
505
|
+
# Newly Registered gTLD (JSON)
|
|
506
|
+
result = api_instance.db_newly_gtld_json(api_key, opts)
|
|
507
|
+
p result
|
|
508
|
+
rescue WhoisFreaks::ApiError => e
|
|
509
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_gtld_json: #{e}"
|
|
510
|
+
end
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
#### Using the db_newly_gtld_json_with_http_info variant
|
|
514
|
+
|
|
515
|
+
This returns an Array which contains the response data, status code and headers.
|
|
516
|
+
|
|
517
|
+
> <Array(Array<String>, Integer, Hash)> db_newly_gtld_json_with_http_info(api_key, opts)
|
|
518
|
+
|
|
519
|
+
```ruby
|
|
520
|
+
begin
|
|
521
|
+
# Newly Registered gTLD (JSON)
|
|
522
|
+
data, status_code, headers = api_instance.db_newly_gtld_json_with_http_info(api_key, opts)
|
|
523
|
+
p status_code # => 2xx
|
|
524
|
+
p headers # => { ... }
|
|
525
|
+
p data # => Array<String>
|
|
526
|
+
rescue WhoisFreaks::ApiError => e
|
|
527
|
+
puts "Error when calling DatabasesNewlyRegisteredApi->db_newly_gtld_json_with_http_info: #{e}"
|
|
528
|
+
end
|
|
529
|
+
```
|
|
530
|
+
|
|
531
|
+
### Parameters
|
|
532
|
+
|
|
533
|
+
| Name | Type | Description | Notes |
|
|
534
|
+
| ---- | ---- | ----------- | ----- |
|
|
535
|
+
| **api_key** | **String** | Your WHOISFreaks API key | |
|
|
536
|
+
| **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
|
|
537
|
+
| **tlds** | **String** | | [optional] |
|
|
538
|
+
|
|
539
|
+
### Return type
|
|
540
|
+
|
|
541
|
+
**Array<String>**
|
|
542
|
+
|
|
543
|
+
### Authorization
|
|
544
|
+
|
|
545
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
546
|
+
|
|
547
|
+
### HTTP request headers
|
|
548
|
+
|
|
549
|
+
- **Content-Type**: Not defined
|
|
550
|
+
- **Accept**: application/json
|
|
551
|
+
|