mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 03:56:59 +00:00
fix: readme example (#16)
This commit is contained in:
parent
043deeed45
commit
0140a51f85
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue