Options
All
  • Public
  • Public/Protected
  • All
Menu

The base client

Hierarchy

Index

Constructors

  • Parameters

    • API_BASE: string

      Base API URL, this is different depending if its called as a parent or student

    Returns ClasschartsClient

Properties

API_BASE: string = ""
authCookies: undefined | string[]
sessionId: string = ""
studentId: number = 0
studentName: string = ""

Methods

  • Gets general information about the logged in student

    Returns Promise<Student>

    Student object

  • makeAuthedRequest(path: string, options: Omit<RequestOptions, "origin" | "path">): Promise<any>
  • Parameters

    • path: string
    • options: Omit<RequestOptions, "origin" | "path">

    Returns Promise<any>

Generated using TypeDoc