import requests


def get_all_weather_data(city="st. john's"):
    """
    Helper function. Makes a request to openweathermap server.
    :param city:
    :return: Returns entire current weather for the city.
    """
    base_url = "https://api.openweathermap.org/data/2.5/weather?"
    api_key = "e3a3f627f93effe0dc13ea5ca84180c7"  # get your own https://home.openweathermap.org/api_keys
    url = f'{base_url}q={city}&appid={api_key}'
    resp = requests.get(url)
    return resp.json()