I found at http://dev.twitter.com/pages/libraries#python that there are several Twitter APIs for Python.
I've been using python-twitter for a while but never needed the API Search. Now I need to do a job that includes Twitter searches and I see they are not supported by this lib.
I wonder know which of the listed ones is the appropriated for this task.
Thanks,
Note: I used python-twitter 0.6 - svn trunk seems to include searches.
The Twitter API lets you “Programmatically analyze, learn from, and engage with conversation on Twitter”. In this tutorial, we'll cover how you can use the Twitter API in Python to access data for your own analysis. Note: If you're looking to get data from Twitter API v2 check out our new tutorial.
Installing Tweepy Tweepy is an excellently supported tool for accessing the Twitter API. It supports Python 2.6, 2.7, 3.3, 3.4, 3.5, and 3.6. There are a couple of different ways to install Tweepy. The easiest way is using pip .
Twitter API access levels and versions The Twitter API v2 includes a few access levels to help you scale your usage on the platform. In general, new accounts can quickly sign up for free, Essential access. Should you want additional access, you may choose to apply for free Elevated access and beyond.
Twython has proven good for a current project of mine. It seems to be the most up-to-date with the Twitter API.
If you need streaming API support I would recommend Tweepy.
I have been using Python Twitter Tools and like it a lot. It still won't handle your search filtering for you, but you would have to do that anyways.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With