我去了 twitter 的 API,它把我重定向到谷歌代码,但网站不存在。任何替代的 Twitter API,以及教程?谢谢!
最佳答案
试试 Tweepy:http://code.google.com/p/tweepy/
您可以在同一个 Google 代码链接上找到 tutorial wiki page。
要使用 easy_install 安装它,只需运行 easy_install tweepy
要使用 git 安装它:
git clone git://github.com/joshthecoder/tweepy.git
cd tweepy
python setup.py install
要从源代码安装它,请从 http://pypi.python.org/pypi/tweepy 下载源代码,然后运行如下命令:
tar xzvf tweepy-1.7.1.tar.gz
cd tweepy-1.7.1
python setup.py install
关于api - 我在哪里以及如何安装 twitter 的 Python API?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5957495/