# Introduction

[![NPM Version](https://img.shields.io/npm/v/akora-moodle?color=00DEC8\&style=for-the-badge)](https://www.npmjs.com/package/akora-moodle) [![NPM Downloads](https://img.shields.io/npm/dt/akora-moodle?color=00DEC8\&style=for-the-badge)](https://www.npmjs.com/package/akora-moodle) [![NPM License](https://img.shields.io/npm/l/akora-moodle?color=00DEC8\&style=for-the-badge)](https://www.npmjs.com/package/akora-moodle) [![Github Size](https://img.shields.io/github/repo-size/discord-card/levelcard?color=00DEC8\&label=SIZE\&style=for-the-badge)](https://www.npmjs.com/package/akora-moodle)

## AKORA Moodle Client

This is a simple Client for moodle, that is inspired by the [moodle-client](https://www.npmjs.com/package/moodle-client) by [mudrd8mz](https://www.npmjs.com/~mudrd8mz), it has built-in typings and typings for many endpoints of the Moodle API(which are documented [here](https://learn.cineca.it/pluginfile.php/1/theme_adaptable/adaptablemarketingimages/0/api.htm)), the typings will be extended in the future till hopefully one-day all endpoints are built in this package.

### Why should I use this package?

If you ever read the documentation of the Moodle API, then you know that there are hundreds of methods and if you don't have the right documentation the [docs](https://docs.moodle.org) can be hard to read and understand, you still need the documentation to use this package but it provides you most methods with built-in types so that you know what you get back and what you need to supply to the request.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dragoncatm.gitbook.io/moodle/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
