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