Timezones
BaseLista todos os timezones aceitos em endpoints de fixtures.
https://betapi.site/app/v1/timezone/x-betapi-key: SUA_CHAVE_BETAPINotas
- Equivalente ao endpoint /timezone da API original.
Exemplos
curl -X GET 'https://betapi.site/app/v1/timezone/' \ -H 'x-betapi-key: SUA_CHAVE_BETAPI'
$ch = curl_init('https://betapi.site/app/v1/timezone/');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['x-betapi-key: SUA_CHAVE_BETAPI'],
]);
echo curl_exec($ch);
curl_close($ch);
fetch('https://betapi.site/app/v1/timezone/', {
method: 'GET',
headers: { 'x-betapi-key': 'SUA_CHAVE_BETAPI' }
}).then(r => r.json()).then(console.log);
Resposta de exemplo JSON
{
"get": "timezone",
"parameters": [],
"errors": [],
"results": 1,
"paging": {
"current": 1,
"total": 1
},
"response": [
{}
]
}