def add_url_param(url, param_key, param_value):
    """Adds a new parameter to specified URL."""
    url = str(url)
    url_split = url.split('?')
    separator = '&' if len(url_split) > 1 else '?'
    url += separator + param_key + '=' + param_value

    return url