Hello everybody,
I have just developed an extension that gives you the bitcoin price.
This extension can be useful for projects that i-ntend to make conversions with the price of bitcoin or other similar projects.
How it works
It is super simple to use (it only contains two blocks).
We use this block to request to obtain the bitcoin price.
This block is used to obtain the bitcoin price.
With this block we can tell it to put the price in a "label", "button"...
The bitcoin price is in euros (or at least that in Spain) and I have not included in the extension the symbol €, if you want me to put the bitcoin price + € you will have to do it joining the texts.
thank you for your contribution...
please remember to follow the naming conventions
the correct name for GetBTCprice would be GetBtcPrice
Taifun
PS: it would be not too difficult to get the same functionality just by using the web component...
let me suggest you to focus on extensions, which are not doable using available blocks...
I have created a new version fixing the compilation problem that has been pointed out to me.
Thanks to @Nisarga_Adhikary and @Patryk_F for alerting me.
I have also tried to solve the problems regarding the name that @Taifun indicated to me.
Download
Here you can find the download link for the extension (works the same as before)
oh no, I've tested it in the app Inventor too and it doesn't work.
I think the problem is because this link contains hCaptcha https://www.coinbase.com/es/price?query=bitcoin
and the problem is also because you only take bitcoin number from website that may be problematic in some countries, and I've tried it with a VPN and it works.
yeah you are right, but in my opinion you better not make extensions that can be made easily using the available blocks, so if you want to make an extension, it's better if you make an extension that cannot be made with the available blocks or can be made with the available blocks but difficult to do (requires more than 100 or 200 blocks to make it)