Function getPronoteInstanceInformation

  • Takes an instance URL and return informations about it such as...

    • available account types ;
    • instance name ;
    • base URL and potential ENT URL

    Parameters

    • fetcher: PawnoteFetcher
    • input: {
          pronoteURL: string;
      }
      • pronoteURL: string

    Returns Promise<{
        accounts: {
            id: PronoteApiAccountId;
            name: string;
        }[];
        entToken?: string;
        entURL?: string;
        pronoteRootURL: string;
        schoolName: string;
        version: number;
    }>