1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 11:58:13 +00:00

fix: readme example (#16)

This commit is contained in:
Tyler 2022-09-05 19:42:03 +01:00 committed by GitHub
parent 043deeed45
commit 0140a51f85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ Docs are very much a WIP, for any help with the library, please join the discord
import { ClasschartsStudentClient } from "classcharts-api";
async function main() {
const client = new ClasschartsStudentClient("classchartsCode", "01/1/2000");
await client.init();
await client.login();
console.log(
await client.getBehaviour({
displayDate: "due_date",