Sign inSign up

bigomby/btcven-api

By bigomby

•Updated about 8 years ago

Bitcoin Venezuela API

Image
0

329

bigomby/btcven-api repository overview

⁠Bitcoin Venezuela API v2

⁠Cómo instalar la versión sólo BTCVES:

Debe tener instalado y configurado:

Instalacion y ejecucion:

  • Open Port 3000
  • Cree o ubiquese en la carpeta donde alojara el codigo fuente
  • Clone repo -> git clone https://github.com/btcven/api.git⁠
  • Ubiquese en la capeta -> "api"
  • Ejecute el comando -> "npm install"
  • Ejecute el comando -> "forever start main.js" y "forever stop main.js" para detener
  • Done -> Solicite la https://addresserver:3000/coin⁠ desde cualquier navegador

⁠How to enable BTCVES-only mode:

You need to have installed and already set:

  • Nodejs
  • Redis
  • Forever _run the command "npm install forever"

Installation and execution:

  • Open Port 3000
  • Create or go to the directory where you will run the source code from
  • Clone repo -> git clone https://github.com/btcven/api.git⁠
  • Go to the directory -> "api"
  • Run the command -> "npm install"
  • Run the command -> "forever start main.js" and "forever stop main.js" to stop it
  • Done -> You can visit https://addresserver:3000/coin⁠ from any browser

⁠Bitcoin Venezuela API (v1)

Bitcoin Venezuela API shows the current price of Bitcoin in these currencies: USD, EUR, VEF, ARS

Exchange rates:

  • EUR per USD
  • VEF per USD
  • ARS per USD
  • XVE per USD
  • XVE per EUR
  • XAR per USD

Current LocalBitcoins' coupons price: USD, VEF (deprecated)

⁠Options

You can use the data of this API making requests to https://api.bitcoinvenezuela.com

It could also be embedded as an iframe with this options:

  • Show as HTML: https://api.bitcoinvenezuela.com?html=yes⁠ [&ltc=yes] [&msc=yes] [&rates=yes] [&coupons=yes]

  • Show Litecoin prices: &ltc=yes

  • Show Mastercoin prices: &msc=yes

  • Show exchange rates: &rates=yes

  • Show LocalBitcoins' coupons price: &coupons=yes

⁠Calculator

https://api.bitcoinvenezuela.com/?html=no&currency= _currency_ &amount= _amount_ [&to= _currency_ ]

?html=no *

&currency= *: BTC, USD, EUR, VEF, ARS. Gives the amount of bitcoins for this currency.

&amount= *: amount of the given currency.

&to= : set this field to calculate BTC, LTC or MSC to this currency. If not set the default currency used is VEF.

* required

⁠Historical

Show the recorded prices for Bitcoin and Litecoin in USD, EUR, VEF and ARS.

https://api.bitcoinvenezuela.com/historical/[?coin=_coin⁠_][?pair=pair]

Historical data can be filtered by coin: BTC, LTC, MSC

Or to a specific pair of currencies: BTCUSD, BTCEUR, BTCVEF, BTCARS, LTCUSD, LTCEUR, LTCVEF, LTCARS, LTCBTC, MSCUSD, MSCEUR, MSCVEF, MSCARS, MSCBTC

⁠DolarToday

Data taken from DolarToday.com can be accessed here

https://api.bitcoinvenezuela.com/DolarToday.php?json=yes⁠

⁠Donations

1VenCBSjJWDi6PDgEDppZzXsNWHiwitzT⁠

Tag summary

Content type

Image

Digest

Size

72.4 MB

Last updated

about 8 years ago

docker pull bigomby/btcven-api