Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fumieval/pysocialbot
Advanced Bot Framework
https://github.com/fumieval/pysocialbot
Last synced: 23 days ago
JSON representation
Advanced Bot Framework
- Host: GitHub
- URL: https://github.com/fumieval/pysocialbot
- Owner: fumieval
- Created: 2011-07-01T08:42:16.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-10-07T08:12:42.000Z (about 13 years ago)
- Last Synced: 2024-10-15T06:50:54.162Z (2 months ago)
- Language: Python
- Homepage: http://botis.org/PySocialBot
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: HISTORY
Awesome Lists containing this project
README
PySocialBot - Python Bot Framework
http://botis.org/wiki/PySocialBot2011/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.