SteemYY API Fixed: Voting Power (Upvote and Downvote)

in Witness Activities2 years ago

image.png

I 've fixed the (long broken) API and now this API returns the voting percentage of both upvoting and downvoting (the mana).

$ curl -X POST --data "id=justyy" https://api.justyy.workers.dev/api/steemit/account/vp/
{"upvote":74.68,"downvote":99.83}

GET is also supported:

$ curl -X GET https://api.justyy.workers.dev/api/steemit/account/vp/?id=justyy
{"upvote":74.71,"downvote":99.81}

Current settings:

  • Authentication: No
  • Rate Limit: No
  • Load Balancing: Yes (with api.justyy.workers.dev endpoint)

View more APIs at https://steemyy.com/list-of-api.php

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Thank you for reading ^^^^^^^^^^^^^^^

NEW! Following my Trail (Upvote or/and Downvote)

Follow me for topics of Algorithms, Blockchain and Cloud.
I am @justyy - a Steem Witness
https://steemyy.com

My contributions

Steem/Swap to USDT Swap

I also made this Super Easy/Handy Service to Convert your STEEM or SBD to USDT (TRC-20)

Delegation Service

Voting Power Considered in Voting Schema and Important Update of Delegation Service!

  • Delegate 1000 to justyy: Link
  • Delegate 5000 to justyy: Link
  • Delegate 10000 to justyy: Link

Support me

If you like my work, please:

  1. Delegate SP: https://steemyy.com/sp-delegate-form/?delegatee=justyy
  2. Vote @justyy as Witness: https://steemyy.com/witness-voting/?witness=justyy&action=approve
  3. Set @justyy as Proxy: https://steemyy.com/witness-voting/?witness=justyy&action=proxy
    Alternatively, you can vote witness or set proxy here: https://steemit.com/~witnesses

Coin Marketplace

STEEM 0.27
TRX 0.12
JST 0.032
BTC 57369.97
ETH 2943.81
USDT 1.00
SBD 3.63