- 💻 end to end software development on demand.
- 📫 How to reach me [email protected]
aledc7 / bcra-api Goto Github PK
View Code? Open in Web Editor NEWComo consumir la API del Banco Central de Argentina
Como consumir la API del Banco Central de Argentina
Hola Alejandro, no me anda tu codigo, creo que porque hoy usa https en lugar de http
cambié de tu código estás 3 líneas: url, data y el token. (el token es real)
$.ajax({
url: 'https://api.estadisticasbcra.com/milestones', //ACA PUSE HTTPS
type: 'GET',
data:{d: "2019-09-27"}, //PUSE LA FECHA DE HOY
// con la propiedad beforeSend le paso el tipo de autorizacion, en este caso será 'Bearer' y luego el token que registré en el BCRA
beforeSend: function (xhr) {
xhr.setRequestHeader('Authorization', 'Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MDExNTIwNjAsInR5cGUiOiJleHRlcm5hbCIsInVzZXIiOiJiaHo2Mjk2MkBiY2Fvby5jb20ifQ.vxSY0A-_l-LjsivLnxOg_snwcdOvP6Shn3tZimuYxstPOguwtlI3qYSRsb2IL2ILRADt82gzVh_pdMUKjRvhEg');
},
Te agradezco de antemano
Buenas tardes. Estoy consultando via API con la URL "https://api.estadisticasbcra.com/usd_of_minorista" y la ultima cotizacion del array es del 28/02/2020 de $64,26, queria saber si cambio algo
Saludos
solo trae datos hasta 2018, dejaron de actualizar?
¿Como estás?
¿Como solucionas el Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://api.estadisticasbcra.com/usd_of?d=2004-12-31. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).?
Gracias
Ya no funciona el servicio, saludos.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.