All endpoints require an API key, which is unique for each user.
You must provide your API key as a header parameter as shown in this example:
Python
import requests
url = "https://api.vacc-ua.org/api/member/1300518"
headers = {
'X-API-Key': "123456",
}
response = requests.request("GET", url, headers=headers)
PHP
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_PORT => "443",
CURLOPT_URL => "https://api.vacc-ua.org/api/member/1300518",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"X-API-Key: 123456"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);