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:
parent
24208c310e
commit
01ec1e6584
1 changed files with 2 additions and 2 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue