Activity Feed
- Got a Kudo for How to Get all users in API Communication Channel Request. 01-23-2020 11:40 AM
- Kudoed [Course Settings] Allow Admin to Set Default Settings for courses for ebschc. 01-28-2019 07:13 AM
- Kudoed Full office 365 Integration for lawrence_rodis. 10-10-2018 07:36 AM
- Got a Kudo for How to Get all users in API Communication Channel Request. 04-07-2018 04:51 PM
- Got a Kudo for How to Get all users in API Communication Channel Request. 04-03-2018 01:20 PM
- Kudoed Show Published/Unpublished Status for dllewellyn. 04-03-2018 01:12 PM
- Kudoed Publish / Unpublish ALL Option for jmk50. 04-03-2018 12:40 PM
- Kudoed Jenzabar (SIS) and Canvas Grade Integration for luke_caldwell. 03-28-2018 06:18 AM
- Posted How to Get all users in API Communication Channel Request on Canvas Developers Group. 03-28-2018 05:56 AM
- Tagged How to Get all users in API Communication Channel Request on Canvas Developers Group. 03-28-2018 05:56 AM
- Tagged How to Get all users in API Communication Channel Request on Canvas Developers Group. 03-28-2018 05:56 AM
- Tagged How to Get all users in API Communication Channel Request on Canvas Developers Group. 03-28-2018 05:56 AM
- Tagged How to Get all users in API Communication Channel Request on Canvas Developers Group. 03-28-2018 05:56 AM
- Got a Kudo for Re: A Simple Python GET Script. 03-26-2018 07:42 AM
- Posted Re: A Simple Python GET Script on Canvas Developers Group. 03-26-2018 06:41 AM
- Kudoed Re: A Simple Python GET Script for jschaffer. 03-26-2018 06:41 AM
- Kudoed A Simple Python GET Script for kevinw. 03-26-2018 06:41 AM
- Kudoed [Modules] Modules Display as Collapsed by Default for brandon_pousley. 03-22-2018 11:41 AM
- Kudoed [Inbox] Email (message) multiple classes at one time for emalates. 03-17-2016 12:17 PM
- Kudoed [Courses] New UI: Add option to group courses in all course list by term for ianjohnston. 01-07-2016 12:01 PM
My Posts
Post Details | Date Published | Views | Kudos |
---|---|---|---|
How to Get all users in API Communication Channel Request Hello, I'm new to APIs and have successfully been able to use a Get request to retrieve user information, but I want to be able to pull all users and not just a specific user as I have done so far. ... |
03-28-2018 |
1543 |
3 |
03-28-2018
05:56 AM
3 Kudos
Hello, I'm new to APIs and have successfully been able to use a Get request to retrieve user information, but I want to be able to pull all users and not just a specific user as I have done so far. We now require students to use their school emails in Canvas and made the change via automated SIS import this week. The problem is there seem to be some users where their school address came in as a secondary email instead of replacing the default(I assume due to them manually changing it in Canvas). My end goal is to find all users with a secondary email in Canvas so that those addresses can be removed. My Question to you is now that I've successfully retrieved information for a specific user how do I pull all users in the Get request? I put an asterisk(*) where the user ID would go, but that did not work. If needed, I'm using a code like below to retrieve Communication Channel Information import requests import json url = 'https://<school>.instructure.com/api/v1/users/<user_id>/communication_channels' headers = {'Authorization' : 'Bearer <token>'} r = requests.get(url,headers = headers) print(r.status_code) print(r.text) print(r.json())
... View more
Labels
- Labels:
-
Open API
03-26-2018
06:41 AM
1 Kudo
I will be working on my first API soon and found this to be very helpful.
... View more