Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fumieval/pysocialbot

Advanced Bot Framework
https://github.com/fumieval/pysocialbot

Last synced: 23 days ago
JSON representation

Advanced Bot Framework

Awesome Lists containing this project

README

        

PySocialBot - Python Bot Framework
http://botis.org/wiki/PySocialBot

2011/6/18 Fumiaki Kinoshita

Features:
PySocialBot is very easy way to create your own bot.

To know how to make a bot with PySocialBot, see the following code:

--- examples/intro.py ---

import datetime
from pysocialbot import action, trigger, launcher, twitter

def posttime(env):
return env.api.post(datetime.datetime.today().strftime("It's %I %p!"))

if __name__ == "__main__":
BOT = launcher.Daemon()
BOT.trigger = {trigger.Hourly(): action.Call(posttime)}
BOT.resetstate()
BOT.env.api = twitter.Api()
BOT.run()

You can create bot only 10 lines using PySocialBot.

Getting Started:
See examples/manage.default.py.