GithubHelp home page GithubHelp logo

monero-prices.js's Introduction

monero-prices

Version (npm) Build Status Code Coverage Code Climate

Wrapper for the API methods of moneropric.es, written in JavaScript.

API Reference

monero-prices.get(currencyCode) ⇒ Promise.<(ExchangeRate|Array.<ExchangeRate>)>

Gets the current price of Monero compared to a specific currency or a list of currencies.

Kind: static method of monero-prices
Returns: Promise.<(ExchangeRate|Array.<ExchangeRate>)> - Current exchange rate(s) of the currency pair(s) specified.

Param Type Description
currencyCode string | Array.<string> Code of the currency/currencies to compare Monero's price with. If null, then every known currency will be compared.

monero-prices~ExchangeRate : Object

Represents the exchange rate of a currency pair involving Monero.

Kind: inner typedef of monero-prices
Properties

Name Type Description
fiatBased number Fiat-based exchange rate of the currency pair.
xmrBased number Monero-based exchange rate of the currency pair.
code string Code of the currency of which the value is compared to Monero's value.
name string Name of the currency of which the value is compared to Monero's value.

monero-prices.js's People

Contributors

kripod avatar

Stargazers

Alexander avatar  avatar Leo avatar

Watchers

Leo avatar James Cloos avatar  avatar  avatar

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.