kattatzu / sbif Goto Github PK
View Code? Open in Web Editor NEWConsulta de indicadores al API de la superintendencia de bancos e instituciones financieras SBIF (Chile)
Home Page: https://kattatzu.github.io/sbif
License: MIT License
Consulta de indicadores al API de la superintendencia de bancos e instituciones financieras SBIF (Chile)
Home Page: https://kattatzu.github.io/sbif
License: MIT License
Valor de la UF del día 11-04-2018 sale como 26.97 en lugar de ser 26.970, alguna forma para solucionar?
Siendo las 00:08 del 28/7/2017, intento hacer la consulta
http://api.sbif.cl/api-sbifv3/recursos_api/dolar/2017/07/dias/28?apikey=miapikeysupersecreta&formato=json Y me retorna que no hay datos para mostrar.
¿Podrá ser un problema de horario de verano/invierno?
¿O será que la intendencia calcula el valor a una determinada hora?
USD: ${{ sbif_dollar(\Carbon\Carbon::now()->tz('America/Santiago')) }} CLP // no funciona
EDIT
Al parecer la sbif se demora unos 10 minutos en calcular el valor. He revisado a las 00:11 y no mostró error alguno.
Good afternoon
Dear,
Currently I have a problem with the api when downloading any exchange rate to the UF currency and this does not always happen, there are days that we can obtain the rates of the day correctly, but others not, as is the case today. The API returns the following message: Division by zero
We are looking forward to your comments. Regards!
Estoy en un vista de blade de AdminLTE y quiero imprimir los datos del dólar por ejemplo
Esto funciona
<h1> USD: {!! sbif_dollar('2017-07-20'); !!}</h1>
pero esto no
<h1> USD: {!! sbif_dollar(date('Y-m-d')) !!}</h1>
Recibo como respuesta
Client error: `GET http://api.sbif.cl/api-sbifv3/recursos_api/dolar/2017/07/dias/21?apikey=a7ef0bbe5600e2b74ea6e897a8b0e514baaf1eaf&formato=json` resulted in a `404 No Encontrado` response: { "CodigoHTTP": 404, "CodigoError": 80, "Mensaje": "No hay datos disponibles para los parametros ingresados" }
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.