ErikBoesen / schoolopy

:school: Python wrapper for Schoology's REST API.
MIT License
47 stars 19 forks source link

Get URLs for Assignments #54

Open lucaswyd opened 9 months ago

lucaswyd commented 9 months ago

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 commented 9 months ago

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