АПИ Authentication

The NiceNIC API uses АПИ secret to authenticate requests. You can view А manage Твой АПИ Secret in the Панель управления.
We strongly recommend that you keep Твой АПИ secret secure, do not share Твой secrets in public areas such as GitHub, client code, etc. You can always reset Твой АПИ Secret by Панель управления.
Authentication to the АПИ is done using the HTTP Auth Илиization header, wздесь you need to specify Твой Имя пользователя А АПИ secret, separated by a colon.
Выбрать все АПИ requests must be made over HTTP. АПИ requests without authentication will also fail.
https://api.nicenic.net/v2/
Host: api.nicenic.net
Authorization: username:api_secret
Content-Type: application/json
                                            
### Response format
```json
{
    "code": 0,
    "msg" : "success",
    "data" : {} // Specific data
}
Авторское право © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Все права защищены. · U.S. Affiliate: NICENIC LLC