Did you know there is a get_following
method in the API? You don’t have to parse the whole account history to get a list of followers or followees.
https://developers.hive.io/apidefinitions/#condenser_api.get_following
Did you know there is a get_following
method in the API? You don’t have to parse the whole account history to get a list of followers or followees.
https://developers.hive.io/apidefinitions/#condenser_api.get_following
I am using that function.
Read again.
My bad, not used to Python. Strange, is it still slow nowadays?
Read the OP again, please.
Try to read more than the first 5 words, but the whole sentence;
A simple script, that first gets all the accounts a given account (example: @felixxx) is following and then looks through those account's histories for vote-operations and prints them, 7 days back.
Right gotcha now.
I wonder if HiveSQL wouldn’t work better for this type of requests. It’s now free so you might like to try it out
At the end of the day, it is still a lot of http calls ... They take time either way.
It would be much nicer to have a local DB (like SQLite) and only stream the blocks as they come. This is A LOT of work though :(