SteemVBS Update - Add Followers, Following, MVests and More
SteemVBS is the first Steem Library written in VBScript. Yes, it is VBScript. ;)
SteemVBS
VBScript is still being used nowadays, especially on windows platforms. You can do so much thing using VBScript. The aim of the SteemVBS is to provide a few useful functions that connect Network Adminstrators or MS Officer users (via VBA) to Steem Blockchain.
Fully open source: https://github.com/DoctorLai/steemvbs
Submit PR or Issue.
New Features
A few functions and unit tests have been added in:
GetAccount_Recovery
Dim SteemIt
Set SteemIt = New Steem
Dim re
re = SteemIt.GetAccount_Recovery("justyy")
AssertTrue re = "steem", "justyy's account recovery is not steem."
Set SteemIt = Nothing
GetAccount_Followers
Dim SteemIt
Set SteemIt = New Steem
Dim Util
Set Util = New Utility
Dim followers
followers = SteemIt.GetAccount_Followers("justyy")
AssertTrue Util.InArray("ericet", followers), "ericet should follow justyy"
Set SteemIt = Nothing
Set Util = Nothing
GetAccount_Following
' test GetAccount_Following
Dim SteemIt
Set SteemIt = New Steem
Dim Util
Set Util = New Utility
Dim followers
followers = SteemIt.GetAccount_Following("justyy")
AssertTrue Util.InArray("abit", followers), "justyy should follow abit"
AssertTrue Util.InArray("ericet", followers), "justyy should follow ericet"
GetAccount_FollowingCount And GetAccount_FollowersCount
Dim SteemIt
Set SteemIt = New Steem
Dim c1, c2
c1 = SteemIt.GetAccount_FollowingCount("justyy")
c2 = SteemIt.GetAccount_FollowersCount("justyy")
AssertTrue c1 < c2, "GetAccount_FollowingCount < GetAccount_FollowersCount"
AssertTrue c1 > 100, "GetAccount_FollowingCount > 100"
AssertTrue c2 > 100, "GetAccount_FollowersCount > 100"
GetAccount_FollowersMVest
Dim SteemIt
Set SteemIt = New Steem
Dim c1, c2
c1 = SteemIt.GetAccount_FollowersMVest("justyy")
AssertTrue c1 > 154101235.57696211338, "GetAccount_FollowersMVest > 154101235"
Unit Tests
Unit tests can be run via
cscript.exe /Nologo tests.wsf tests\test_account.vbs
or you can call run_tests.cmd to run all tests in the test folder tests.
Roadmap
The features of Steem-Js and Steem-Python will be brought in.
Notice
This library is under development. Beware.
Support me and my work as a witness - witness thread by
Thank you! Some of My Contributions: SteemIt Tutorials, Robots, Tools and APIs


I see that you continue to improve your lib! Awesome.
Let's go for the review (I'll review what I can because VBS is a language lost in time for me :p):
https://github.com/DoctorLai/steemvbs/commit/4e7b65a15f848d899615f0a6de78ef398a48a3f9#diff-a35605fdf07f7c547712a1270f3ba998R306 => I think the variable name
idis weird. With id I expect the value to be an integer or a chain that has no meaning. But in fact it's the steem account!https://github.com/DoctorLai/steemvbs/blob/30f2f191024bd6f2a885e83f6e5cab18a4982f95/lib/steem.vbs#L114 => Does explicit variable name costs money in VB? :D when I read
rhave no idea what will contain this var. You got a lot of variables that could have a more detailed name.https://github.com/DoctorLai/steemvbs/commit/20f6dd3a59b7004cfde966738d01e320c939c5c2#diff-56e84782d1b199f68d1feb9536548815R8 => what happens if everybody leaves you? The test fails but your code wasn't modified. May be you can try to find a better way to test this method. I don't have an idea right now though ha ha.
Good luck for the roadmap!
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Thanks for the review!
Hey @gregory.latinier
Here's a tip for your valuable feedback! @Utopian-io loves and incentivises informative comments.
Contributing on Utopian
Learn how to contribute on our website.
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
ready bro !! vote for my last post please !!
https://steemit.com/utopian-io/@caracasfrases/easy-contest-2-sbd-prize-or-concurso-caracasfrases-te-invita-a-participar-2-sbd-de-premio
Hey @justyy
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
cool, nice work
Thank you for stopping by.