100 Scripts in 30 Days challenge: Script 16— Searching Tweets using Twitter API

DailyPriyab
gopy
Published in
1 min readApr 25, 2017

Hi the below script helps to search for any tweets on a specific topic and save it to a .pickle file to be later parsed and analyzed.

There is a limit to how many entries you can get in any search call and also has feature for pagination. For learning more about Twitter’s Search API, please check its online documentation.

I use tweepy library for the script, more details for the library can be found in the below link.

Please find the code details below and for any feedback please contact me on https://twitter.com/twitmyreview.

--

--

DailyPriyab
gopy
Editor for

Data Engineering | Data Governance | Azure | Spark | Python | Manager