sbd.ninja v0.0.3 - Followed/Following/503 Error Catching/Mouse Scroll Support/Refactor Modules
Project Info
- A Cross Platform STEEM Information Query Tool (Mac/Windows/iOS/Android)
- A lot of my friends need a native tool on Mobile (iOS/Android) to query steem related information, especially outdoors or on train.
Technology Stack
- Lua + Corona SDK
License
- MIT
Build
- sbd.ninja V0.0.3 - Mac & Windows & Android
- Bug report is welcome
Special Thanks
- Thanks to @justyy, who provides those free API for easy integration
- https://helloacm.com/tools/steemit/
New Features
- Query Followed Info
68c293e1847b40290695e529cda8cb0aba72afaf
function queryFollowed(username, callback)
local body = "?cached&id=" .. username
local params = {}
params.body = body
network.request( "https://helloacm.com/api/steemit/account/followed/",
"POST",
function(event)
if ( event.isError ) then
print( "Network error: ", event.response )
else
print ( "RESPONSE: " .. event.response )
end
callback(event)
end,
params )
end
- Query Following Info
68c293e1847b40290695e529cda8cb0aba72afaf
function queryFollowing(username, callback)
local body = "?cached&id=" .. username
local params = {}
params.body = body
network.request( "https://helloacm.com/api/steemit/account/following/",
"POST",
function(event)
if ( event.isError ) then
print( "Network error: ", event.response )
else
print ( "RESPONSE: " .. event.response )
end
callback(event)
end,
params )
end
- 503 Error Catching
03947bda6b61b82d27678143cc2a149ef3ea6e68
if (string.find(event.response, "503")) then
print("503 Service Temporarily Unavailable")
local rowHeight = math.ceil(display.contentHeight * 0.5 * 0.1)
uiInfoTableView:insertRow({
rowHeight = rowHeight,
params = {text = "503 Service Temporarily Unavailable. Try Later."}})
Refactor code - Add Modules of Data-Manager and Network-Steemit-Tools
e82d66c584c8dec14f1980515dbf000da44611c1
Support Mouse Scroll Function for Result scrolling on Desktop Build
bef4ae0b901f2cc00fa81be9b848cdef676c4bbc
local function onMouseEvent( event )
--print("event.scrollY "..event.scrollY)
if(uiInfoTableView:getNumRows() >= 1) then
if(event.scrollY < 0) then
uiInfoTableViewCurrentIndex = uiInfoTableViewCurrentIndex - 1
if(uiInfoTableViewCurrentIndex <= 1) then
uiInfoTableViewCurrentIndex = 1
end
elseif(event.scrollY > 0) then
uiInfoTableViewCurrentIndex = uiInfoTableViewCurrentIndex + 1
if(uiInfoTableViewCurrentIndex >= uiInfoTableView:getNumRows()) then
uiInfoTableViewCurrentIndex = uiInfoTableView:getNumRows()
end
end
if(uiInfoTableViewCurrentIndex >= 1) then
uiInfoTableView:scrollToIndex(uiInfoTableViewCurrentIndex)
end
end
end
Roadmap
- Mac/Windows - Done
- iOS/Android - Done Half, Android is ready
- Account Information - Done partial
- Delegation (In) - Done
- Delegation (Out) - Done
- Witness Info - Done
- Followed/Following - Done
- Curation
- Converter
- Transfer History
- Votes
- More...
Contribution is Welcome
Github: https://github.com/bobdos/sbd.ninja
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request.
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Thanks a lot for your support.
I will continue to contribute to open source project, utopian-io and steem.
I cant download sbd ninja, how i can download @bobdos
Hi @daiky69, you cannot access dropbox link which I provided in the post ?
Hey @justyy, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!
I want to ask sir, yesterday I made a suggestion to your app via utopian, but my contribution was rejected because your github does not have readmi
thanks for your suggestion. i will add readme next update.
Could you add a README to this project? thanks.
Thanks for your kind reminder, and it's added here:
https://github.com/bobdos/sbd.ninja/blob/master/README.md
Good stuff man. Added you to my steemauto.
thanks for your support.
Hey @bobdos I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Congratulations @bobdos, this post is the forth most rewarded post (based on pending payouts) in the last 12 hours written by a Hero account holder (accounts that hold between 10 and 100 Mega Vests). The total number of posts by Hero account holders during this period was 381 and the total pending payments to posts in this category was $3823.76. To see the full list of highest paid posts across all accounts categories, click here.
If you do not wish to receive these messages in future, please reply stop to this comment.