import requests


def request_weather(url):
    """request the weather from openweathermap.org API. Returns a dict of the json file"""
    response = requests.get(url)
    response_dict = response.json()
    return response_dict