Last active
June 26, 2018 16:11
-
-
Save epexa/7979cd1d34799128428bf5d0768b823f 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
<script src="https://cdn.jsdelivr.net/npm/golos-js@0.7.0/dist/golos.min.js"></script> | |
<script> | |
golos.api.getBlogEntries('goloscore', 0, 20, (err, res) => { | |
console.log(res.length); | |
console.log(res); | |
}); | |
let query = { | |
select_authors: ['goloscore'] | |
}; | |
golos.api.getDiscussionsByBlog(query, (err, res) => { | |
console.log(res.length); | |
console.log(res); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GolosChain/golos#769