Anonymous user
Twitter: Difference between revisions
no edit summary
imported>Jesstess |
imported>Jesstess No edit summary |
||
Line 105:
<b>Check your understanding</b>: What is the purpose of <code>BOSTON_WOEID</code> in <code>twitter_functions.py</code>?
== Bonus exercises ==
Line 122 ⟶ 123:
and more!
=== 2. Print trending topics by location ===
Extend <code>trendingTopics</code> so that a Yahoo! Where On Earth ID (WOEID) can be specified on the command line and trending topics for that location will be displayed instead of using the hardcoded <code>BOSTON_WOEID</code> to only display results for Boston.
You can look up WOEIDs by location at http://sigizmund.info/woeidinfo/
|