Steem Challenger | Beneficaries calculator | Exchange prices on fiat's and coins

in #utopian-io7 years ago (edited)

Steem challenger is a project for the people who posts via utopian, dmania, dlive and many other projects which includes beneficaries.

System is currently working on http://omeratagun.tk

Proposal

In the repository you can see "modules" folder. I put API fetch and calculations from the SBD to BTC,ETH, DOLLAR, EURO, TRY in 3 different files.

"currentvalues.php": Fetch the data from https://coincapmarket.com

Example;

    $euro_value = 'https://api.coinmarketcap.com/v1/ticker/steem-dollars/?convert=EUR';
    $json_euro = file_get_contents($euro_value);
    $data_euro = json_decode($json_euro, true);

"index.php": Using steemconnect API, fetching the data of user's "pending payouts"

Example;

$myself_url = 'https://api.steemjs.com/get_discussions_by_blog?query={"tag":"'.$meme.'","limit":"50"}';
$json= file_get_contents($myself_url);
$data = json_decode($json,true);

End of this process checks if username returns "null"

if($person1['author'] == null){
        
        $error = true;
        $error_null = '<div class="alert alert-danger"><strong>WARNING!!! </strong>This username doesnt exist</div>';
        echo $error_null;
    }   

Basicly, you can manipulate all the system easily( add new currencies, crypto etc)

Mockups / Examples

Enter the website, type your username, press enter.

  • Result will be shown as like this;

Benefits

Instead of losing the time of calculations of your income, you can just type your username and check how much you will get from your effort.

Near future plans

  • Visual design
  • Seperated posts (Steemit and other beneficaries)
  • Other coins
  • Other currencies



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Excelente aporte amigo, la idea es simplificar la experiencia al usuario saludos

Bu iş çığrından çıkacağa benziyor 😂

Emeğine sağlık hocam bayağı kullanışlı olmuş.

@sedatyildiz, host ettiğin için apayrı teşekkür ederim.

@omeratagun, Approve is not my ability, but I can upvote you.

Hey thanks @steemitstats. I enjoyed while i work on this.

That will be better as we wish :D

Thank you for the contribution. It has been approved.

You can contact us on Discord.

[utopian-moderator]

harika olmuş emeğinize sağlık

TRY kısmı çok iyi olmuş. Kapalıçarşı esnafı gibi sürekli kafayı çevirererek hesap makinasını gösterme hareketi tikim olmuştu. Upvote!

Hey @omeratagun I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.21
TRX 0.20
JST 0.034
BTC 91530.30
ETH 3127.22
USDT 1.00
SBD 3.07