# -*- coding: utf-8 -*-
"""Twitter API Call."""
import tweepy
import os


WOEID_US = 23424977
consumerKey = os.environ.get('TWITTER_CONSUMERKEY')
consumerSecret = os.environ.get('TWITTER_CONSUMERSECRET')
accessToken = os.environ.get('TWITTER_ACCESSTOKEN')
accessTokenSecret = os.environ.get('TWITTER_ACCESSTOKENSECRET')

auth = tweepy.OAuthHandler(consumerKey, consumerSecret)
auth.set_access_token(accessToken, accessTokenSecret)
api = tweepy.API(auth)

print(api.trends_place(WOEID_US))

@@ -452,14 +452,15 @@
 h)%0A%0A
-print(
+resp = 
 api.
@@ -481,10 +481,136 @@
 OEID_US)
+%0A# print(u'response:', resp)%0A%0Atrend_list = %5Btrend%5B'name'%5D for trend in resp%5B0%5D%5B'trends'%5D%5D%0Aprint(u'%5Cntrend_list:%5Cn', trend_list
 )%0A

add list comprehension of trending topics from api call