8000 GitHub - tomkat-cr/bcv-exchange-rates: A python module to get exchange rates from bcv.org.ve
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tomkat-cr/bcv-exchange-rates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bcv-exchange-rates

English

API to get Banco Central de Venezuela (BCV) currency exchange rates with Python and scrapping the BCV website bcv.org.ve.
Includes daily currency exchange rates of US Dollar, Euro, Japanese Yen, Russian Ruble, Chinese Yuan y Turkish Lira.

Production API call

https://bcv-exchange-rates.vercel.app/get_exchange_rates
{
  "error": false,
  "error_message": [],
  "data": {
    "euro": {
      "symbol": "EUR",
      "value": "19,39949699"
    },
    "yuan": {
      "symbol": "CNY",
      "value": "2,67429452"
    },
    "lira": {
      "symbol": "TRY",
      "value": "0,98005430"
    },
    "rublo": {
      "symbol": "RUB",
      "value": "0,25213624"
    },
    "dolar": {
      "symbol": "USD",
      "value": "18,39460000"
    },
    "effective_date": "Viernes, 06 Enero  2023",
    "run_timestamp": "2023-01-06 11:55:42 UTC"
  }
}

What is an API?

APIs are mechanisms that allow two software components or programs to communicate with each other using a set of definitions and protocols. For example, this bcv-exchange-rates API returns daily exchange rate data taken from the BCV website. An application on your phone that needs to do currency conversion "talks" to this system through the APIs and shows you daily exchange updates for dollar, euro, yen, ruble, yuan, and lira on your phone.

What does API mean?

API stands for "Application Programming Interface". In the context of APIs, the word "application" refers to any software or program with distinct and/or independent functions. The interface can be thought of as a service contract between two applications. This contract defines how they communicate with each other through requests and responses. Your API documentation should contain information about how developers should structure those requests and responses.




Spanish

API dolar oficial del BCV (Banco Central de Venezuela). Desarrollada en Python y haciendo web scrapping del sitio Web bcv.org.ve en vista de la falta de una API oficial de la institución.
Incluye actualizaciones de cambio monetarias diarias de: dólar norteamericano, euro, yen japonés, rublo ruso, yuan chino y liras turcas.

Llamada a la API de producción

https://bcv-exchange-rates.vercel.app/get_exchange_rates
{
  "error": false,
  "error_message": [],
  "data": {
    "euro": {
      "symbol": "EUR",
      "value": "19,39949699"
    },
    "yuan": {
      "symbol": "CNY",
      "value": "2,67429452"
    },
    "lira": {
      "symbol": "TRY",
      "value": "0,98005430"
    },
    "rublo": {
      "symbol": "RUB",
      "value": "0,25213624"
    },
    "dolar": {
      "symbol": "USD",
      "value": "18,39460000"
    },
    "effective_date": "Viernes, 06 Enero  2023",
    "run_timestamp": "2023-01-06 11:55:42 UTC"
  }
}

¿Qué es una API?

Las API son mecanismos que permiten a dos componentes de software o programas comunicarse entre sí mediante un conjunto de definiciones y protocolos. Por ejemplo, esta API bcv-exchange-rates devuelve datos de tasas de cambios diarias tomadas del sitio web del BCV. Una aplicación de su teléfono que necesite hacer conversión monetaria "habla" con este sistema a través de las API y le muestra en su teléfono las actualizaciones del cambio diarias de dólares, euros, yenes, rublos, yuanes y liras.

¿Qué significa API?

API son las siglas de "interfaz de programación de aplicaciones". En el contexto de las API, la palabra aplicación se refiere a cualquier software o programa con funciones distintas y/o independientes. La interfaz puede considerarse como un contrato de servicio entre dos aplicaciones. Este contrato define cómo se comunican entre sí mediante solicitudes y respuestas. La documentación de su API debe contener información sobre cómo los desarrolladores deben estructurar esas solicitudes y respuestas.

About

A python module to get exchange rates from bcv.org.ve

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0