endpoint در API:
https://statsfa.com/api/v1/websites
مثال درخواست:
curl --location --request GET 'https://statsfa.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
domain
برای دامنه. Defaults to: domain
.favorite
sort_by
id
برای تاریخ ایجاد, domain
برای دامنه. Defaults to: id
.sort
desc
برای نزولی, asc
برای سعودی. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 10
.endpoint در API:
https://statsfa.com/api/v1/websites/{id}
مثال درخواست:
curl --location --request GET 'https://statsfa.com/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
endpoint در API:
https://statsfa.com/api/v1/websites
مثال درخواست:
curl --location --request POST 'https://statsfa.com/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'domain={domain}'
domain
privacy
0
برای عمومی, 1
برای خصوصی, 2
برای رمز عبور. Defaults to: 0
.password
privacy
تنظیم شده به 2
.email
0
برای غیر فعال, 1
برای فعال. Defaults to: 0
.exclude_bots
0
برای غیر فعال, 1
برای فعال. Defaults to: 1
.exclude_params
exclude_ips
endpoint در API:
https://statsfa.com/api/v1/websites/{id}
مثال درخواست:
curl --location --request PUT 'https://statsfa.com/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy
0
برای عمومی, 1
برای خصوصی, 2
برای رمز عبور.password
privacy
تنظیم شده به 2
.email
0
برای غیر فعال, 1
برای فعال.exclude_bots
0
برای غیر فعال, 1
برای فعال.exclude_params
exclude_ips
favorite
endpoint در API:
https://statsfa.com/api/v1/websites/{id}
مثال درخواست:
curl --location --request DELETE 'https://statsfa.com/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'