Git Product home page Git Product logo

Comments (4)

JorgeCuauro avatar JorgeCuauro commented on July 28, 2024 1

from pybcv.

fcoagz avatar fcoagz commented on July 28, 2024

Buenos días Jorge, muchísimas gracias. El problema ha corrido debido a los certificados SSL de la página de BCV, en unos instante corregiré esa parte.

Mientras tanto puede usar pyDolarVenezuela, es mi segunda biblioteca en el cuál te permite obtener datos de los monitores de diversas páginas web informativa sobre el valor actual del dólar y/o euro. Para obtener los datos del Banco Central de Venezuela, puede usar el siguiente código:

from pyDolarVenezuela.pages import BCV
from pyDolarVenezuela import Monitor 

monitor = Monitor(BCV)

tasas_de_cambio = monitor.get_value_monitors()

Acá obtienes todas las tasas de cambio del BCV, te ofrece varias entidades incluyendo el title, price, last_update. Aunque además podés asignarle argumentos a la función para obtener una tasa en específico:

from pyDolarVenezuela.pages import BCV 
from pyDolarVenezuela import Monitor

monitor = Monitor(BCV)

valor_euro = monitor.get_value_monitors("eur", "price")

print(valor_euro)

Te recomiendo leer la documentación: https://github.com/fcoagz/pydolarvenezuela

from pybcv.

fcoagz avatar fcoagz commented on July 28, 2024

pyBCV fue actualizada hace un momento! @JorgeCuauro

from pybcv.

fcoagz avatar fcoagz commented on July 28, 2024

Siempre a la orden

from pybcv.

Related Issues (1)

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.