def METHOD_NAME(method, api_url, api_version):
    """
    Build the API URL.
    """
    return "{url}/{version}/{method}.json".format(
        url=api_url, version=float(api_version), method=method
    )