steem-vote-value
v1.0.1
Published
<br> Git repo: https://github.com/softprodigyofficial/steem-vote-value/ <br><br>
Downloads
1
Readme
steem-vote-value
Installation
npm install steem-vote-value
Usage
const SteemVoteValue = require('steem-vote-value'); SteemVoteValue.valuefrompercent(handle,vote_percent) .then(function(result) { res.status(HTTPStatus.OK).json({ success: '1', message: "success", data: result }); }) .catch(function(error){ res.status(HTTPStatus.NOT_FOUND).json({ success: '0', message: "failure", data: error }); }); SteemVoteValue.percentfromvalue(handle,vote_value) .then(function(result) { res.status(HTTPStatus.OK).json({ success: '1', message: "success", data: result }); }) .catch(function(error){ res.status(HTTPStatus.NOT_FOUND).json({ success: '0', message: "failure", data: error }); });