Skip to content

Collection of personal Python modules for extracting data from online systems

License

Notifications You must be signed in to change notification settings

mmartiniano/grepy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grepy

A Collection of Python modules for extracting data from online systems

Twitter

After getting your own acess to Twitter API you'll be ready to search for tweets.

For instance, the Python code below greps tweets about "chilling capybaras":

from twitter import Twitter

twitter = Twitter('TWITTER_API_TOKEN')
query = '(chilling capybara) lang:en -is:retweet'

tweets = twitter.search_tweets(query)
for tweet in tweets:
    print(tweet['text'])

About

Collection of personal Python modules for extracting data from online systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages