https://github.com/holgern/beem
beem is a python library and command line tool for HIVE. The current version is 0.24.10.
There is also a discord channel for beem: https://discord.gg/4HM592V
The newest beem version can be installed by:
pip install -U beem
Check that you are using hive nodes. The following command
beempy updatenodes --hive
updates the nodelist and uses only hive nodes. After setting hive as default_chain, beempy updatenodes can be used.
The list of nodes can be checked with
beempy config
and
beempy currentnode
shows the currently connected node.
I modified the unit tests so that they all run on the HF24 test node: https://beta.openhive.network. After several iterations, all 551 unit tests run through.
beem should now be ready for HF 24.
The behavior for not existing comment/posts and votes have been changed.
A condenser call returns now an error message with invalid parameter:
{"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid parameters","data":"post was not found in cache"},"id":1}
I added a new InvalidParameter exception to beemapi.exceptions in order to handle this.
When the tag api is not available, beem is now switching to the condenser api call in all get_discusions functions.
When the follow api is not available, beem is switching to the condenser api call in get_follow_count, get_followers and get_following for an account.
On HF24, the list_votes api call does not return votes from other users, when all votes of an account have been received. It stops now and less votes than expected will be returned instead.
I fixed it by counting how many votes the api call returns, when the number of returned votes is below the set limit, I have all votes collected.
If you like what I do, consider casting a vote for me as witness on Hivesigner or on PeakD