API
Developer
REST API
Reference
LARC

LARC

The LARC endpoint allows users to fetch the available LARC sections for a given quarter.

Query parameters

year string Required

The year to query.

quarter Fall | Winter | Spring | Summer1 | Summer10wk | Summer2 Required

The quarter to query. Case-sensitive.

Note that it appears that 10-week Summer Sessions do not have LARC sessions, so querying this endpoint with that option will always return an empty array.

curl "https://api-next.peterportal.org/v1/rest/larc?year=2023&quarter=Summer1"

Response

[
  {
    "courseInfo": {
      "courseNumber": "CHEM 1C",
      "courseName": "General Chemistry"
    },
    "sections": [
      {
        "day": "MW",
        "time": "9:00-10:50a",
        "instructor": "Noam Levi",
        "building": "ON LINE"
      },
      {
        "day": "MW",
        "time": "11:00a-12:50p",
        "instructor": "Noam Levi",
        "building": "ON LINE"
      }
    ]
  },
  {
    "courseInfo": {
      "courseNumber": "CHEM 51B",
      "courseName": "Organic Chemistry"
    },
    "sections": [
      {
        "day": "MW",
        "time": "1:00-2:50p",
        "instructor": "Ashley Shah",
        "building": "ON LINE"
      },
      {
        "day": "MW",
        "time": "3:00-4:50p",
        "instructor": "Ashley Shah",
        "building": "ON LINE"
      }
    ]
  }
]