import requests


def fetch_developers(language: str = "", since: str = "daily") -> dict:
    """Fetch trending developers on GitHub

    Parameters:
        language (str, optional): The programming language, eg: python
        since (str, optional): The time range, choose from [daily, weekly, monthly]. Defaults to "daily"

    Returns:
        A list of dicts containing information for the trending developers found
    """
    url: str = "https://ghapi.huchen.dev/developers?"
    url += "language=" + language
    url += "&since" + since

    res = requests.get(url).json()
    return res