Valor CER
GET
/api/cerDevuelve el valor actual del CER.
Respuestas
Valor CER
JSON
{
"time": 0,
"value": 0
}
GET
/api/cerEjemplos
cURL
curl -X GET https://criptoya.com/api/cer
JavaScript
fetch("https://criptoya.com/api/cer")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://criptoya.com/api/cer");
Python
import requests
response = requests.get("https://criptoya.com/api/cer")
print(response.json())