You are here

5 Day Weather API - Sample Source Code

The 5 Day Weather API accepts a city as a single parameter and returns a 5 day forecast. Specifically, the API will accept an HTTP request with a city name identifier and will return a JSON object that includes the requested city name, the temperature, the sky conditions, projected humidity, wind speed in MPH, and day names with associated calendar dates. Users can make specific calls to switch between Celsius and Fahrenheit and Km/h and mph according to local standards. The API is free to use without restriction. Developers interested in testing the functionality of the API can visit the web app that is accessible on most devices. The site also hosts a widget for website add-on integrations.