diff --git a/README.md b/README.md index 8433d1d..4c5c5c8 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,12 @@ The function `getPastHomework()`, returns all past homework in the type `Homewor ```ts await edulink.getHomeworkDescription({id: "12345", source: "Edulink"}); ``` -The function `getHomeworkDescription()`, takes the `id` of the homework and `"Edulink"` as the source(*) +The function `getHomeworkDescription()`, takes the `id` of the homework and `"Edulink"` as the source(*). + +```ts +await edulink.completeHomework({id: "12345", completed: true}); +``` +The function `completeHomework()`, takes the `id` of the homework and if it is `completed` as a boolean. ## Other info (*) - if this symbol is used then the functionality of the feature being talked about is not fully known. diff --git a/package.json b/package.json index 93b5fdf..72ea17e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "edulinkone-api", - "version": "1.1.4", + "version": "1.1.5", "description": "A custom-built unofficial api for OvernetData's Edulinkone", "homepage": "https://github.com/chopster44/edulinkone-api#readme", "bugs": {