Closed Vreslia closed 1 year ago
async function name(){ const client = new ShowMyHomework.Client(); const school = await client.searchSchools("Elk Valley Elementary"); }
name();
Hi, You need to import the library.
try writing
const ShowMyHomework = require("node-smhw");
at the top of your file.
Hope that helps.
async function name(){ const client = new ShowMyHomework.Client(); const school = await client.searchSchools("Elk Valley Elementary"); }
name();