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
1 parent
9116b2a
commit c12cc91
Showing
4 changed files
with
114 additions
and
78 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
auth.cfg |
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,8 +1,14 @@ | ||
from datetime import datetime | ||
|
||
from graphs import render_graph | ||
from twitter import download_followers, count_followers, download_tweets | ||
from twitter import download_followers, count_followers, download_tweets, get_user | ||
|
||
if __name__ == '__main__': | ||
# download_followers('yedpodtrzitko') | ||
followers_date_and_sum = count_followers('yedpodtrzitko', '2017-06-30', '2017-07-06') | ||
download_tweets('yedpodtrzitko') | ||
render_graph(followers_date_and_sum) | ||
user = get_user('yedpodtrzitko') | ||
since = datetime(2017, 6, 30) | ||
til = datetime(2017, 7, 6) | ||
#download_followers(user) | ||
graph_data = count_followers(user, since, til) | ||
graph_data['user'] = user | ||
download_tweets(user) | ||
render_graph(graph_data) |
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