api.domains

get()

api.domains.get(id) → Promise<Domain>

以其识别符号或名称来获取(")example.com" () 工程。

id or namefree404 if not attached
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

const domain = await api.domains.get("example.com");
const same   = await api.domains.get(domain.id);
domain = api.domains.get("example.com")
same = api.domains.get(domain.id)
取名字是有用的部分

域名在其他地方都以其名称来识别,在客户信息、支持票、配置文件中都是如此。 首先查寻识别符号将毫无意义。 光靠识别符号是无益的。 用户信息、支持票、配置文件等信息都显示一个域名。

是读而不是支票

status 和 dns 重新读取此区域并 status 移动,调用 (支票).

记录和随附的邮件,

const domain = await api.domains.get("example.com");

await domain.records.list();
await domain.mail.status();
domain = api.domains.get("example.com")

domain.records.list()
domain.mail.status()

错误

账户中没有附着的姓名答复404个问题,包括附在他人名字上的姓名,这是目的上相同的答案。