From 0140a51f85c4473f8e87e4159065051885746756 Mon Sep 17 00:00:00 2001 From: Tyler <68140692+Tyler2P@users.noreply.github.com> Date: Mon, 5 Sep 2022 19:42:03 +0100 Subject: [PATCH] fix: readme example (#16) --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 35383f5..b4c74b4 100644 --- a/readme.md +++ b/readme.md @@ -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",