Next update for beem - a python library for steem

in #utopian-io7 years ago (edited)

In this update, I added more functionality to the account, comment, market, steem and witness class.
The beem library can also be used with python 3.4, as all unit tests are passing. The current coverage is 69%. You can find my library on github and pypi. You can also take a look in the documentation.

image.png

New Features

Acount

  • print_info() shows import information about the account
  • voting_power, steem_power, get_voting_value_SBD, get_followers, get_following, get_bandwidth
  • unfollow, follow, update_account_profile, transfer_to_vesting, convert, transfer_to_savings, transfer_from_savings, cancel_transfer_from_savings, claim_reward_balance, delegate_vesting_shares, withdraw_vesting added to the account class
  • transfer, approvewitness, dissapprovewitness and update_memo_key moved from the steem-class to the account class

Comment

  • upvote, downvote, vote, edit, reply, post, resteem, comment_options added

Discussions

  • Comment_discussions_by_payout, Post_discussions_by_payout, Discussions_by_created, Discussions_by_active, Discussions_by_cashout, Discussions_by_payout, Discussions_by_votes, Discussions_by_children, Discussions_by_hot, Discussions_by_feed, Discussions_by_blog, Discussions_by_comments, Discussions_by_promoted added

Market

  • Is now fully functional
  • ticker, volume24h, orderbook, recent_trades, trades, market_history and accountopenorders added
  • buy, sell and cancel added

Steem

  • register apis fixed
  • dynamic_global_properties, feed_history, current_median_history_price, next_scheduled_hardfork, hardfork_version, network, chain_properties, config and reward_fund are stored in self.data. It can be refreshed by refresh_data(True). All functions to read these variables were moved from blockchain to steem.
  • get_median_price, get_payout_from_rshares, get_steem_per_mvest, vests_to_sp, sp_to_vests, sp_to_sbd, sp_to_rshares added
  • custom_json added

utils

  • make_patch added

Wallet

  • small fix

Witness

  • feed_publish and update added

Several Unit tests were also added

Small bugfix and relase of version 0.19.6


For the next update, I will try to add missing functions and i will improve the documentation.
Did you try my new library yet? Please give me feedback!



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.

[utopian-moderator]

Hey @holger80 I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

I had problems installing steem and steempy, but your beem was easy .. but I guess it doesnt have CLI like steempy .. I'll have to study your documentation .. I'm just getting my feet wet with python so pretty noob ... Thanks so much for your hard work!