Skip to content

Instantly share code, notes, and snippets.

@stuartf
Created September 9, 2019 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stuartf/124c80ae3be4609a7d529e2277e0269a to your computer and use it in GitHub Desktop.
Save stuartf/124c80ae3be4609a7d529e2277e0269a to your computer and use it in GitHub Desktop.
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