You are viewing a single comment's thread from:

RE: Using Scoped NPM Packages

in #javascript7 years ago

Hi @ghasemkiani. I'm currently on a project of creating a local exchange of steem to my local currency(Ghana Cedis) but i have no idea of how to call a user's steemit info when he/she logs in into that site with their steemit account. Thought you could be the best person to help.

Sort:  

If you use JavaScript, Steem.js is the official JavaScript library for the Steem blockchain.

If by user info you mean the profile characteristics of the user, you can use the steem.api.getAccounts method. The profile info is in the json-metadata field.

Thanks very much. I’ll try my hands on that.

Can you help me? @ghasemkiani