@bitmover
I was wondering if there's a possibility of adding a feature on the unit converter that'd allow users to easily copy a code, in order to show dynamic fiat values of certain Bitcoin amounts on threads of this forum?
- AFAICR, all of the other alternatives from the past were limited to USD only and I'm looking for a way to use other fiat currencies in local boards.
Thank you for your suggestion SFR10
It is already working! I forked it from the code from (
https://bitcointalksearch.org/topic/bitcoin-altcoins-live-price-image-generator-3485877)
api link:
https://bitcoindata.science/api/localprice.php?coin=bitcoin&amount=0.1¤cy=BRL
result:
Parameters:
coin
Any coin supported by coingecko. Default = bitcoin
amount
The amount you want. For example, 0.1 BTC. Must use "." as decimal separator.
Default = 1
currency
Any currency in the world. Default = USD
If no parameter is sent, 1 BTC x USD is showed:
https://bitcoindata.science/api/localprice.php