What is Nostr?
PalmTree
npub1e3z…7wja
2025-02-17 01:56:54

PalmTree on Nostr: ...

If your using LibreOffice Calc and you want to get the live ⚡ BTC price to run some calculations, for example ROI or whatever, don't try using the WEBSERVICE function as it expects an XML reply which most API's don't give. API's usually respond with JSON format which is not supported in LibreOffice. Fear not, get this extension https://github.com/DmytroBazunov/LibreOfficeGetRestPlugin/wiki/How-to-install-plugin and in the cell where you want the BTC price, add the following (using Coinbase for this example, if you use some other API, adjustments will have to be made)

=PARSEJSON(GET("https://api.coinbase.com/v2/prices/btc-usd/buy";),"data.amount")

When you recalc sheet, it will automatically fetch the latest price.

#libreoffice #calc #diy #price
Author Public Key
npub1e3zglze5g2mq894pfw42kw8uwmyd8uc6m8mupctjfkfplgddglds4v7wja