Exemplo n.º 1
0
 # get_balances()
 print("bsteem_acc.get_balances()  {}".format(bsteem_acc.get_balances()))
 print("steem_acc.get_balances() {}".format(steem_acc.get_balances()))
 # reputation()
 print("bsteem_acc.get_reputation()  {}".format(
     bsteem_acc.get_reputation()))
 print("steem_acc.reputation() {}".format(steem_acc.reputation()))
 # voting_power()
 print("bsteem_acc.get_voting_power()  {}".format(
     bsteem_acc.get_voting_power()))
 print("steem_acc.voting_power() {}".format(steem_acc.voting_power()))
 # get_followers()
 print("bsteem_acc.get_followers()  {}".format(bsteem_acc.get_followers()))
 print("steem_acc.get_followers() {}".format(steem_acc.get_followers()))
 # get_following()
 print("bsteem_acc.get_following()  {}".format(bsteem_acc.get_following()))
 print("steem_acc.get_following() {}".format(steem_acc.get_following()))
 # has_voted()
 print("bsteem_acc.has_voted()  {}".format(
     bsteem_acc.has_voted("@thecrazygm/api-methods-list-for-appbase")))
 print("steem_acc.has_voted() {}".format(
     steem_acc.has_voted(
         hivePost("@thecrazygm/api-methods-list-for-appbase"))))
 # curation_stats()
 print("bsteem_acc.curation_stats()  {}".format(
     bsteem_acc.curation_stats()))
 print("steem_acc.curation_stats() {}".format(steem_acc.curation_stats()))
 # virtual_op_count
 print("bsteem_acc.virtual_op_count()  {}".format(
     bsteem_acc.virtual_op_count()))
 print("steem_acc.virtual_op_count() {}".format(
 print("hive_acc.balances {}".format(hive_acc.balances))
 # get_balances()
 print("bhive_acc.get_balances()  {}".format(bhive_acc.get_balances()))
 print("hive_acc.get_balances() {}".format(hive_acc.get_balances()))
 # reputation()
 print("bhive_acc.get_reputation()  {}".format(bhive_acc.get_reputation()))
 print("hive_acc.reputation() {}".format(hive_acc.reputation()))
 # voting_power()
 print("bhive_acc.get_voting_power()  {}".format(
     bhive_acc.get_voting_power()))
 print("hive_acc.voting_power() {}".format(hive_acc.voting_power()))
 # get_followers()
 print("bhive_acc.get_followers()  {}".format(bhive_acc.get_followers()))
 print("hive_acc.get_followers() {}".format(hive_acc.get_followers()))
 # get_following()
 print("bhive_acc.get_following()  {}".format(bhive_acc.get_following()))
 print("hive_acc.get_following() {}".format(hive_acc.get_following()))
 # has_voted()
 print("bhive_acc.has_voted()  {}".format(
     bhive_acc.has_voted("@thecrazygm/api-methods-list-for-appbase")))
 print("hive_acc.has_voted() {}".format(
     hive_acc.has_voted(
         hivePost("@thecrazygm/api-methods-list-for-appbase"))))
 # curation_stats()
 print("bhive_acc.curation_stats()  {}".format(bhive_acc.curation_stats()))
 print("hive_acc.curation_stats() {}".format(hive_acc.curation_stats()))
 # virtual_op_count
 print("bhive_acc.virtual_op_count()  {}".format(
     bhive_acc.virtual_op_count()))
 print("hive_acc.virtual_op_count() {}".format(hive_acc.virtual_op_count()))
 # get_account_votes
Exemplo n.º 3
0
def following(request, author):
    account = Account(author, hive_instance=hv)
    followers = account.get_following(raw_name_list=True, limit=100)
    return render(request, 'blog/follower.html', {'followers': followers})