Skip to content

Course API Integration Scirpt #95

@haram082

Description

@haram082
  • Pomona Course API: `[https://jicsweb.pomona.edu/api/Courses/${termKey}/{courseArea}]
  • (https://jicsweb.pomona.edu/api/Courses/$%7BtermKey%7D/%7BcourseArea%7D) for every value from fetch('https://jicsweb.pomona.edu/api/CourseAreas) and that's how we properly populate the values
  • take the CourseCode of the api response object and then strip the section number from, so from CSCI005 HM-02 to CSCI005 HM.
  • check the mongodb courses collection to see if the course exists.
    - if it doesn't add it to the collection with the appropriate information.
    - if it already exists add 2025;FA to the term_keys.
  • populate description, name, and any other relevant fields
  • use course area to check for Area requirements

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions