关于机器人开发的一点资料

lief(53)
Published in
#cn
Words
318
Reading
2 min
Listen
Play
10y
目前比较好用的,我知道的有俩个库。

python语言的:python-steemlib, 在这里:https://github.com/xeroc?tab=repositories
还有一个是nodejs的:https://www.npmjs.com/package/steem

我比较喜欢Nodejs,说说Nodejs。
1,Nodejs在linux和windows 下都可以运行,安装资料一大堆,不说了。
2,安装好Nodejs后,安装这个steem模块:$ npm install steem --save
3,测试一下是否成功,将下列代码保存成一个xxx.js文件

    var Steem = require('steem');
    var steem = new Steem();    
    steem.getAccounts(['ned', 'dan'], function(err, result) {
        console.log(err, result);
    });

4,运行,执行命令: node xxx.js
5,如果成功,就返回了ned,dan的账户信息。

具体的api列表,看它的文档:https://github.com/adcpm/steem/tree/master/doc

最后,以下是一些这几天收集到的有用的帖子:

https://steemit.com/steem/@xeroc/upvote-bot-in-less-than-10-lines-of-code

https://steemit.com/steem/@xeroc/notification-bot-for-steem-in-30-lines-of-code

https://github.com/xeroc?tab=repositories

https://steemit.com/theoretical/@theoretical/how-to-use-the-steem-api

https://steemit.com/steem/@xeroc/steem-api

https://github.com/steemit/steem/blob/master/libraries/app/include/steemit/app/database_api.hpp

https://steemit.com/steem/@complexring/steem-autovote-bot

https://www.npmjs.com/package/steem

https://steemit.com/development/@nphacker/top-3-programming-languages-to-develop-apis-external-tools-and-mobile-apps-websites-for-steemit-no-prob-tech

https://steemit.com/steem/@nenad-ristic/upvote-bots-and-the-tragedy-of-the-commons

==============Hot resources / 中文区热门讨论===============

关于机器人开发的一点资料 | Ecency