What is a Yahoo Weather API The API is a collection of functions that allow users to add weather information…