Git Product home page Git Product logo

sbif's People

Contributors

jose-rios-okane avatar kattatzu avatar maurocoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sbif's Issues

Error en valor UF

Valor de la UF del día 11-04-2018 sale como 26.97 en lugar de ser 26.970, alguna forma para solucionar?

Problema con la hora de consulta

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.

Division by zero

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!

Problema con date

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" }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.