How do I code a solution to query the Brightspace API?
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.
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?
Answers
-
Hi @Kevin.G.123 - Have you explored this course?
I also have it on good authority that this page:
is about to get an update that includes the following details:auth URL: https://auth.brightspace.com/oauth2/auth
and the access token: https://auth.brightspace.com/core/connect/tokenThere's also the Development homepage:
that might have more info. Or you can join the Community group for more support. -
Thank you for your reply. I have used Postman and it is an invaluable tool for development. I have built 3 collections in Postman for Brightspace API. But it is a different situation to build a program which duplicates the authorizations, requests and responses that Postman handles. I will look at the Developer groups for more information.