نقطه پایانی API:
https://analytics.tik4.com/api/v1/websites
مثال درخواست:
curl --location --request GET 'https://analytics.tik4.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
sort
desc
for Z-A, asc
for A-Zنقطه پایانی API:
https://analytics.tik4.com/api/v1/websites/{id}
مثال درخواست:
curl --location --request GET 'https://analytics.tik4.com/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
نقطه پایانی API:
https://analytics.tik4.com/api/v1/websites
مثال درخواست:
curl --location --request POST 'https://analytics.tik4.com/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
url
password
privacy
0
for عمومی, 1
for خصوصی, 2
for کلمه عبورemail
0
for غیر فعال, 1
for فعال شدexclude_bots
0
for غیر فعال, 1
for فعال شدexclude_ips
نقطه پایانی API:
https://analytics.tik4.com/api/v1/websites/{id}
مثال درخواست:
curl --location --request PUT 'https://analytics.tik4.com/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
password
privacy
0
for عمومی, 1
for خصوصی, 2
for کلمه عبورemail
0
for غیر فعال, 1
for فعال شدexclude_bots
0
for غیر فعال, 1
for فعال شدexclude_ips
نقطه پایانی API:
https://analytics.tik4.com/api/v1/websites/{id}
مثال درخواست:
curl --location --request DELETE 'https://analytics.tik4.com/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'