mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-11 18:59:05 +00:00
A Node.js and Deno library for requesting information from the ClassCharts API
https://classchartsapi.github.io/classcharts-api-js/
| .devcontainer | ||
| .github/workflows | ||
| .vscode | ||
| src | ||
| tests | ||
| .eslintignore | ||
| .eslintrc.js | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc.json | ||
| jest.config.cjs | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| readme.md | ||
| tsconfig.json | ||
Classcharts API
A client for the classcharts API
Examples
Docs are very much a WIP, for any help with the library, please join the discord above
import { StudentClient } from "classcharts-api";
async function main() {
const client = new StudentClient("classchartsCode", "01/1/2000");
await client.login();
console.log(
await client.getBehaviour({
fromDate: "20/01/2000",
toDate: "01/02/2000",
})
);
console.log(await client.getActivity());
console.log(await client.getStudentInfo());
console.log(await client.getActivity());
console.log(await client.getActivity());
}
main();