forked from geduldig/TwitterGeoPics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
83 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,41 @@ | ||
Scripts for geocoding tweets and for downloading images embedded in tweets. | ||
TwitterGeoPics | ||
============== | ||
Python scripts for geocoding tweets and for downloading images embedded in tweets. Supports Python 2.x and 3.x. | ||
|
||
SearchOldTweets.py | ||
----------------- | ||
Uses 'search/tweets' Twitter resource to get tweets, geocode and embedded photos. | ||
|
||
Example: | ||
python -u -m TwitterGeoPics.SearchOldTweets -words love hate -location nyc | ||
For help: | ||
python -u -m TwitterGeoPics.SearchOldTweets -h | ||
|
||
StreamNewTweets.py | ||
----------------- | ||
Uses 'stream/filter' Twitter resource to get tweets, geocode and embedded photos. | ||
|
||
Example: | ||
python -u -m TwitterGeoPics.StreamNewTweets -words love hate -location nyc | ||
For help: | ||
python -u -m TwitterGeoPics.StreamNewTweets -h | ||
|
||
Authentication | ||
-------------- | ||
See TwitterAPI documentation. | ||
|
||
Geocoder | ||
-------- | ||
The geocoder uses Google Maps API to get latitude and longitude from a human-readable address. See pygeocoder package for details. Google will attempt to geocode anything. (If you say your location is The Titanic, Google will geocode the shipwreck.) | ||
|
||
All geocode is cached to avoid duplicate requests. Geocode requests are throttled to avoid exceeding the rate limit. See Geocoder.py for more information. | ||
|
||
Dependencies | ||
----------- | ||
* TwitterAPI | ||
* pygeocoder | ||
* Fridge | ||
|
||
Contributors | ||
------------ | ||
* Jonas Geduldig |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.