Skip to content

Instantly share code, notes, and snippets.

View chiragzq's full-sized avatar
💭
Eating Cheese

Chirag Kaushik chiragzq

💭
Eating Cheese
  • West Lafayette, IN
View GitHub Profile
@BowenYin
BowenYin / Schoology Lookup.js
Last active September 6, 2020 23:18
Schoology course enrollment lookup script
// Get your API credentials at https://app.schoology.com/api and insert them below.
// Go to https://api.schoology.com/404 to avoid CORS problems.
// Paste the script in console, wait for "Ready," then call the function searchSection(sectionId).
const CONSUMER_KEY = ">>>YOUR_API_KEY<<<";
const CONSUMER_SECRET = ">>>YOUR_API_SECRET<<<";
var users = [], userCourses = [], matches = [];
async function fetchUsers() {
users = [];
let numUsers = 1000;