จุดสิ้นสุด API:
https://ans.pna.co.th/api/v1/stats/{id}
ตัวอย่างคำขอ:
curl --location --request GET 'https://ans.pna.co.th/api/v1/stats/{id}?name={name}&from={from}&to={to}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
namebrowser, campaign, city, continent, country, device, event, landing_page, language, os, page, pageviews, pageviews_hours, referrer, resolution, visitors, visitors_hoursfromY-m-dtoY-m-dsearchsearch_byvalue สำหรับ ค่า ค่าเริ่มต้นคือ: urlsort_bycount สำหรับ Count, value สำหรับ ค่า ค่าเริ่มต้นคือ: countsortdesc สำหรับ จากมากไปหาน้อย, asc สำหรับ จากน้อยไปหามาก ค่าเริ่มต้นคือ: descper_page10, 25, 50, 100 ค่าเริ่มต้นคือ: 10