Beem Bot Post by @coininstant, Testing 123!!

in #python6 years ago (edited)

Just re-installed my BEEM


pip3 install beem

It was simple as that, just install a new wallet, create a new password for the wallet, link to your steemit account's wif key! Then customize the script and you're good to go!!

Screen Shot 2019-08-24 at 1.44.02 PM.png

Here is the source code that created this exact post.


#!/usr/bin/python
from beem.imageuploader import ImageUploader
from beem import Steem

if name == "main":
stm = Steem()
author = "coininstant"
image_path = "honu-png.png"
image_uploader = ImageUploader(steem_instance=stm)
img_link = image_uploader.upload(image_path, author, image_name="beempy-claim.png")

title = "Beem Bot Post by @coininstant, Testing 123!!"

body = "Just Dusting off the old autobot, testing out some auto posting!! This post created with beem by @beembot."\
       "Here is a screenshot of claiming rewards with beempy image:"\
       "%s" % img_link["url"]
       
parse_body = True
self_vote = False
tags = ["python", "test", "this", "is", "just", "a", "post"]
stm.post(title, body, author=author, tags=tags, parse_body=parse_body, self_vote=self_vote)


Resources:
https://steemit.com/tutorial/@holger80/how-to-write-a-post-with-image-using-beem

I need to automate some tasks so my new goal is to learn a little bit more about beempy and STEEM automation every day.

Example code how I just used beem to upvote from this account.


beempy upvote --account coininstant https://steemit.com/punchline/@theguruasia/the-whale-s-wife-tga-comic

Wallet Unlocked!
{
"expiration": "2019-08-25T00:43:30",
"ref_block_num": 64514,
"ref_block_prefix": 2488535819,
"operations": [
[
"vote",
{
"voter": "coininstant",
"author": "theguruasia",
"permlink": "the-whale-s-wife-tga-comic",
"weight": 10000
}
]
],
"extensions": [],
"signatures": [
"1f33c1cf6cd57a8e57c41bf2f2ad29bb89c090b0b1a1c9989659029f8f167a25b65f6c5245cf9ef672da8f835f85d1bfa3638b9cb761b7f2ba7fab891194f3a73b"
]
}

No Beem Test Post would be complete without a downvote test! Here is one sent to @themarkymark!(for testing purposes only) lol


beempy downvote --account coininstant https://steemit.com/meme/@themarkymark/5sf1tr-steem-monsters-booster-pack-meme-contest-results

Wallet Unlocked!
{
"expiration": "2019-08-25T00:48:49",
"ref_block_num": 64620,
"ref_block_prefix": 3347533530,
"operations": [
[
"vote",
{
"voter": "coininstant",
"author": "themarkymark",
"permlink": "5sf1tr-steem-monsters-booster-pack-meme-contest-results",
"weight": -10000
}
]
],
"extensions": [],
"signatures": [
"200ba97556ca6da258ab824039fac0bbb8d890c86c886dd2c9471ce12f5ce9e5ef755e4241211dddfdda03d829bece5b7028f7a0ddfa0841ae551e97fa2b743cfd"
]
}

Here's an interesting one.

2019-08-24 15:22:25 ☆ nickademous in ~
± |master ↑1 ↓2 S:387 U:367 ?:495 ✗| → beempy muter

Muters statistics for @coininstant (please wait...)
+---------------------------------+-----------+
| Key | Value |
+---------------------------------+-----------+
| Muters count | 76 |
| Summed MVest value | 1089.28 |
| Mean Rep. | 56.94 |
| Max Rep. | 75.00 |
| Summed eff. SP | 641786.86 |
| Mean eff. SP | 8444.56 |
| Max eff. SP | 204432.29 |
| Mean last vote diff in hours | 317.15 |
| Mean last post diff in days | 29.60 |
| Muters without vote in 365 days | 6 |
| Muters without post in 365 days | 10 |
+---------------------------------+-----------+

Follow @coininstant for more!

Sort:  

@coininstant,
We (TRENDO NETWORK) is developing a new bot project. Hope we could up and running it soon! If you have free SP for delegations or you still using them to downvote campaigns, sometimes you can use it with us! I prefer nodejs bots than python ones! Coz they are easy to execute and light weighted!
$trdo

Cheers~

Sounds good, i will delegate a little to the trendo bot, just let me know when it is ready!

@firealiean,
Sure we definitely tell you. Thanks!

Cheers~

Congratulations @theguruasia, you are successfuly trended the post that shared by @coininstant!
@coininstant got 6 TRDO & @theguruasia got 4 TRDO!

"Call TRDO, Your Comment Worth Something!"

To view or trade TRDO go to steem-engine.com
Token distribution bot developed by @ali-h

Coin Marketplace

STEEM 0.13
TRX 0.34
JST 0.033
BTC 118801.82
ETH 4379.85
SBD 0.80