weather

Yahoo weather YQL API without authentication

Sometime you may need to show weather status on your own/client’s website. There are lots of web-services that do that for you but most of them are paid services. After frantic search I found Yahoo weather YQL API that uses YQL (Yahoo Query Language) this API doesn’t require any authentication for weather report (No OAuth required). Yahoo weather YQL API PHP Script To create your own Yahoo weather API you need to Get your API Keys first.

In above Yahoo example it’ll show weather report of “chicago, il“. For for clarity or flexibility I have added above function in PHP Class:

By default Yahoo weather API sends temperature in fahrenheit. If you want to show temperature in celsius then you …

Read More