The SteemIt Discord Bot Upgrade and API

in #busy8 years ago (edited)

Previously, we talked about the steemit discord bot (public bot), which can be invited to any discord server using the following link.

https://discordapp.com/oauth2/authorize?client_id=418196534660694037&permissions=522304&scope=bot

Today, it has been upgraded to support the P command.

image.png

The command can take an optional parameter (which is default 100). The output will suggest if you should choose Power Up 100% or 50%/50% given the current feed price, market sbd/steem price etc.

If the final amount of payout difference is no more than 1 USD, it should say It doesn't matter

API

https://helloacm.com/api/steemit/pu/?amount=500

Example output:

{"feed_price": 3.263, "suggestion": "50/50", "sp_100": 153.23322096230464, "total_sbd_100": 142.6369755201814, "total_sbd_50": 309.32883604232825, "sbd_50": 250.0, "market_price_100": 533.5136377566657, "sbd_100": 0, "market_price_50": 1157.0012051792828, "sp_50": 76.61661048115232, "sbd_market_price_usd": 3.74036, "sp_market_price_usd": 3.48171}

Enjoy!

Support me and my work as a witness by voting for me here!

Some of My Contributions: SteemIt Tools, Bots, APIs and Tutorial

Sort:  

I still do not understand

Could you please add your project to SteemProjects.com?

Here a details instruction how to do that. Don't forget to add Timeline Events and Insert Rules :)

ok. i'll take a look later.

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.088
BTC 59946.16
ETH 1579.66
USDT 1.00
SBD 0.42