私は Python 3.4 でコーディングしており、Yahoo Weather Data にアクセスするための Rest Query を作成しようとしています。Yahoo の YQL のクライアント ID とシークレットを作成しましたが、どうすればよいかわかりません。よろしくお願いします。私のコードは次のようになります。
import requests
import yql
import json
def get_forecast(zipcode):
clientID = "xyz"
clientSecret = "abc"
req_str = "select * from rss where url='http://xml.weather.yahoo.com/forecastrss/{0}_f.xml'".format(zipcode)
...???