UNPKG

bcv-divisas

Version:

este paquete se encarga de realizar la consulta de las divisas listadas en la pagina web del banco central de venezuela como lo es el USD, EUR entre otros mas

363 lines (90 loc) 3.88 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Global</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> </head> <body> <div id="main"> <h1 class="page-title">Global</h1> <section> <header> <h2></h2> </header> <article> <div class="container-overview"> <dl class="details"> </dl> </div> <h3 class="subsection-title">Methods</h3> <h4 class="name" id="bcvDolar"><span class="type-signature">(async) </span>bcvDolar<span class="signature">()</span><span class="type-signature"> &rarr; {Promise}</span></h4> <div class="description"> asynchronous method, get the currency values from the BCV website, the web site update daily </div> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="index.js.html">index.js</a>, <a href="index.js.html#line6">line 6</a> </li></ul></dd> </dl> <h5>Yields:</h5> <div class="param-desc"> Promise object that contains the following propierties '_dolar','_euro','_yuan','_lira','_rublo', all are number type </div> <dl> <dt> Type </dt> <dd> <span class="param-type">Promise</span> </dd> </dl> <h5>Example</h5> <p class="code-caption"> example usage of bcvDolar </p> <pre class="prettyprint"><code>dtDolar().then(data=>{console.log(data)})</code></pre> <h4 class="name" id="dtDolar"><span class="type-signature">(async) </span>dtDolar<span class="signature">()</span><span class="type-signature"> &rarr; {Promise}</span></h4> <div class="description"> asynchronous method, get the currency values from the DolarToday website, the web site update daily </div> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="index.js.html">index.js</a>, <a href="index.js.html#line31">line 31</a> </li></ul></dd> </dl> <h5>Yields:</h5> <div class="param-desc"> Promise object that contains the following propierties '_USD','_EUR','_COL', all are number type </div> <dl> <dt> Type </dt> <dd> <span class="param-type">Promise</span> </dd> </dl> <h5>Example</h5> <p class="code-caption"> example usage of dtDolar </p> <pre class="prettyprint"><code>dtDolar().then(data=>{console.log(data)})</code></pre> </article> </section> </div> <nav> <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.html#bcvDolar">bcvDolar</a></li><li><a href="global.html#dtDolar">dtDolar</a></li></ul> </nav> <br class="clear"> <footer> Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a> on Wed Dec 07 2022 12:59:07 GMT-0400 (Venezuela Time) </footer> <script> prettyPrint(); </script> <script src="scripts/linenumber.js"> </script> </body> </html>