Donation Widget
As an example of our API usage we are glad to present an ultra simple vanilla JS based widget that can be used as a donation widget for any platform or service. As an input during initialization the script gets some specific parameters .
Build your own widget
USD
BTC
left
<script src="/js/widget.js?acc=&title=Donation for charity (demo)&description=We build a 🚀 to Mars for better civilization and future.&amounts=20,100,300,500&border-radius=26&primary-color=397cb0&fiat-currency=USD&default-crypto=BTC&debug-mode=false&dark=false&embedded=false&height=600&align=left&baseUrl=https://apirone.com" async id="__apr-donate-script"></script>
Feel free to use or/and modify the widget code with your requirements. The widget functionality is based on our API and uses all the power. Enjoy your scripting/usage!
Fork us on the Github!