import requests


def get_weather_date(city: str) -> dict:
    """The function gets weather date from 'http://api.openweathermap.org'

    :param city: (str),
    :return: a dictionary with data
    """
    url = (
        f"http://api.openweathermap.org/data/2.5/weather?q="
        f"{city}&units=metric&appid=6d8309305eeab8655e9b0c4ed74f5b9e"
    )
    r = requests.get(url).json()
    return r