Created
September 9, 2019 19:06
-
-
Save stuartf/124c80ae3be4609a7d529e2277e0269a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const BuzzApi = require('buzzapi'); | |
const config = require('./config.json'); | |
const buzzapi = new BuzzApi({'apiUser': config.buzzapi.appid, 'apiPassword': config.buzzapi.password, 'server': config.buzzapi.server}); | |
const test = async function() { | |
try { | |
const result = await buzzapi.post('central.academics.course_catalog.course_info_summary', 'search', {term_code: 202005, crn: 80000}); | |
console.log(result); | |
} catch (err) { console.error(err); } | |
}; | |
test(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment