mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 03:56:59 +00:00
update readme
This commit is contained in:
parent
b45bae16af
commit
e1ee21e0a1
1 changed files with 13 additions and 20 deletions
33
readme.md
33
readme.md
|
|
@ -1,29 +1,22 @@
|
|||
# Classcharts API
|
||||
|
||||
A client for the classcharts API
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
A typescript wrapper for getting information from the Classcharts API.
|
||||
|
||||
# Links
|
||||
|
||||
- [Documentation](https://classchartsapi.github.io/classcharts-api-js/)
|
||||
- [API Documentation (with library examples)](https://classchartsapi.github.io/api-docs/#introduction)
|
||||
- [Discord](https://discord.gg/DTcwugcgZ2)
|
||||
|
||||
# Examples
|
||||
# Contributing
|
||||
|
||||
Docs are very much a WIP, for any help with the library, please join the discord above
|
||||
Contributions are welcome! There are lots of API endpoints which we simply do not have access to to implement, so if you have access to them, please consider contributing! If you have any questions, feel free to ask in the [discord](https://discord.gg/DTcwugcgZ2).
|
||||
|
||||
```typescript
|
||||
import { StudentClient } from "classcharts-api";
|
||||
async function main() {
|
||||
const client = new StudentClient("classchartsCode", "01/1/2000");
|
||||
await client.login();
|
||||
console.log(
|
||||
await client.getBehaviour({
|
||||
from: "20/01/2000",
|
||||
to: "01/02/2000",
|
||||
})
|
||||
);
|
||||
console.log(await client.getActivity());
|
||||
console.log(await client.getStudentInfo());
|
||||
}
|
||||
# Help
|
||||
|
||||
main();
|
||||
```
|
||||
For any help with the library, please join the [discord](https://discord.gg/DTcwugcgZ2) where you can ask questions and get help from the community.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue