await api.domains.search("example"); // across the usual extensions
await api.domains.search("example.com"); // that one
await api.domains.search("example", { tlds: ["fr"] }); // the ones you nameapi.domains.search("example") # across the usual extensions
api.domains.search("example.com") # that one
api.domains.search("example", tlds=["fr"]) # the ones you namequerystring必填姓名,有的有,有的没有,有的没有扩展名。 不是一个短语。
tldsstring[]哪个扩展选项要尝试 。
返回值
[{ name: "example.com", available: false, priceCredits: null }][{"name": "example.com", "available": False, "priceCredits": None}]namestring整个名字
availableboolean|nullnull 何时 DNS 没有清楚回答。 猜不到 估计不到
priceCreditsinteger|nullnull 登记员没有被电汇——比不真实的价格好。
无效是一个答案
DNS 答案不回答显然是真实的状态, 把它变成“ 可用 ” 将是昂贵的错误。 显示“ 未知 ” 而不是猜测。
拒绝一个短语
要求它为里昂的面包店找东西, 却只回回拒绝, 而不是回一个没人要求的名字,
原文如下: DNS而不是登记簿
确定一个名称。 可能不是免费的, 登记官是决定登记的人。
没有任何保留,任何费用都不收费
搜索是自由的,没有留下任何痕迹。 加( 加),它的工作范围已经是你拥有的。