require 'fastly'
api_instance = Fastly::DomainResearchApi.newNote
All URIs are relative to https://api.fastly.com
| Method | HTTP request | Description |
|---|---|---|
| domain_status | GET /domain-management/v1/tools/status | Domain status |
| suggest_domains | GET /domain-management/v1/tools/suggest | Suggest domains |
domain_status(opts): <Status> # Domain statusThe Status method checks the availability status of a single domain name.
api_instance = Fastly::DomainResearchApi.new
opts = {
domain: 'acmecoffee.shop', # String |
scope: 'estimate', # String |
}
begin
# Domain status
result = api_instance.domain_status(opts)
p result
rescue Fastly::ApiError => e
puts "Error when calling DomainResearchApi->domain_status: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| domain | String | ||
| scope | String | [optional] |
[Back to top] [Back to API list] [Back to README]
suggest_domains(opts): <InlineResponse2009> # Suggest domainsThe Suggest method performs a real-time query of the search term(s) against the known zone database, making recommendations, stemming, and applying Unicode folding, IDN normalization, registrar supported-zone restrictions, and other refinements. Note: Suggest method responses do not include domain availability status.
api_instance = Fastly::DomainResearchApi.new
opts = {
query: 'foo%20bar', # String |
defaults: 'club', # String |
keywords: 'food,kitchen', # String |
location: 'de', # String |
vendor: 'dnsimple.com', # String |
}
begin
# Suggest domains
result = api_instance.suggest_domains(opts)
p result
rescue Fastly::ApiError => e
puts "Error when calling DomainResearchApi->suggest_domains: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| query | String | ||
| defaults | String | [optional] | |
| keywords | String | [optional] | |
| location | String | [optional] | |
| vendor | String | [optional] |