3
Follow Our Documentation
Our API is OAuth1 protected. Please use the consumer key and secret created in Step 1 and generate an oauth
signature. Please also include your OAuth app id in the "X-Yahoo-App-Id" header. Then call our API like this:
GET /forecastrss?location=sunnyvale,ca HTTP/1.1
Host: weather-ydn-yql.media.yahoo.com
X-Yahoo-App-Id: YOUR_APP_ID
Authorization: OAuth
oauth_consumer_key="YOUR_CONSUMER_KEY",oauth_signature_method="HMAC-SHA1",oauth_timestamp="YOUR_TIMESTAMP",oauth_nonce="YOUR_NONCE",oauth_version="1.0",oauth_signature="YOUR_GENERATED_SIGNATURE"
cache-control: no-cache
For details of the API, check out our documentation.