sweing / GeoTweet

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Python 100.0%