Here you will know how to use weather api in alexa skill python-hosted Test My Alexa SKILL --->> https://www.amazon.in/dp/B081H7XTJ3
#prerequisite :
- Alexa Developer Account -> https://developer.amazon.com/alexa/console/ask
- Open Weather Map account -> https://openweathermap.org/ tutorial to generate API openweathermap -> https://www.youtube.com/watch?v=oN4ohLj0fkY
API URL --> http://api.openweathermap.org/data/2.5/weather?appid={Your_API_Key}&q={city_name}&units=metric {units=metric} --> celsius and {units=imperial} --> fahrenheit
We have to import request in lambda function to use json data of api.