Twitter: Difference between revisions
Content added Content deleted
imported>Jesstess No edit summary |
imported>Jesstess |
||
Line 98: | Line 98: | ||
This function should print a couple of recent tweets from each of the currently trending topics. |
This function should print a couple of recent tweets from each of the currently trending topics. |
||
<li>We've already written some <code>optparse</code> logic for <code> |
<li>We've already written some <code>optparse</code> logic for <code>trendingTweets</code> in <code>twitter_api.py</code>. Read through that logic. In what ways is it the same/different from the logic for <code>search</code>? |
||
<li>Test your function. You can do this with: |
<li>Test your function. You can do this with: |
||
Line 108: | Line 108: | ||
<b>Check your understanding</b>: What is the purpose of <code>BOSTON_WOEID</code> in <code>twitter_functions.py</code>? |
<b>Check your understanding</b>: What is the purpose of <code>BOSTON_WOEID</code> in <code>twitter_functions.py</code>? |
||
== Bonus exercises == |
== Bonus exercises == |