Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "parsers/schedule-listing"

Index

Functions

findUniqueName

  • findUniqueName(element: Element): undefined | string

parseScheduleListing

  • parseScheduleListing(html: string): object[]
  • given a schedule listing HTML, this returns an array of sections with the following info:

    • ins instructor unique name
    • typ Schedule Type as listed on the page. e.g. Lecture or Internet
    • tim time of day this section ran/runs at
    • day the days this section ran/runs at
    • loc the location as listed on the page

    Parameters

    • html: string

    Returns object[]

parseSectionElement

Object literals

Const emptySectionResult

emptySectionResult: object

days

days: never[] = []

instructors

instructors: never[] = []

locations

locations: never[] = []

scheduleType

scheduleType: never[] = []

times

times: never[] = []

Generated using TypeDoc