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 fix

This commit is contained in:
James Cook 2023-04-07 13:48:13 +01:00
parent 24208c310e
commit 01ec1e6584

View file

@ -9,9 +9,9 @@ A client for the classcharts API
Docs are very much a WIP, for any help with the library, please join the discord above
```typescript
import { ClasschartsStudentClient } from "classcharts-api";
import { StudentClient } from "classcharts-api";
async function main() {
const client = new ClasschartsStudentClient("classchartsCode", "01/1/2000");
const client = new StudentClient("classchartsCode", "01/1/2000");
await client.login();
console.log(
await client.getBehaviour({