I have created a slack bot that hits the Horizon API for the SBC. Not all the API's are hit because of the limitation that slack has which is a max of 25 slash commands. If there are API's that i should switch out, would be great to get some feedback and know which endpoints have priority for developers/users. To keep commands short i have not implemented all the possible query params for the endpoints. Where ever possible the "limit" query is always a possibility. Server is running on Heroku so it is possible that the first slash command may timeout, this is normal when the server has been idle for a long time. Just re run the command.
Functionalities:
Outside Horizon API:
1. Get current Lumen price (available in 32 currencies) - Hits coinmarketcap every minute
2. Convert x amount of Lumens into a currency - ex. 100 lumens to usd
Gets from Horizon API
1. Account information
2. Assets
3. Effects - All, account, ledger, operation, transaction
4. Ledger information - All, single
5. Account offers
6. Operations - all, single, account, ledger, transaction
7. Payments - all, account, ledger, transaction
8. Transactions - all, single, account, ledger
Server host: https://blooming-waters-44840.herokuapp.com
Horizon server: https://horizon-testnet.stellar.org
Possible plan on allowing developers to register to their own Horizon server and have the Slack bot connect to their endpoints. If this is of interest please show support.
Shareable link: https://slack.com/oauth/authorize?client_id=57598101104.304853578752&scope=admin,commands
If any questions, comments, suggestions contact me through Slack @BigApeWhat