Skip to content

Commit c4261ae

Browse files
docs: Added README."en".md translation via https://github.com/dephraiim/translate-readme
1 parent 2b39de0 commit c4261ae

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

README.en.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,28 @@
1515

1616
<hr>
1717
<h4>购买</h4>
18-
<p>Website(🚧ing): <a href="https://tikhub.io">https://tikhub.io</a></p>
19-
<p>Discord(💳buy): <a href="https://discord.gg/KnWCrgCERq">https://discord.gg/KnWCrgCERq</a></p>
18+
<p>Website(🚧ing): <a href="https://tikhub.io">dash.tikhub.io</a></p>
19+
<p>Discord(💳buy): <a href="https://discord.gg/kk23BGeYrJ">https://discord.gg/kk23BGeYrJ</a></p>
2020
<p>Github: <a href="https://github.com/TikHubIO">https://github.com/TikHubIO</a></p>
2121
<p>Email: <a href="mailto:tikhub.io@proton.me">tikhub.io@proton.me</a></p>
2222
<p>WeChat/微信: Evil-Bot</p>
2323
<hr>
2424
<h4>公告</h4>
2525
<p>TikHub的API将使用<strong>免费加付费</strong>的形式运行。</p>
26-
<p>登录后,通过点击以下链接可以免费试用7天,包含2000次API请求,只限新用户。</p>
27-
<a href="https://api.tikhub.io/promotion/claim?promotion_id=1">https://api.tikhub.io/promotion/claim?promotion_id=1</a>
28-
<p>登录后,通过点击以下链接进行签到可以随机获得50-100次API请求,每24小时可签到一次。</p>
29-
<a href="https://api.tikhub.io/promotion/daily_check_in">https://api.tikhub.io/promotion/daily_check_in</a>
26+
<p>登录后,通过签到可以随机获得50-100次API请求,每24小时可签到一次。</p
3027
<hr>
3128

3229
## Example of use
3330

34-
> Check[test.py](https://github.com/TikHubIO/TikHub_PyPi/blob/main/test/test.py)
31+
> Check[test.py]([https://github.com/TikHubIO/TikHub_PyPi/blob/main/test/test.py](https://github.com/TikHubIO/Douyin-TikTok-API-Python-SDK/blob/main/test/test.py))
3532
3633
- The first step/first step: installation/Install
3734

3835
```bash
3936
pip install tikhub
4037
```
4138

42-
- The second step/second step: initialization/Initialization
39+
- 第二步/second step: 初始化/Initialization
4340

4441
```python
4542
from tikhub import TikTokAPI, DouyinAPI
@@ -50,13 +47,13 @@ douyin_api = DouyinAPI(token)
5047

5148
```
5249

53-
- The third step/third step: call the method/call the function
50+
- 第三步/third step: 调用方法/call the function
5451

55-
''' python
52+
```python
5653
import asyncio
5754
from tikhub import TikTokAPI, DouyinAPI
5855

59-
if**name**== '**main**':
56+
if __name__ == '__main__':
6057
token = input('Please enter your TikTok token: ')
6158

6259
tiktok_api = TikTokAPI(token)
@@ -76,9 +73,4 @@ if**name**== '**main**':
7673
# 解析单一tiktok视频/Parse a single tiktok video
7774
# r = asyncio.run(tiktok_api.get_tiktok_video_data(tiktok_video_url))
7875
# print(r)
79-
80-
```
81-
82-
83-
8476
```

0 commit comments

Comments
 (0)