Cotización de bancos
GET
/api/bancostodosDevuelve la cotización actual de los bancos.
Respuestas
Cotización de bancos exitosa
JSON
{
"dolariol": {...},
"buendolar": {...},
"plus": {...},
"cambioposadas": {...},
"cambioar": {...},
"dolaria": {...},
"balanz": {...},
"bna": {...},
"rebanking": {...},
"cambiosroca": {...},
"davsa": {...},
"santander": {...},
"galicia": {...},
"bbva": {...},
"patagonia": {...},
"macro": {...},
"hsbc": {...},
"bapro": {...},
"ciudad": {...},
"brubank": {...},
"naranjax": {...},
"prex": {...},
"globalcambio": {...},
"supervielle": {...},
"icbc": {...},
"cambiodieza": {...},
"plazacambio": {...},
"triacambio": {...},
"hipotecario": {...}
}
GET
/api/bancostodosEjemplos
cURL
curl -X GET https://criptoya.com/api/bancostodos
JavaScript
fetch("https://criptoya.com/api/bancostodos")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://criptoya.com/api/bancostodos");
Python
import requests
response = requests.get("https://criptoya.com/api/bancostodos")
print(response.json())