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

Get URLs for Assignments #54

Open
lucaswyd opened this issue Jan 25, 2024 · 1 comment
Open

Get URLs for Assignments #54

lucaswyd opened this issue Jan 25, 2024 · 1 comment

Comments

@lucaswyd
Copy link

Hello,

I have been experimenting with fetching assignment info from the Schoology API for some time now. I have finally gotten it working thanks to this repository.

However, I am stuck on retrieving assignment URLs. For example, when I run my python code, it returns the API URLs for assignments. Instead, I would like it to return accessable links directly to the assignments. The major issue for me is that the IDs on the end of the API URLs are always different than the assignment ones, so I can't convert them.

Please let me know if I am missing something, or if you know how I could go about this.

Thank you,
Lucas

@ErikBoesen
Copy link
Owner

Can you make a request to the specified API endpoints for the assignments and then get more information from there that could enable you to reconstruct the proper browser links?

I don't have access to a Schoology instance anymore, so unfortunately I can't help too much, but give that a shot

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