Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit a5f097c

Browse files
authored
Update readme.md
1 parent 4b861c7 commit a5f097c

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

readme.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
# TODOIST-REST-CLIENT v.0.0.4
2-
3-
## _A simple todoist-rest-api client_
4-
5-
## Important changes
6-
7-
- Now `create` function returns a promise (from axios). (No more changes here)
8-
- New general functions:
9-
- Get today JSONs => implemented method for getting today tasks JSON (not content/name arrays)
10-
- Now you can complete tasks!
11-
12-
```js
13-
import TDSClient from "todoist-rest-client";
14-
const myClient = new TDSClient(API_TOKEN);
15-
myClient.completeTask({id: ...}); //with the id
16-
myClient.completeTask({TaskObject: {TaskObject with id prop} }); //with a TaskObject
17-
```
18-
191
# TODOIST-REST-CLIENT
202

213
## _A simple todoist-rest-api client_

0 commit comments

Comments
 (0)