RE: Can anyone help me out installing Steem package on Python

You are viewing a single comment's thread from:

Can anyone help me out installing Steem package on Python

in utopian-io •  7 years ago  (edited)

Would recommend running it under Ubuntu. Python stuff between Linux and Windows can be a pain. Can probably figure it out, but way easier on Linux :-). Try messing around with the Steem JS too! Are you setting up a witness server or app building with steem? DTUBE is built with all JavaScript and Steem JS. Example to fetch user details. Becareful testing actual logins with this API :-)

There is another JS plugin for steem authentication, but the name slips my mind right now without sleep tonight. If you do test authentication, make sure to use your posting key only and not your primary steem key and with HTTPS only of course. Should always login to steem with the posting key unless you are updating your profile or transferring funds. Can recover the account if someone gets the posting key with your primary key. Can actually set up your own Steem Blockchain and services for testing.

Fetching user info with SteemJS:

    <div id="render"></div>
    <script src="https://cdn.steemjs.com/lib/latest/steem.min.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

    <script>

    steem.api.getAccounts(['ambienthex', ' laxmikadariya'], function(err, result) {
        console.log(err, result);
        $('#render').text(JSON.stringify(result));
    });
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

yeah thanks i am doing it from ubuntu