1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 11:58:13 +00:00
A Node.js and Deno library for requesting information from the ClassCharts API https://classchartsapi.github.io/classcharts-api-js/
Find a file
2022-03-09 21:16:25 +00:00
.devcontainer chore: add dev container config 2022-02-11 23:36:11 +00:00
docs docs: update docs 2022-02-06 12:10:10 +00:00
src fix: use student ID in activity 2022-02-11 23:46:48 +00:00
.eslintignore style: eslint 2022-01-31 22:38:17 +00:00
.eslintrc.js style: eslint 2022-01-31 22:38:17 +00:00
.gitignore docs: update docs 2021-12-12 15:02:17 +00:00
.prettierignore chore: bump deps 2022-03-07 19:47:34 +00:00
.prettierrc.json style: prettier 2022-01-31 22:32:29 +00:00
package.json chore: bump deps 2022-03-07 19:47:34 +00:00
pnpm-lock.yaml chore: bump deps 2022-03-07 19:47:34 +00:00
readme.md chore: update readme with correct example 2022-03-09 21:16:25 +00:00
tsconfig.json chore: bump deps 2022-03-07 19:47:34 +00:00

Classcharts API

A very WIP client for the classcharts API

Documentation

Examples

import { ClasschartsClient } from "classcharts-api";
async function main() {
  const client = new ClasschartsClient("classchartsCode", "01/1/2000");
  await client.init();
  console.log(
    await client.getBehaviour({
      from: "2020-12-23",
      to: "2022-03-09",
    })
  );
  console.log(await client.getActivity());
  console.log(await client.getStudentInfo());
  console.log(await client.getActivity());
  console.log(await client.getActivity());
}

main();