Skip to content

Program to search tweets, tag, hashtag, user, with locations and maps

License

Notifications You must be signed in to change notification settings

tpelado/GeoTweet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoTweet

Program to search tweets, tag, hashtag, user, with locations and maps

Credits

Requirements:

You can install this requirements by running python setup.py before anything else.

Requirements are

  • tweepy
  • geopy
  • folium
  • SimpleHTTPServer
  • SocketServer
  • webbrowser

How to use:

First of all you have to edit the keys.py in order to change the default placeholders with your twitter API values, then run python setup.py if you need to install the requirements and last python geotweet.py

Usage Example:

For search 200 results on #python hash tag in whatever country:

python geotweet.py -z IT -n 200 -m
  • with -n set results count
  • with -m create the visual map (optional)

Opening the visual maps: After performing the desired command, launch the web server with

python geotweet.py -s

and open the browser on the link you see in terminal.

Example Image:

About

Program to search tweets, tag, hashtag, user, with locations and maps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%