banano-rep.js is an easily importable JavaScript library with a multitude of functions that can be used to fetch data about Banano accounts and representatives.
The main script is located at src/banano-rep.js - just download this script locally and load it in at the bottom of your webpage!
<script src="/src/banano-rep.js"></script>
The full documentation of all the available functions can be found here.
You can find an example site using the script at example/index.html.
Pull requests are welcome! If you would like to contribute, please state what changes you made and how it helps improve the repo in your PR description.
This script is a community-created script, you can learn more about Banano at their official Discord server chat.banano.cc - if you're feeling generous feel free to send me some potassium!
ban_1shay5hdkere33pb5gawzcicp1197xp64y7gutbudj39jzo7extguucu5uz1