API Autentifikimi
API-ja e NiceNIC p?rdor sekretin API p?r t? autentikuar k?rkesat. Mund t? shikoni dhe menaxhoni Sekretin tuaj API n? Panelin e Kontrollit.
Rekomandojm? fuqimisht q? ta mbani fjal?n tuaj sekrete API t? sigurt, mos e ndani n? hap?sira publike si GitHub, kode klient?sh, etj. Gjithmon? mund ta rivendosni Fjal?n Sekrete API duke Panelin e Kontrollit.
Autentifikimi n? API b?het p?rmes kok?s HTTP Authorization, ku duhet t? specifikoni Emrin e P?rdoruesit dhe fjal?n tuaj sekrete API, t? ndara me dy pik?.
T? gjitha k?rkesat API duhet t? b?hen p?rmes HTTP. K?rkesat API pa autentifikim gjithashtu do t? d?shtojn?.
https://api.nicenic.net/v2/
Host: api.nicenic.net
Authorization: username:api_secret
Content-Type: application/json
Authorization: username:api_secret
Content-Type: application/json
### Response format
```json
{
"code": 0,
"msg" : "success",
"data" : {} // Specific data
}






