نقطه پایانی API:
https://statline.ir/crawl/api/v1/reports
مثال درخواست:
curl --location --request GET 'https://statline.ir/crawl/api/v1/reports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byurl برای URL. Defaults to: url.projectresultgood برای خوب, decent برای مناسب, bad برای بد.sort_byid برای تاریخ ایجاد, generated_at برای تاریخ تولید, url برای URL, result برای نتیجه. Defaults to: id.sortdesc برای نزولی, asc برای صعودی. Defaults to: desc.per_page10, 25, 50, 100. Defaults to: 10.نقطه پایانی API:
https://statline.ir/crawl/api/v1/reports/{id}
مثال درخواست:
curl --location --request GET 'https://statline.ir/crawl/api/v1/reports/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
نقطه پایانی API:
https://statline.ir/crawl/api/v1/reports
مثال درخواست:
curl --location --request POST 'https://statline.ir/crawl/api/v1/reports' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
urlprivacy0 برای عمومی, 1 برای خصوصی, 2 برای کلمه عبور. Defaults to: 0.passwordprivacy set to 2.نقطه پایانی API:
https://statline.ir/crawl/api/v1/reports/{id}
مثال درخواست:
curl --location --request PUT 'https://statline.ir/crawl/api/v1/reports/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy0 برای عمومی, 1 برای خصوصی, 2 برای کلمه عبور.passwordprivacy set to 2.results0 برای خیر, 1 برای بله. Defaults to: 0.نقطه پایانی API:
https://statline.ir/crawl/api/v1/reports/{id}
مثال درخواست:
curl --location --request DELETE 'https://statline.ir/crawl/api/v1/reports/{id}' \ --header 'Authorization: Bearer {api_key}'