Creating a post using Python on Steemit

in #steemit6 years ago


DQmeBtkDw9J3evsQdzL4MNFepWxkdn55QUpvxz5dCGkzgWY.png

Hi, everybody.

There was one very unpleasant moment.

I'm using Python and trying to write a script to publish new posts. But whatever I do, I can't.

Please, advise what information to read on actual use of this function?

What I need for my task:

  1. perform authorization on the site
  2. Publish the post

I will be very grateful to everyone for any help, as well as for links to information. Please leave your answers in the comments.

Sort:  

Use:

from beem import Steem
steem = Steem()
steem.wallet.unlock("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
steem.post("title", "body", author="steem-mashine", tags=["a", "b", "c", "d", "e"], self_vote=True)

And get in the answer mistake


    raise NoWalletException
beem.exceptions.NoWalletException

The password is correct. What could be the problem?

Congratulations @steem-mashine! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of posts published

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Coin Marketplace

STEEM 0.25
TRX 0.21
JST 0.037
BTC 98282.96
ETH 3475.43
USDT 1.00
SBD 3.41