School API authorizing without browser interaction
Hi Guys,
I'm working on pulling advanced lists from BBK12 through School API. I want it to perform nighly automatically. Are there any good ideas to get the access token without clicking the “Authorize” on the pop-up page, so that the script can update the authorization and pull the lists of data automatically?
Comments
-
Hi Jacob, the idea would be to authorize using the authorization code flow where you are presented with the consent form UI just once, and from that point forward you use the refresh token to acquire new access tokens. Using refresh tokens this way will allow you to continue to make API calls in your script (continue to generate access tokens) without the need to “Authorize” in the UI again.
The Headless Data Sync app provides an example of how to pass an initial refresh token to an app/script, and then use that refresh token to generate a new access token after the access token expired.
Hope that helps!
1 -
Thanks Michael! This helps a lot?. I'll check it out.
1 -
If you're a python developer you can use my sky-api client library. I have a method for pulling advanced list.
0 -
Thank you so much, warren, for letting me know your library. I'll definitely check it out and have some study in it. I guess it'll help me pretty much. ?
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 213 bbcon®
- 1.4K Blackbaud Altru®
- 403 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 656 Blackbaud Grantmaking™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 939 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.6K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 34 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 794 Community News
- 2.9K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
