Hello, steemians.
This is a new tutorial series on accessing Steem blockchain using python programming language.
Repository
Requirements
- Python
Difficulty
- Basic
Tutorial Contents
- You will learn how to install the official steem-py to your windows and use it via CMD(command line)
Curriculum
- None currently
The Tutorial
Setup
Install 'Git' and get access from the command prompt (cmd). Download from here.
Go to the required drive/directory, where steem-python is to be installed using the command prompt (cmd).
For windows, suppose go to E:\ drive (cmd is not case-sensitive)
$ E:
- Now, make a clone of the official GitHub repository of "steem-python" using the following command:
$ git clone https://github.com/steemit/steem-python
- A folder named "steem-python" is created. Go to the folder using the following command in cmd:
$ cd steem-python
Inside this folder, we find a file - "setup.py". Install it using python command as follows:
$ python setup.py install
Nice, The tool is installed successfully!!...
Coding
Now, let's check if it is working.
For this, we follow some basic examples from here
first, we initialize Steem class
from steem import Steem
s = Steem()
then we're getting the account of 'ned' and his sbd balance and printing it
That's all for today, stay tuned for next tutorials.
Proof of Work Done
GitHub: https://github.com/lonelywolf1