|
|
'twittershell' is a UNIX/DOS shell like interface written in Python for using Twitter through the command line.
It presents a prompt to the user, who can type in commands for updating the status, getting the list of friends, sending direct messages to friends, etc. It also supports a limited 'script' mode. Passing a file argument to twittershell makes it go into 'script' mode and execute each line in the file as a twittershell command. See the documentation for detailed usage.
ashwin@box:~/twittershell$ ./twsh twittershell, Copyright (C) 2008 Ashwin Phatak twittershell comes with ABSOLUTELY NO WARRANTY; type 'copyright' for details. Welcome to Twitter Shell! >help Documented commands (type help <topic>): ======================================== copyright direct followers friends login status tell timeline update Undocumented commands: ====================== exit help quit >help login login <username> <password> >help update update <status> Updates your Twitter status. >help status status [<count>] Gets the status updates for your friends. The <count> argument is optional. >help timeline timeline [<user>] [<count>] Gets the timeline for the given user. <user> and <count> arguments are both optional. If no user is specified, the currently logged in user is assumed. The default count is 10. >help tell tell <user> <message> Sends a direct message to your friend. >help friends friends Prints the list of your friends. >help followers followers Prints the list of your followers >help direct direct Prints the direct messages sent to you recently. >
