You are viewing a single comment's thread from:

RE: SteemWorld ~ Some thoughts on the CSI...

in #tools6 years ago

Hi, I wanted to scrape some data from steemworld (about self upvoting) ;) for users of polish community, but as you know one can't do it because site is in js. Any way to get around this? maybe some small static api? ;) or it would be faster for me to make steem.js based on my own

Sort:  

I would recommend you to use steem.js (getAccountHistory):

steem.api.getAccountHistory(account, from, limit, function(err, result) {
  console.log(err, result);
});

and then filter by op "vote". I've never used SteemSQL but that could be another fast option. I think SteemData Web API would also work but in my tests the performance wasn't stable enough to use it as a reliable service.

If you only need the data for details about self upvoting you could also use getAccountVotes, but I'm not sure about the limit and performance for very active accounts:

steem.api.getAccountVotes(voter, function(err, result) {
  console.log(err, result);
});