Last active
January 18, 2018 17:03
-
-
Save lmiller1990/a2092cb381218eb4ddbedf62eaf11c8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import steem from 'steem' | |
export default { | |
mounted () { | |
steem.api.setOptions({ url: 'https://api.steemit.com' }) | |
steem.api.getAccounts(['xenetics'], (err, result) => { | |
console.log(JSON.parse((result[0].json_metadata))) | |
}) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment