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.
Files changed (257) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE +21 -0
  4. data/README.md +229 -0
  5. data/Rakefile +10 -0
  6. data/docs/ASNWHOISApi.md +85 -0
  7. data/docs/AccountApi.md +213 -0
  8. data/docs/AccountUsageResponse.md +22 -0
  9. data/docs/AccountUsageResponseApiCredits.md +20 -0
  10. data/docs/AccountUsageResponseApiSubscription.md +26 -0
  11. data/docs/AsnWhoisResponse.md +28 -0
  12. data/docs/AsnWhoisResponseAutNumsInner.md +26 -0
  13. data/docs/AsnWhoisResponseOrganization.md +24 -0
  14. data/docs/BulkDomainAvailabilityRequest.md +20 -0
  15. data/docs/BulkDomainAvailabilityV2Item.md +22 -0
  16. data/docs/BulkDomainAvailabilityV2Response.md +18 -0
  17. data/docs/BulkGeolocationRequest.md +18 -0
  18. data/docs/BulkWhois200Response.md +18 -0
  19. data/docs/BulkWhoisRequest.md +18 -0
  20. data/docs/Contact.md +38 -0
  21. data/docs/DNSApi.md +335 -0
  22. data/docs/DatabaseFileStatus.md +24 -0
  23. data/docs/DatabaseFileStatusNewlyValue.md +20 -0
  24. data/docs/DatabasesASNWHOISApi.md +153 -0
  25. data/docs/DatabasesDNSApi.md +235 -0
  26. data/docs/DatabasesExpiringDroppedApi.md +395 -0
  27. data/docs/DatabasesIPGeolocationApi.md +299 -0
  28. data/docs/DatabasesIPSecurityApi.md +153 -0
  29. data/docs/DatabasesIPWHOISApi.md +153 -0
  30. data/docs/DatabasesNewlyRegisteredApi.md +551 -0
  31. data/docs/DatabasesSubdomainsApi.md +235 -0
  32. data/docs/DatabasesWHOISApi.md +235 -0
  33. data/docs/DnsBulk200Response.md +18 -0
  34. data/docs/DnsBulkRequest.md +20 -0
  35. data/docs/DnsRecord.md +34 -0
  36. data/docs/DnsResponse.md +26 -0
  37. data/docs/DomainAvailabilityApi.md +169 -0
  38. data/docs/DomainAvailabilityV2Item.md +20 -0
  39. data/docs/DomainAvailabilityV2Response.md +18 -0
  40. data/docs/DomainReputationApi.md +85 -0
  41. data/docs/DomainReputationDgaFeatures.md +30 -0
  42. data/docs/DomainReputationDgaScore.md +26 -0
  43. data/docs/DomainReputationEvidenceSummary.md +18 -0
  44. data/docs/DomainReputationIndicators.md +34 -0
  45. data/docs/DomainReputationInput.md +18 -0
  46. data/docs/DomainReputationIntelligence.md +32 -0
  47. data/docs/DomainReputationPivotMatch.md +24 -0
  48. data/docs/DomainReputationRelatedIoc.md +22 -0
  49. data/docs/DomainReputationResponse.md +36 -0
  50. data/docs/DomainReputationRiskCategory.md +30 -0
  51. data/docs/DomainReputationSignal.md +28 -0
  52. data/docs/DomainReputationSignals.md +22 -0
  53. data/docs/DomainReputationTrustSignals.md +24 -0
  54. data/docs/ErrorResponse.md +26 -0
  55. data/docs/GeolocationApi.md +155 -0
  56. data/docs/GeolocationAsn.md +26 -0
  57. data/docs/GeolocationLocation.md +38 -0
  58. data/docs/GeolocationResponse.md +24 -0
  59. data/docs/GeolocationResponseCurrency.md +22 -0
  60. data/docs/GeolocationResponseNetwork.md +18 -0
  61. data/docs/HistoricalDnsResponse.md +24 -0
  62. data/docs/IPReputationApi.md +155 -0
  63. data/docs/IPWHOISApi.md +85 -0
  64. data/docs/IpReputationResponse.md +24 -0
  65. data/docs/IpReputationSecurity.md +42 -0
  66. data/docs/IpWhoisResponse.md +30 -0
  67. data/docs/IpWhoisResponseAbuseContactsInner.md +22 -0
  68. data/docs/IpWhoisResponseInetNumsInner.md +28 -0
  69. data/docs/IpWhoisResponseOrganization.md +26 -0
  70. data/docs/Registrar.md +30 -0
  71. data/docs/ReverseDnsResponse.md +24 -0
  72. data/docs/ReverseWhoisResponse.md +24 -0
  73. data/docs/SSLApi.md +89 -0
  74. data/docs/SnapshotStatus.md +26 -0
  75. data/docs/SslCertificate.md +34 -0
  76. data/docs/SslResponse.md +22 -0
  77. data/docs/Subdomain.md +24 -0
  78. data/docs/SubdomainsApi.md +93 -0
  79. data/docs/SubdomainsResponse.md +30 -0
  80. data/docs/TyposquattingApi.md +87 -0
  81. data/docs/TyposquattingDomain.md +26 -0
  82. data/docs/TyposquattingResponse.md +30 -0
  83. data/docs/WHOISApi.md +257 -0
  84. data/docs/WhoisHistoricalOrReverse200Response.md +49 -0
  85. data/docs/WhoisHistoricalResponse.md +24 -0
  86. data/docs/WhoisResponse.md +50 -0
  87. data/git_push.sh +57 -0
  88. data/lib/whoisfreaks/api/account_api.rb +207 -0
  89. data/lib/whoisfreaks/api/asnwhois_api.rb +100 -0
  90. data/lib/whoisfreaks/api/databases_asnwhois_api.rb +157 -0
  91. data/lib/whoisfreaks/api/databases_dns_api.rb +223 -0
  92. data/lib/whoisfreaks/api/databases_expiring_dropped_api.rb +377 -0
  93. data/lib/whoisfreaks/api/databases_ip_geolocation_api.rb +292 -0
  94. data/lib/whoisfreaks/api/databases_ip_security_api.rb +157 -0
  95. data/lib/whoisfreaks/api/databases_ipwhois_api.rb +157 -0
  96. data/lib/whoisfreaks/api/databases_newly_registered_api.rb +517 -0
  97. data/lib/whoisfreaks/api/databases_subdomains_api.rb +223 -0
  98. data/lib/whoisfreaks/api/databases_whois_api.rb +223 -0
  99. data/lib/whoisfreaks/api/dns_api.rb +379 -0
  100. data/lib/whoisfreaks/api/domain_availability_api.rb +199 -0
  101. data/lib/whoisfreaks/api/domain_reputation_api.rb +100 -0
  102. data/lib/whoisfreaks/api/geolocation_api.rb +168 -0
  103. data/lib/whoisfreaks/api/ip_reputation_api.rb +168 -0
  104. data/lib/whoisfreaks/api/ipwhois_api.rb +100 -0
  105. data/lib/whoisfreaks/api/ssl_api.rb +106 -0
  106. data/lib/whoisfreaks/api/subdomains_api.rb +116 -0
  107. data/lib/whoisfreaks/api/typosquatting_api.rb +95 -0
  108. data/lib/whoisfreaks/api/whois_api.rb +293 -0
  109. data/lib/whoisfreaks/api_client.rb +437 -0
  110. data/lib/whoisfreaks/api_error.rb +58 -0
  111. data/lib/whoisfreaks/configuration.rb +588 -0
  112. data/lib/whoisfreaks/models/account_usage_response.rb +232 -0
  113. data/lib/whoisfreaks/models/account_usage_response_api_credits.rb +223 -0
  114. data/lib/whoisfreaks/models/account_usage_response_api_subscription.rb +250 -0
  115. data/lib/whoisfreaks/models/asn_whois_response.rb +261 -0
  116. data/lib/whoisfreaks/models/asn_whois_response_aut_nums_inner.rb +252 -0
  117. data/lib/whoisfreaks/models/asn_whois_response_organization.rb +243 -0
  118. data/lib/whoisfreaks/models/bulk_domain_availability_request.rb +268 -0
  119. data/lib/whoisfreaks/models/bulk_domain_availability_v2_item.rb +268 -0
  120. data/lib/whoisfreaks/models/bulk_domain_availability_v2_response.rb +217 -0
  121. data/lib/whoisfreaks/models/bulk_geolocation_request.rb +242 -0
  122. data/lib/whoisfreaks/models/bulk_whois200_response.rb +216 -0
  123. data/lib/whoisfreaks/models/bulk_whois_request.rb +242 -0
  124. data/lib/whoisfreaks/models/contact.rb +304 -0
  125. data/lib/whoisfreaks/models/database_file_status.rb +243 -0
  126. data/lib/whoisfreaks/models/database_file_status_newly_value.rb +223 -0
  127. data/lib/whoisfreaks/models/dns_bulk200_response.rb +216 -0
  128. data/lib/whoisfreaks/models/dns_bulk_request.rb +227 -0
  129. data/lib/whoisfreaks/models/dns_record.rb +286 -0
  130. data/lib/whoisfreaks/models/dns_response.rb +254 -0
  131. data/lib/whoisfreaks/models/domain_availability_v2_item.rb +260 -0
  132. data/lib/whoisfreaks/models/domain_availability_v2_response.rb +217 -0
  133. data/lib/whoisfreaks/models/domain_reputation_dga_features.rb +268 -0
  134. data/lib/whoisfreaks/models/domain_reputation_dga_score.rb +312 -0
  135. data/lib/whoisfreaks/models/domain_reputation_evidence_summary.rb +216 -0
  136. data/lib/whoisfreaks/models/domain_reputation_indicators.rb +286 -0
  137. data/lib/whoisfreaks/models/domain_reputation_input.rb +215 -0
  138. data/lib/whoisfreaks/models/domain_reputation_intelligence.rb +317 -0
  139. data/lib/whoisfreaks/models/domain_reputation_pivot_match.rb +304 -0
  140. data/lib/whoisfreaks/models/domain_reputation_related_ioc.rb +294 -0
  141. data/lib/whoisfreaks/models/domain_reputation_response.rb +297 -0
  142. data/lib/whoisfreaks/models/domain_reputation_risk_category.rb +349 -0
  143. data/lib/whoisfreaks/models/domain_reputation_signal.rb +333 -0
  144. data/lib/whoisfreaks/models/domain_reputation_signals.rb +238 -0
  145. data/lib/whoisfreaks/models/domain_reputation_trust_signals.rb +303 -0
  146. data/lib/whoisfreaks/models/error_response.rb +250 -0
  147. data/lib/whoisfreaks/models/geolocation_asn.rb +250 -0
  148. data/lib/whoisfreaks/models/geolocation_location.rb +304 -0
  149. data/lib/whoisfreaks/models/geolocation_response.rb +241 -0
  150. data/lib/whoisfreaks/models/geolocation_response_currency.rb +232 -0
  151. data/lib/whoisfreaks/models/geolocation_response_network.rb +214 -0
  152. data/lib/whoisfreaks/models/historical_dns_response.rb +243 -0
  153. data/lib/whoisfreaks/models/ip_reputation_response.rb +241 -0
  154. data/lib/whoisfreaks/models/ip_reputation_security.rb +322 -0
  155. data/lib/whoisfreaks/models/ip_whois_response.rb +272 -0
  156. data/lib/whoisfreaks/models/ip_whois_response_abuse_contacts_inner.rb +234 -0
  157. data/lib/whoisfreaks/models/ip_whois_response_inet_nums_inner.rb +261 -0
  158. data/lib/whoisfreaks/models/ip_whois_response_organization.rb +252 -0
  159. data/lib/whoisfreaks/models/registrar.rb +268 -0
  160. data/lib/whoisfreaks/models/reverse_dns_response.rb +243 -0
  161. data/lib/whoisfreaks/models/reverse_whois_response.rb +243 -0
  162. data/lib/whoisfreaks/models/snapshot_status.rb +250 -0
  163. data/lib/whoisfreaks/models/ssl_certificate.rb +320 -0
  164. data/lib/whoisfreaks/models/ssl_response.rb +234 -0
  165. data/lib/whoisfreaks/models/subdomain.rb +241 -0
  166. data/lib/whoisfreaks/models/subdomains_response.rb +270 -0
  167. data/lib/whoisfreaks/models/typosquatting_domain.rb +250 -0
  168. data/lib/whoisfreaks/models/typosquatting_response.rb +270 -0
  169. data/lib/whoisfreaks/models/whois_historical_or_reverse200_response.rb +105 -0
  170. data/lib/whoisfreaks/models/whois_historical_response.rb +277 -0
  171. data/lib/whoisfreaks/models/whois_response.rb +362 -0
  172. data/lib/whoisfreaks/version.rb +15 -0
  173. data/lib/whoisfreaks.rb +120 -0
  174. data/spec/api/account_api_spec.rb +70 -0
  175. data/spec/api/asnwhois_api_spec.rb +49 -0
  176. data/spec/api/databases_asnwhois_api_spec.rb +60 -0
  177. data/spec/api/databases_dns_api_spec.rb +74 -0
  178. data/spec/api/databases_expiring_dropped_api_spec.rb +104 -0
  179. data/spec/api/databases_ip_geolocation_api_spec.rb +85 -0
  180. data/spec/api/databases_ip_security_api_spec.rb +60 -0
  181. data/spec/api/databases_ipwhois_api_spec.rb +60 -0
  182. data/spec/api/databases_newly_registered_api_spec.rb +132 -0
  183. data/spec/api/databases_subdomains_api_spec.rb +74 -0
  184. data/spec/api/databases_whois_api_spec.rb +74 -0
  185. data/spec/api/dns_api_spec.rb +99 -0
  186. data/spec/api/domain_availability_api_spec.rb +66 -0
  187. data/spec/api/domain_reputation_api_spec.rb +49 -0
  188. data/spec/api/geolocation_api_spec.rb +61 -0
  189. data/spec/api/ip_reputation_api_spec.rb +61 -0
  190. data/spec/api/ipwhois_api_spec.rb +49 -0
  191. data/spec/api/ssl_api_spec.rb +51 -0
  192. data/spec/api/subdomains_api_spec.rb +53 -0
  193. data/spec/api/typosquatting_api_spec.rb +50 -0
  194. data/spec/api/whois_api_spec.rb +85 -0
  195. data/spec/models/account_usage_response_api_credits_spec.rb +42 -0
  196. data/spec/models/account_usage_response_api_subscription_spec.rb +60 -0
  197. data/spec/models/account_usage_response_spec.rb +48 -0
  198. data/spec/models/asn_whois_response_aut_nums_inner_spec.rb +60 -0
  199. data/spec/models/asn_whois_response_organization_spec.rb +54 -0
  200. data/spec/models/asn_whois_response_spec.rb +66 -0
  201. data/spec/models/bulk_domain_availability_request_spec.rb +42 -0
  202. data/spec/models/bulk_domain_availability_v2_item_spec.rb +52 -0
  203. data/spec/models/bulk_domain_availability_v2_response_spec.rb +36 -0
  204. data/spec/models/bulk_geolocation_request_spec.rb +36 -0
  205. data/spec/models/bulk_whois200_response_spec.rb +36 -0
  206. data/spec/models/bulk_whois_request_spec.rb +36 -0
  207. data/spec/models/contact_spec.rb +96 -0
  208. data/spec/models/database_file_status_newly_value_spec.rb +42 -0
  209. data/spec/models/database_file_status_spec.rb +54 -0
  210. data/spec/models/dns_bulk200_response_spec.rb +36 -0
  211. data/spec/models/dns_bulk_request_spec.rb +42 -0
  212. data/spec/models/dns_record_spec.rb +84 -0
  213. data/spec/models/dns_response_spec.rb +60 -0
  214. data/spec/models/domain_availability_v2_item_spec.rb +46 -0
  215. data/spec/models/domain_availability_v2_response_spec.rb +36 -0
  216. data/spec/models/domain_reputation_dga_features_spec.rb +72 -0
  217. data/spec/models/domain_reputation_dga_score_spec.rb +64 -0
  218. data/spec/models/domain_reputation_evidence_summary_spec.rb +36 -0
  219. data/spec/models/domain_reputation_indicators_spec.rb +84 -0
  220. data/spec/models/domain_reputation_input_spec.rb +36 -0
  221. data/spec/models/domain_reputation_intelligence_spec.rb +82 -0
  222. data/spec/models/domain_reputation_pivot_match_spec.rb +58 -0
  223. data/spec/models/domain_reputation_related_ioc_spec.rb +52 -0
  224. data/spec/models/domain_reputation_response_spec.rb +90 -0
  225. data/spec/models/domain_reputation_risk_category_spec.rb +80 -0
  226. data/spec/models/domain_reputation_signal_spec.rb +74 -0
  227. data/spec/models/domain_reputation_signals_spec.rb +48 -0
  228. data/spec/models/domain_reputation_trust_signals_spec.rb +58 -0
  229. data/spec/models/error_response_spec.rb +60 -0
  230. data/spec/models/geolocation_asn_spec.rb +60 -0
  231. data/spec/models/geolocation_location_spec.rb +96 -0
  232. data/spec/models/geolocation_response_currency_spec.rb +48 -0
  233. data/spec/models/geolocation_response_network_spec.rb +36 -0
  234. data/spec/models/geolocation_response_spec.rb +54 -0
  235. data/spec/models/historical_dns_response_spec.rb +54 -0
  236. data/spec/models/ip_reputation_response_spec.rb +54 -0
  237. data/spec/models/ip_reputation_security_spec.rb +108 -0
  238. data/spec/models/ip_whois_response_abuse_contacts_inner_spec.rb +48 -0
  239. data/spec/models/ip_whois_response_inet_nums_inner_spec.rb +66 -0
  240. data/spec/models/ip_whois_response_organization_spec.rb +60 -0
  241. data/spec/models/ip_whois_response_spec.rb +72 -0
  242. data/spec/models/registrar_spec.rb +72 -0
  243. data/spec/models/reverse_dns_response_spec.rb +54 -0
  244. data/spec/models/reverse_whois_response_spec.rb +54 -0
  245. data/spec/models/snapshot_status_spec.rb +60 -0
  246. data/spec/models/ssl_certificate_spec.rb +88 -0
  247. data/spec/models/ssl_response_spec.rb +48 -0
  248. data/spec/models/subdomain_spec.rb +54 -0
  249. data/spec/models/subdomains_response_spec.rb +72 -0
  250. data/spec/models/typosquatting_domain_spec.rb +60 -0
  251. data/spec/models/typosquatting_response_spec.rb +72 -0
  252. data/spec/models/whois_historical_or_reverse200_response_spec.rb +32 -0
  253. data/spec/models/whois_historical_response_spec.rb +58 -0
  254. data/spec/models/whois_response_spec.rb +132 -0
  255. data/spec/spec_helper.rb +111 -0
  256. data/whoisfreaks.gemspec +41 -0
  257. metadata +451 -0
@@ -0,0 +1,395 @@
1
+ # WhoisFreaks::DatabasesExpiringDroppedApi
2
+
3
+ All URIs are relative to *https://api.whoisfreaks.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**db_dropped**](DatabasesExpiringDroppedApi.md#db_dropped) | **GET** /v3.1/download/domainer/dropped | Dropped Domains |
8
+ | [**db_dropped_backlinks**](DatabasesExpiringDroppedApi.md#db_dropped_backlinks) | **GET** /v3.3/download/domainer/dropped/backlinks | Dropped With Backlinks |
9
+ | [**db_dropped_json**](DatabasesExpiringDroppedApi.md#db_dropped_json) | **GET** /v3.1/domains/dropped | Dropped Domains (JSON) |
10
+ | [**db_expired**](DatabasesExpiringDroppedApi.md#db_expired) | **GET** /v3.1/download/domainer/expired | Expiring Domains |
11
+ | [**db_expired_cleaned**](DatabasesExpiringDroppedApi.md#db_expired_cleaned) | **GET** /v3.1/download/domainer/expired/cleaned | Expiring Cleaned WHOIS |
12
+
13
+
14
+ ## db_dropped
15
+
16
+ > String db_dropped(api_key, whois, opts)
17
+
18
+ Dropped Domains
19
+
20
+ Dropped Domains. Returns the file/snapshot described by this operation.
21
+
22
+ ### Examples
23
+
24
+ ```ruby
25
+ require 'time'
26
+ require 'whoisfreaks'
27
+ # setup authorization
28
+ WhoisFreaks.configure do |config|
29
+ # Configure API key authorization: ApiKeyAuth
30
+ config.api_key['apiKey'] = 'YOUR API KEY'
31
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
32
+ # config.api_key_prefix['apiKey'] = 'Bearer'
33
+ end
34
+
35
+ api_instance = WhoisFreaks::DatabasesExpiringDroppedApi.new
36
+ api_key = 'api_key_example' # String | Your WHOISFreaks API key
37
+ whois = true # Boolean |
38
+ opts = {
39
+ date: Date.parse('2013-10-20') # Date | yyyy-MM-dd; omit for latest
40
+ }
41
+
42
+ begin
43
+ # Dropped Domains
44
+ result = api_instance.db_dropped(api_key, whois, opts)
45
+ p result
46
+ rescue WhoisFreaks::ApiError => e
47
+ puts "Error when calling DatabasesExpiringDroppedApi->db_dropped: #{e}"
48
+ end
49
+ ```
50
+
51
+ #### Using the db_dropped_with_http_info variant
52
+
53
+ This returns an Array which contains the response data, status code and headers.
54
+
55
+ > <Array(String, Integer, Hash)> db_dropped_with_http_info(api_key, whois, opts)
56
+
57
+ ```ruby
58
+ begin
59
+ # Dropped Domains
60
+ data, status_code, headers = api_instance.db_dropped_with_http_info(api_key, whois, opts)
61
+ p status_code # => 2xx
62
+ p headers # => { ... }
63
+ p data # => String
64
+ rescue WhoisFreaks::ApiError => e
65
+ puts "Error when calling DatabasesExpiringDroppedApi->db_dropped_with_http_info: #{e}"
66
+ end
67
+ ```
68
+
69
+ ### Parameters
70
+
71
+ | Name | Type | Description | Notes |
72
+ | ---- | ---- | ----------- | ----- |
73
+ | **api_key** | **String** | Your WHOISFreaks API key | |
74
+ | **whois** | **Boolean** | | |
75
+ | **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
76
+
77
+ ### Return type
78
+
79
+ **String**
80
+
81
+ ### Authorization
82
+
83
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
84
+
85
+ ### HTTP request headers
86
+
87
+ - **Content-Type**: Not defined
88
+ - **Accept**: text/csv, application/json
89
+
90
+
91
+ ## db_dropped_backlinks
92
+
93
+ > String db_dropped_backlinks(api_key, opts)
94
+
95
+ Dropped With Backlinks
96
+
97
+ Dropped With Backlinks. Returns the file/snapshot described by this operation.
98
+
99
+ ### Examples
100
+
101
+ ```ruby
102
+ require 'time'
103
+ require 'whoisfreaks'
104
+ # setup authorization
105
+ WhoisFreaks.configure do |config|
106
+ # Configure API key authorization: ApiKeyAuth
107
+ config.api_key['apiKey'] = 'YOUR API KEY'
108
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
109
+ # config.api_key_prefix['apiKey'] = 'Bearer'
110
+ end
111
+
112
+ api_instance = WhoisFreaks::DatabasesExpiringDroppedApi.new
113
+ api_key = 'api_key_example' # String | Your WHOISFreaks API key
114
+ opts = {
115
+ whois: true, # Boolean |
116
+ date: Date.parse('2013-10-20') # Date | yyyy-MM-dd; omit for latest
117
+ }
118
+
119
+ begin
120
+ # Dropped With Backlinks
121
+ result = api_instance.db_dropped_backlinks(api_key, opts)
122
+ p result
123
+ rescue WhoisFreaks::ApiError => e
124
+ puts "Error when calling DatabasesExpiringDroppedApi->db_dropped_backlinks: #{e}"
125
+ end
126
+ ```
127
+
128
+ #### Using the db_dropped_backlinks_with_http_info variant
129
+
130
+ This returns an Array which contains the response data, status code and headers.
131
+
132
+ > <Array(String, Integer, Hash)> db_dropped_backlinks_with_http_info(api_key, opts)
133
+
134
+ ```ruby
135
+ begin
136
+ # Dropped With Backlinks
137
+ data, status_code, headers = api_instance.db_dropped_backlinks_with_http_info(api_key, opts)
138
+ p status_code # => 2xx
139
+ p headers # => { ... }
140
+ p data # => String
141
+ rescue WhoisFreaks::ApiError => e
142
+ puts "Error when calling DatabasesExpiringDroppedApi->db_dropped_backlinks_with_http_info: #{e}"
143
+ end
144
+ ```
145
+
146
+ ### Parameters
147
+
148
+ | Name | Type | Description | Notes |
149
+ | ---- | ---- | ----------- | ----- |
150
+ | **api_key** | **String** | Your WHOISFreaks API key | |
151
+ | **whois** | **Boolean** | | [optional] |
152
+ | **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
153
+
154
+ ### Return type
155
+
156
+ **String**
157
+
158
+ ### Authorization
159
+
160
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
161
+
162
+ ### HTTP request headers
163
+
164
+ - **Content-Type**: Not defined
165
+ - **Accept**: text/csv, application/json
166
+
167
+
168
+ ## db_dropped_json
169
+
170
+ > Array&lt;String&gt; db_dropped_json(api_key, opts)
171
+
172
+ Dropped Domains (JSON)
173
+
174
+ Dropped Domains (JSON). Returns the file/snapshot described by this operation.
175
+
176
+ ### Examples
177
+
178
+ ```ruby
179
+ require 'time'
180
+ require 'whoisfreaks'
181
+ # setup authorization
182
+ WhoisFreaks.configure do |config|
183
+ # Configure API key authorization: ApiKeyAuth
184
+ config.api_key['apiKey'] = 'YOUR API KEY'
185
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
186
+ # config.api_key_prefix['apiKey'] = 'Bearer'
187
+ end
188
+
189
+ api_instance = WhoisFreaks::DatabasesExpiringDroppedApi.new
190
+ api_key = 'api_key_example' # String | Your WHOISFreaks API key
191
+ opts = {
192
+ date: Date.parse('2013-10-20'), # Date | yyyy-MM-dd; omit for latest
193
+ tlds: 'tlds_example' # String |
194
+ }
195
+
196
+ begin
197
+ # Dropped Domains (JSON)
198
+ result = api_instance.db_dropped_json(api_key, opts)
199
+ p result
200
+ rescue WhoisFreaks::ApiError => e
201
+ puts "Error when calling DatabasesExpiringDroppedApi->db_dropped_json: #{e}"
202
+ end
203
+ ```
204
+
205
+ #### Using the db_dropped_json_with_http_info variant
206
+
207
+ This returns an Array which contains the response data, status code and headers.
208
+
209
+ > <Array(Array&lt;String&gt;, Integer, Hash)> db_dropped_json_with_http_info(api_key, opts)
210
+
211
+ ```ruby
212
+ begin
213
+ # Dropped Domains (JSON)
214
+ data, status_code, headers = api_instance.db_dropped_json_with_http_info(api_key, opts)
215
+ p status_code # => 2xx
216
+ p headers # => { ... }
217
+ p data # => Array&lt;String&gt;
218
+ rescue WhoisFreaks::ApiError => e
219
+ puts "Error when calling DatabasesExpiringDroppedApi->db_dropped_json_with_http_info: #{e}"
220
+ end
221
+ ```
222
+
223
+ ### Parameters
224
+
225
+ | Name | Type | Description | Notes |
226
+ | ---- | ---- | ----------- | ----- |
227
+ | **api_key** | **String** | Your WHOISFreaks API key | |
228
+ | **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
229
+ | **tlds** | **String** | | [optional] |
230
+
231
+ ### Return type
232
+
233
+ **Array&lt;String&gt;**
234
+
235
+ ### Authorization
236
+
237
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
238
+
239
+ ### HTTP request headers
240
+
241
+ - **Content-Type**: Not defined
242
+ - **Accept**: application/json
243
+
244
+
245
+ ## db_expired
246
+
247
+ > String db_expired(api_key, whois, opts)
248
+
249
+ Expiring Domains
250
+
251
+ Expiring Domains. Returns the file/snapshot described by this operation.
252
+
253
+ ### Examples
254
+
255
+ ```ruby
256
+ require 'time'
257
+ require 'whoisfreaks'
258
+ # setup authorization
259
+ WhoisFreaks.configure do |config|
260
+ # Configure API key authorization: ApiKeyAuth
261
+ config.api_key['apiKey'] = 'YOUR API KEY'
262
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
263
+ # config.api_key_prefix['apiKey'] = 'Bearer'
264
+ end
265
+
266
+ api_instance = WhoisFreaks::DatabasesExpiringDroppedApi.new
267
+ api_key = 'api_key_example' # String | Your WHOISFreaks API key
268
+ whois = true # Boolean |
269
+ opts = {
270
+ date: Date.parse('2013-10-20') # Date | yyyy-MM-dd; omit for latest
271
+ }
272
+
273
+ begin
274
+ # Expiring Domains
275
+ result = api_instance.db_expired(api_key, whois, opts)
276
+ p result
277
+ rescue WhoisFreaks::ApiError => e
278
+ puts "Error when calling DatabasesExpiringDroppedApi->db_expired: #{e}"
279
+ end
280
+ ```
281
+
282
+ #### Using the db_expired_with_http_info variant
283
+
284
+ This returns an Array which contains the response data, status code and headers.
285
+
286
+ > <Array(String, Integer, Hash)> db_expired_with_http_info(api_key, whois, opts)
287
+
288
+ ```ruby
289
+ begin
290
+ # Expiring Domains
291
+ data, status_code, headers = api_instance.db_expired_with_http_info(api_key, whois, opts)
292
+ p status_code # => 2xx
293
+ p headers # => { ... }
294
+ p data # => String
295
+ rescue WhoisFreaks::ApiError => e
296
+ puts "Error when calling DatabasesExpiringDroppedApi->db_expired_with_http_info: #{e}"
297
+ end
298
+ ```
299
+
300
+ ### Parameters
301
+
302
+ | Name | Type | Description | Notes |
303
+ | ---- | ---- | ----------- | ----- |
304
+ | **api_key** | **String** | Your WHOISFreaks API key | |
305
+ | **whois** | **Boolean** | | |
306
+ | **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
307
+
308
+ ### Return type
309
+
310
+ **String**
311
+
312
+ ### Authorization
313
+
314
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
315
+
316
+ ### HTTP request headers
317
+
318
+ - **Content-Type**: Not defined
319
+ - **Accept**: text/csv, application/json
320
+
321
+
322
+ ## db_expired_cleaned
323
+
324
+ > String db_expired_cleaned(api_key, opts)
325
+
326
+ Expiring Cleaned WHOIS
327
+
328
+ Expiring Cleaned WHOIS. 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::DatabasesExpiringDroppedApi.new
344
+ api_key = 'api_key_example' # String | Your WHOISFreaks API key
345
+ opts = {
346
+ date: Date.parse('2013-10-20') # Date | yyyy-MM-dd; omit for latest
347
+ }
348
+
349
+ begin
350
+ # Expiring Cleaned WHOIS
351
+ result = api_instance.db_expired_cleaned(api_key, opts)
352
+ p result
353
+ rescue WhoisFreaks::ApiError => e
354
+ puts "Error when calling DatabasesExpiringDroppedApi->db_expired_cleaned: #{e}"
355
+ end
356
+ ```
357
+
358
+ #### Using the db_expired_cleaned_with_http_info variant
359
+
360
+ This returns an Array which contains the response data, status code and headers.
361
+
362
+ > <Array(String, Integer, Hash)> db_expired_cleaned_with_http_info(api_key, opts)
363
+
364
+ ```ruby
365
+ begin
366
+ # Expiring Cleaned WHOIS
367
+ data, status_code, headers = api_instance.db_expired_cleaned_with_http_info(api_key, opts)
368
+ p status_code # => 2xx
369
+ p headers # => { ... }
370
+ p data # => String
371
+ rescue WhoisFreaks::ApiError => e
372
+ puts "Error when calling DatabasesExpiringDroppedApi->db_expired_cleaned_with_http_info: #{e}"
373
+ end
374
+ ```
375
+
376
+ ### Parameters
377
+
378
+ | Name | Type | Description | Notes |
379
+ | ---- | ---- | ----------- | ----- |
380
+ | **api_key** | **String** | Your WHOISFreaks API key | |
381
+ | **date** | **Date** | yyyy-MM-dd; omit for latest | [optional] |
382
+
383
+ ### Return type
384
+
385
+ **String**
386
+
387
+ ### Authorization
388
+
389
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
390
+
391
+ ### HTTP request headers
392
+
393
+ - **Content-Type**: Not defined
394
+ - **Accept**: text/csv, application/json
395
+
@@ -0,0 +1,299 @@
1
+ # WhoisFreaks::DatabasesIPGeolocationApi
2
+
3
+ All URIs are relative to *https://api.whoisfreaks.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**db_ip_city**](DatabasesIPGeolocationApi.md#db_ip_city) | **GET** /v3.3/download/snapshot/ip/city | IP to City Snapshot |
8
+ | [**db_ip_city_status**](DatabasesIPGeolocationApi.md#db_ip_city_status) | **GET** /v3.3/status/snapshot/ip/city | IP to City Snapshot Status |
9
+ | [**db_ip_country**](DatabasesIPGeolocationApi.md#db_ip_country) | **GET** /v3.3/download/snapshot/ip/country | IP to Country Snapshot |
10
+ | [**db_ip_country_status**](DatabasesIPGeolocationApi.md#db_ip_country_status) | **GET** /v3.3/status/snapshot/ip/country | IP to Country Snapshot Status |
11
+
12
+
13
+ ## db_ip_city
14
+
15
+ > File db_ip_city(api_key, date)
16
+
17
+ IP to City Snapshot
18
+
19
+ IP to City Snapshot. Returns the file/snapshot described by this operation.
20
+
21
+ ### Examples
22
+
23
+ ```ruby
24
+ require 'time'
25
+ require 'whoisfreaks'
26
+ # setup authorization
27
+ WhoisFreaks.configure do |config|
28
+ # Configure API key authorization: ApiKeyAuth
29
+ config.api_key['apiKey'] = 'YOUR API KEY'
30
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
+ # config.api_key_prefix['apiKey'] = 'Bearer'
32
+ end
33
+
34
+ api_instance = WhoisFreaks::DatabasesIPGeolocationApi.new
35
+ api_key = 'api_key_example' # String | Your WHOISFreaks API key
36
+ date = Date.parse('2013-10-20') # Date |
37
+
38
+ begin
39
+ # IP to City Snapshot
40
+ result = api_instance.db_ip_city(api_key, date)
41
+ p result
42
+ rescue WhoisFreaks::ApiError => e
43
+ puts "Error when calling DatabasesIPGeolocationApi->db_ip_city: #{e}"
44
+ end
45
+ ```
46
+
47
+ #### Using the db_ip_city_with_http_info variant
48
+
49
+ This returns an Array which contains the response data, status code and headers.
50
+
51
+ > <Array(File, Integer, Hash)> db_ip_city_with_http_info(api_key, date)
52
+
53
+ ```ruby
54
+ begin
55
+ # IP to City Snapshot
56
+ data, status_code, headers = api_instance.db_ip_city_with_http_info(api_key, date)
57
+ p status_code # => 2xx
58
+ p headers # => { ... }
59
+ p data # => File
60
+ rescue WhoisFreaks::ApiError => e
61
+ puts "Error when calling DatabasesIPGeolocationApi->db_ip_city_with_http_info: #{e}"
62
+ end
63
+ ```
64
+
65
+ ### Parameters
66
+
67
+ | Name | Type | Description | Notes |
68
+ | ---- | ---- | ----------- | ----- |
69
+ | **api_key** | **String** | Your WHOISFreaks API key | |
70
+ | **date** | **Date** | | |
71
+
72
+ ### Return type
73
+
74
+ **File**
75
+
76
+ ### Authorization
77
+
78
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
79
+
80
+ ### HTTP request headers
81
+
82
+ - **Content-Type**: Not defined
83
+ - **Accept**: application/zip, application/json
84
+
85
+
86
+ ## db_ip_city_status
87
+
88
+ > <SnapshotStatus> db_ip_city_status(api_key)
89
+
90
+ IP to City Snapshot Status
91
+
92
+ IP to City Snapshot Status. Returns the file/snapshot described by this operation.
93
+
94
+ ### Examples
95
+
96
+ ```ruby
97
+ require 'time'
98
+ require 'whoisfreaks'
99
+ # setup authorization
100
+ WhoisFreaks.configure do |config|
101
+ # Configure API key authorization: ApiKeyAuth
102
+ config.api_key['apiKey'] = 'YOUR API KEY'
103
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
104
+ # config.api_key_prefix['apiKey'] = 'Bearer'
105
+ end
106
+
107
+ api_instance = WhoisFreaks::DatabasesIPGeolocationApi.new
108
+ api_key = 'api_key_example' # String | Your WHOISFreaks API key
109
+
110
+ begin
111
+ # IP to City Snapshot Status
112
+ result = api_instance.db_ip_city_status(api_key)
113
+ p result
114
+ rescue WhoisFreaks::ApiError => e
115
+ puts "Error when calling DatabasesIPGeolocationApi->db_ip_city_status: #{e}"
116
+ end
117
+ ```
118
+
119
+ #### Using the db_ip_city_status_with_http_info variant
120
+
121
+ This returns an Array which contains the response data, status code and headers.
122
+
123
+ > <Array(<SnapshotStatus>, Integer, Hash)> db_ip_city_status_with_http_info(api_key)
124
+
125
+ ```ruby
126
+ begin
127
+ # IP to City Snapshot Status
128
+ data, status_code, headers = api_instance.db_ip_city_status_with_http_info(api_key)
129
+ p status_code # => 2xx
130
+ p headers # => { ... }
131
+ p data # => <SnapshotStatus>
132
+ rescue WhoisFreaks::ApiError => e
133
+ puts "Error when calling DatabasesIPGeolocationApi->db_ip_city_status_with_http_info: #{e}"
134
+ end
135
+ ```
136
+
137
+ ### Parameters
138
+
139
+ | Name | Type | Description | Notes |
140
+ | ---- | ---- | ----------- | ----- |
141
+ | **api_key** | **String** | Your WHOISFreaks API key | |
142
+
143
+ ### Return type
144
+
145
+ [**SnapshotStatus**](SnapshotStatus.md)
146
+
147
+ ### Authorization
148
+
149
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
150
+
151
+ ### HTTP request headers
152
+
153
+ - **Content-Type**: Not defined
154
+ - **Accept**: application/json
155
+
156
+
157
+ ## db_ip_country
158
+
159
+ > File db_ip_country(api_key, date)
160
+
161
+ IP to Country Snapshot
162
+
163
+ IP to Country Snapshot. Returns the file/snapshot described by this operation.
164
+
165
+ ### Examples
166
+
167
+ ```ruby
168
+ require 'time'
169
+ require 'whoisfreaks'
170
+ # setup authorization
171
+ WhoisFreaks.configure do |config|
172
+ # Configure API key authorization: ApiKeyAuth
173
+ config.api_key['apiKey'] = 'YOUR API KEY'
174
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
175
+ # config.api_key_prefix['apiKey'] = 'Bearer'
176
+ end
177
+
178
+ api_instance = WhoisFreaks::DatabasesIPGeolocationApi.new
179
+ api_key = 'api_key_example' # String | Your WHOISFreaks API key
180
+ date = Date.parse('2013-10-20') # Date |
181
+
182
+ begin
183
+ # IP to Country Snapshot
184
+ result = api_instance.db_ip_country(api_key, date)
185
+ p result
186
+ rescue WhoisFreaks::ApiError => e
187
+ puts "Error when calling DatabasesIPGeolocationApi->db_ip_country: #{e}"
188
+ end
189
+ ```
190
+
191
+ #### Using the db_ip_country_with_http_info variant
192
+
193
+ This returns an Array which contains the response data, status code and headers.
194
+
195
+ > <Array(File, Integer, Hash)> db_ip_country_with_http_info(api_key, date)
196
+
197
+ ```ruby
198
+ begin
199
+ # IP to Country Snapshot
200
+ data, status_code, headers = api_instance.db_ip_country_with_http_info(api_key, date)
201
+ p status_code # => 2xx
202
+ p headers # => { ... }
203
+ p data # => File
204
+ rescue WhoisFreaks::ApiError => e
205
+ puts "Error when calling DatabasesIPGeolocationApi->db_ip_country_with_http_info: #{e}"
206
+ end
207
+ ```
208
+
209
+ ### Parameters
210
+
211
+ | Name | Type | Description | Notes |
212
+ | ---- | ---- | ----------- | ----- |
213
+ | **api_key** | **String** | Your WHOISFreaks API key | |
214
+ | **date** | **Date** | | |
215
+
216
+ ### Return type
217
+
218
+ **File**
219
+
220
+ ### Authorization
221
+
222
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
223
+
224
+ ### HTTP request headers
225
+
226
+ - **Content-Type**: Not defined
227
+ - **Accept**: application/zip, application/json
228
+
229
+
230
+ ## db_ip_country_status
231
+
232
+ > <SnapshotStatus> db_ip_country_status(api_key)
233
+
234
+ IP to Country Snapshot Status
235
+
236
+ IP to Country Snapshot Status. Returns the file/snapshot described by this operation.
237
+
238
+ ### Examples
239
+
240
+ ```ruby
241
+ require 'time'
242
+ require 'whoisfreaks'
243
+ # setup authorization
244
+ WhoisFreaks.configure do |config|
245
+ # Configure API key authorization: ApiKeyAuth
246
+ config.api_key['apiKey'] = 'YOUR API KEY'
247
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
248
+ # config.api_key_prefix['apiKey'] = 'Bearer'
249
+ end
250
+
251
+ api_instance = WhoisFreaks::DatabasesIPGeolocationApi.new
252
+ api_key = 'api_key_example' # String | Your WHOISFreaks API key
253
+
254
+ begin
255
+ # IP to Country Snapshot Status
256
+ result = api_instance.db_ip_country_status(api_key)
257
+ p result
258
+ rescue WhoisFreaks::ApiError => e
259
+ puts "Error when calling DatabasesIPGeolocationApi->db_ip_country_status: #{e}"
260
+ end
261
+ ```
262
+
263
+ #### Using the db_ip_country_status_with_http_info variant
264
+
265
+ This returns an Array which contains the response data, status code and headers.
266
+
267
+ > <Array(<SnapshotStatus>, Integer, Hash)> db_ip_country_status_with_http_info(api_key)
268
+
269
+ ```ruby
270
+ begin
271
+ # IP to Country Snapshot Status
272
+ data, status_code, headers = api_instance.db_ip_country_status_with_http_info(api_key)
273
+ p status_code # => 2xx
274
+ p headers # => { ... }
275
+ p data # => <SnapshotStatus>
276
+ rescue WhoisFreaks::ApiError => e
277
+ puts "Error when calling DatabasesIPGeolocationApi->db_ip_country_status_with_http_info: #{e}"
278
+ end
279
+ ```
280
+
281
+ ### Parameters
282
+
283
+ | Name | Type | Description | Notes |
284
+ | ---- | ---- | ----------- | ----- |
285
+ | **api_key** | **String** | Your WHOISFreaks API key | |
286
+
287
+ ### Return type
288
+
289
+ [**SnapshotStatus**](SnapshotStatus.md)
290
+
291
+ ### Authorization
292
+
293
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
294
+
295
+ ### HTTP request headers
296
+
297
+ - **Content-Type**: Not defined
298
+ - **Accept**: application/json
299
+