steemit / devportal-tutorials-js

Tutorials for the Developer Portal
MIT License
44 stars 43 forks source link

Lack of documentation on list_votes api methods #144

Open tngflx opened 5 years ago

tngflx commented 5 years ago

There should be a much clearer way to query for the posts upvoted by a particular account. I can't seem to figure out how should I query for the latest post.

let params = { "start": ["curie", "", ""], "limit": 1000, "order": "by_voter_comment" } let { votes } = await jsonRpc('https://api.steemit.com', { method: 'database_api.list_votes', id: 6, params: params })

This method get me the posts upvoted since 2016 but I can't find a way for the latest post. Help needed. Please have a look