我去了twitter的API,它将我重定向到谷歌代码,网站不在那里.任何替代Twitter API,加上教程?谢谢!
试试Tweepy:http://code.google.com/p/tweepy/
您可以在同一Google代码链接上访问教程维基页面.
要使用easy_install安装它,只需运行即可 easy_install tweepy
要用git安装它:
git clone git://github.com/joshthecoder/tweepy.git
cd tweepy
python setup.py install
Run Code Online (Sandbox Code Playgroud)
要从源代码安装它,请从http://pypi.python.org/pypi/tweepy下载源代码,然后执行以下操作:
tar xzvf tweepy-1.7.1.tar.gz
cd tweepy-1.7.1
python setup.py install
Run Code Online (Sandbox Code Playgroud)