نقطه پایانی 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-Zper_page
10
to 100
Defaults to: 10
.نقطه پایانی 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
privacy
0
for عمومی, 1
for خصوصی, 2
for کلمه عبور Defaults to: 1
.password
email
0
for غیر فعال, 1
for فعال شد Defaults to: 0
.exclude_bots
0
for غیر فعال, 1
for فعال شد Defaults to: 1
.exclude_params
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}'
privacy
0
for عمومی, 1
for خصوصی, 2
for کلمه عبورpassword
email
0
for غیر فعال, 1
for فعال شدexclude_bots
0
for غیر فعال, 1
for فعال شدexclude_params
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}'