API endpoint:
https://phprank.lunatio.com/api/v1/websites
Request example:
curl --location --request GET 'https://phprank.lunatio.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_bydomain for Domain. Defaults to: domain.sort_byid for Date created, domain for Domain, reports_avg_score for Score, reports_count for Reports. Defaults to: id.sortdesc for Descending, asc for Ascending. Defaults to: desc.per_page10, 25, 50, 100. Defaults to: 10.API endpoint:
https://phprank.lunatio.com/api/v1/websites/{id}
Request example:
curl --location --request GET 'https://phprank.lunatio.com/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://phprank.lunatio.com/api/v1/websites/{id}
Request example:
curl --location --request PUT 'https://phprank.lunatio.com/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy0 for Public, 1 for Private, 2 for Password.passwordprivacy field set to 2.API endpoint:
https://phprank.lunatio.com/api/v1/websites/{id}
Request example:
curl --location --request DELETE 'https://phprank.lunatio.com/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'