Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This is what the `pyticktick` code would look like:
import json
from pyticktick import Client

client = Client()
resp = client.get_batch_v2()
if resp.project_groups is None:
print("No project groups found.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This is what the `pyticktick` code would look like:
import json
from pyticktick import Client

client = Client()
resp = client.get_batch_v2()
if resp.project_groups is None:
print("No project groups found.")
Expand Down
2 changes: 2 additions & 0 deletions docs/guides/ticktick_api/generate_v1_token.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ Then follow any additional prompts to complete the process.
The actual code required to generate a V1 token is quite simple:

```python
from time import time

from pyticktick import Settings

client_id = "YOUR_CLIENT_ID"
Expand Down