How do I code a solution to query the Brightspace API?

Options
Kevin.G.123
Kevin.G.123 Posts: 9 🌱
edited February 15 in Development

I am trying to develop a programming solution to query the Brightspace API. The reason is because of incompatibilities with Informatica which is my only tool for integration at this time.

I have tried scripts in both Python and Powershell. I need a refresh token. The following link shows how to obtain a refresh token.

https://community.d2l.com/brightspace/kb/articles/1196-how-to-obtain-an-oauth-2-0-refresh-token

I get a refresh token, but the cannot be used in my program as it gets rejected as an invalid refresh token because the token is from another program. So I need an initial valid token for my program before I can get a refresh token.

So to develop a program to query the Brightspace API, do I need to write code to implement the OAuth 2.0 three legged scheme to get the initial token?

Has anyone in this developer forum been able to program a custom solution to query the Brightspace API?

Tagged:

Answers