def get_earnings_transcript(quarter: str, ticker: str, year: int):
    """
    Get the earnings transcripts.

    Args:
        quarter (str)
        ticker (str)
        year (int)

    """
    response = requests.get(
        f"https://discountingcashflows.com/api/transcript/{ticker}/{quarter}/{year}/",
        auth=("user", "pass"),
    )

    resp_text = json.loads(response.text)
    speakers_list = extract_speakers(resp_text[0]["content"])
    corrected_date = correct_date(resp_text[0]["year"], resp_text[0]["date"])
    resp_text[0]["date"] = corrected_date
    return resp_text[0], speakers_list

    Get the earnings transcripts.

    Args:
        quarter (str)
        ticker (str)
        year (int)

    
llama-index-integrations/readers/llama-index-readers-earnings-call-transcript/llama_index/readers/earnings_call_transcript/utils.py