?????? ????????? ??????
1) NiceNIC Reseller API v2 ???
API v2 ??? NiceNIC-?? ??????? REST-?????? ?????????, ?? ?????????? ?????? HTTPS ?????? ? JSON ???????????? ??????? ?? domain lifecycle action—registration, transfer, renewal, WHOIS modification, ??? DNS management—?????????? ???? ????
2) ?????? API ???? API v2 ?????? ??????
Version 2-? ??? ??? ????? response speed, ????? authentication, ????? error handling, ??? legacy query strings-?? ???? ???????? JSON-??????? output? ??? ?????? application ??? framework-?? ????? ??? ???? integrate ???? ???? ?????
3) ??? ?????? API credentials ???? ?????
???? verified reseller ????? ??, ????? dashboard-? ?? ?? ???? ??? "API Settings" ?????? ???? ????? ???? ???? ???? API Key ??? Secret Token ???? ??? ????? ?????? authenticated requests ?????? ???? ???? ??????.
4) API ???? ??? ?? ???? ?????
???? ???????? ????????? ????? ????? ?????, ???? ?????? ??????? ???? ?????, ???????? ?????? ?????? ???? ?????, EPP ??? ??????? ??? ?????? ?????????? ???? ?????, WHOIS ???? ???????? ???? ?????, DNS ?????? ???????? ???? ?????, ?????????? ????????? ??????? ???? ????? ??? ???????? ?????? ????? ????? — ??? ??????????? ?? ?? ?? ?????
5) ??? ??????????? ???????? ???????????????
?? ???? ???? ?? HTTPS ?????? ?????? ???, ???? API-?? ???? ??? ???? ?????????? ??????? PHP (cURL ??), Python (requests), Node.js (axios ?? fetch), ???? Java ??????? ????? PHP-?? ?????? ????????? ?? ????? ?????? ?????? ??? ???????
6) API v2-? security ?????? ??????? ??? ????
?? ?????? HTTPS ??? ??? API credentials ??????? ???? ????? ???????? ????????? ????? ???? IP whitelisting ??????? ??? ????? Tokens ????????? ??? ???, ??? ??????????? ? registrar network ?????? ???????? ????? rate limiting ??????? ??? ????
7) ???????? ?????? ??? API ?????????? ???????
??????? ?? endpoints???? ??????????? ????:
???? ????????? ???? domain-register
??? transfer-?? ???? domain-transfer
???????? ???? domain-renew
WHOIS lookup-?? ???? domain-info
nameserver ?? record ??????? ???? dns-modify
reseller credits ????? ???? ???? account-balance
8) ???? API request ?????? ??? ??? ?? ????
API JSON ???????? ???? ?????? error code ??? message ???? ????? ?????? ??????? ????? ???? invalid credentials, unauthorized IPs, ?? ??? parameters? ????? ?????? ???????? ???? response message ?????????? ???? ???? request log ?? ?????? support team-?? ???? ??????? ?????
9) ????????? documentation ??? sample code ?????? ????
?? endpoint reference, parameter, authentication sample ??? PHP demo script ?????? NiceNIC Reseller API v2 documentation page-? ?????? ????:http://www.unionroom.cn/reseller/apiv2.php. ??????????? ???????? ???? ???? ?????? reseller support team-?? ?????? ??????? ???? ??????






