Skip to content

Commit 0544c45

Browse files
author
Anonymous Committer
committed
doc: update README.md
1 parent 21e4dc7 commit 0544c45

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ pip install justoneapi
2121
```python
2222
from justoneapi.client import JustOneAPIClient
2323

24+
# By default, the client uses the "cn" (Mainland China) environment.
2425
client = JustOneAPIClient(token="your_token")
26+
# If you are located outside Mainland China and experience slow responses,
27+
# you can switch to the "global" environment for better performance:
28+
# client = JustOneAPIClient(token="your_token", env="global")
2529

2630
# Example: Get Douyin Video detail
2731
result, data, message = client.douyin.get_video_detail_v2(video_id="7428906452091145483")

0 commit comments

Comments
 (0)