reddy-api-srm 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,7 +7,7 @@ exports.fetchUserInfo = fetchUserInfo;
|
|
|
7
7
|
const axios_1 = __importDefault(require("axios"));
|
|
8
8
|
async function fetchUserInfo(cookie) {
|
|
9
9
|
try {
|
|
10
|
-
const request = await (0, axios_1.default)("https://academia.srmist.edu.in/srm_university/academia-academic-services/page/
|
|
10
|
+
const request = await (0, axios_1.default)("https://academia.srmist.edu.in/srm_university/academia-academic-services/page/My_Time_Table_2023_24", {
|
|
11
11
|
headers: {
|
|
12
12
|
accept: "*/*",
|
|
13
13
|
"accept-language": "en-US,en;q=0.9",
|
package/dist/utils/dynamicUrl.js
CHANGED
|
@@ -27,8 +27,9 @@ async function calendarDynamicUrl() {
|
|
|
27
27
|
return dynamicUrl;
|
|
28
28
|
}
|
|
29
29
|
async function courseDynamicUrl() {
|
|
30
|
-
//
|
|
31
|
-
|
|
30
|
+
// My_Time_Table_2023_24 serves the current semester timetable data
|
|
31
|
+
// Note: Despite the name, this endpoint returns the current academic year data
|
|
32
|
+
const baseUrl = "https://academia.srmist.edu.in/srm_university/academia-academic-services/page/My_Time_Table_2023_24";
|
|
32
33
|
return baseUrl;
|
|
33
34
|
}
|
|
34
35
|
//# sourceMappingURL=dynamicUrl.js.map
|