Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing more information #28

Open
BBQ591 opened this issue Sep 30, 2022 · 2 comments
Open

Accessing more information #28

BBQ591 opened this issue Sep 30, 2022 · 2 comments

Comments

@BBQ591
Copy link

BBQ591 commented Sep 30, 2022

How can I access more information on Skyward? For example when I reach this page with the url ../sfacademichistory001.w, I can only access the names of the courses that I've taken through the skyward-rest program. However, when I actually go to skyward, I am able to click on the class names for more information. When I click on the classname, I am not redirected to a new page with a link. It is just a pop-up with no link. How can I get the information in the pop-up?

When I do the line scrapeReport, I get a 5-digit number with key value "course". The comments in the README say that it is the 5-digit course number for the class, but I don't know how this course number was created. I can't find this number anywhere in skyward.

Thanks!!

@Kaelinator
Copy link
Owner

See scrapeGradebook! Also, I haven't touched this code in years because I no longer have access to Skyward. Use at your own risk.

@BBQ591
Copy link
Author

BBQ591 commented Oct 1, 2022

I have looked at the code for a very long time, but I can't seem to be able to read the code. I believe that the program is able to access the dialog box because of the url in the parse.js file in the gradebook folder being ../httploader.p?file=sfgradebook001.w, while the other urls in the other parse.js files in other folders were sfgradebook001.w. However, I don't know how this relates to opening up the grade rather than the class dialog box. I also see that in the parse.js file in the gradebook folder, there is a line in the body function that says return 'action=viewGradeInfoDialog&fromHttp=yes&ishttp=true'. I believe that the action=viewGradeInfoDialog is important, but I don't know how you got the viewGradeInfoDialog value either.
Could you provide some insight on how this works, if you remember what you did? Is there something I can read that will help me be able to read this code and understand why this works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants