Sites Internet

Notes
Expert level
La clé API doit être envoyée en tant que jeton Bearer dans l'en-tête Authorization de la demande. Get your API key.
List

API endpoint:

GET
http://meekty.com/api/v1/websites

Request example:

curl --location --request GET 'http://meekty.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Description
search
optional string
The search query.
sort
optional string
Sort. Possible values are: desc for Z-A, asc for A-Z.
per_page
optional int
résultats par page. Possible values are: 10 to 100. Defaults to: 20.
Show

API endpoint:

GET
http://meekty.com/api/v1/websites/{id}

Request example:

curl --location --request GET 'http://meekty.com/api/v1/websites/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Store

API endpoint:

POST
http://meekty.com/api/v1/websites

Request example:

curl --location --request POST 'http://meekty.com/api/v1/websites' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parameter
Type
Description
url
required string
The website's URL.
password
optional string
The password for the statistics page. Only works with privacy set to 2.
privacy
optional integer
Confidentialité de la page de statistiques. Possible values are: 0 for Public, 1 for Private, 2 for Mot de passe. Defaults to: 1.
email
optional integer
Periodic email reports. Possible values are: 0 for Disabled, 1 for Enabled. Defaults to: 0.
exclude_bots
optional integer
Exclude common bots from being tracked. Possible values are: 0 for Disabled, 1 for Enabled. Defaults to: 1.
exclude_ips
optional string
Exclude IPs from being tracked. One per line.
Update

API endpoint:

PUT PATCH
http://meekty.com/api/v1/websites/{id}

Request example:

curl --location --request PUT 'http://meekty.com/api/v1/websites/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parameter
Type
Description
password
optional string
The password for the statistics page. Only works with privacy set to 2.
privacy
optional integer
Confidentialité de la page de statistiques. Possible values are: 0 for Public, 1 for Private, 2 for Mot de passe.
email
optional integer
Periodic email reports. Possible values are: 0 for Disabled, 1 for Enabled.
exclude_bots
optional integer
Exclude common bots from being tracked. Possible values are: 0 for Disabled, 1 for Enabled.
exclude_ips
optional string
Exclude IPs from being tracked. One per line.
Effacer

API endpoint:

DELETE
http://meekty.com/api/v1/websites/{id}

Request example:

curl --location --request DELETE 'http://meekty.com/api/v1/websites/{id}' \
--header 'Authorization: Bearer {api_key}'