Skip to content

Commit c4b1c12

Browse files
docs: Added README."en".md translation via https://github.com/dephraiim/translate-readme
1 parent 6ebb1b2 commit c4b1c12

File tree

1 file changed

+21
-56
lines changed

1 file changed

+21
-56
lines changed

README.en.md

+21-56
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,42 @@
1-
# Update - June 15, 2023
2-
31
<div align="center">
4-
<h1><a href="https://pypi.org/project/tikhub">TikHub_API</a></h1>
2+
<h1><a href="https://pypi.org/project/tikhub">TikHub-API-Python-SDK</a></h1>
53
<a href="https://github.com/TikHubIO/TikHub-API-Python-SDK/blob/main/README.en.md">English</a> | <a href="https://github.com/TikHubIO/TikHub-API-Python-SDK/blob/main/README.md">简体中文</a>
64
</div>
7-
<h4>简介</h4>
8-
<p><a href="https://tikhub.io">TikHub</a>是抖音与TikTok非官方的RESTful API平台。</p>
9-
<p>我们提供的API只能获取公开数据,即任何人都可以通过浏览器及APP等访问抖音,TikTok,小红书以获取它们。</p>
10-
<p>如果您有任何建议或者需求,请联系我们,更多的功能正在开发中,敬请期待!</p>
11-
<hr>
12-
<h4>鉴权</h4>
13-
<p>接口文档中带有🔒的接口需要在请求头中携带Token才可调用。</p>
14-
<p>调用这些接口会使用你账户中的剩余请求次数!</p>
155

16-
<hr>
17-
<h4>购买</h4>
18-
<p>Website(🚧ing): <a href="https://tikhub.io">tikhub.io</a></p>
19-
<p>API Document: <a href="https://api.tikhub.io">api.tikhub.io</a></p>
20-
<p>Discord(Support): <a href="https://discord.gg/kk23BGeYrJ">https://discord.gg/kk23BGeYrJ</a></p>
21-
<p>Github: <a href="https://github.com/TikHubIO">https://github.com/TikHubIO</a></p>
22-
<p>Email: <a href="mailto:[email protected]">[email protected]</a></p>
23-
<hr>
24-
<h4>公告</h4>
25-
<p>TikHub的API将使用<strong>免费加付费</strong>的形式运行。</p>
26-
<p>登录后,通过签到可以随机获得50-100次API请求,每24小时可签到一次。</p>
27-
<hr>
6+
#### Introduction
7+
8+
[TikTok](https://tikhub.io/)It is an All in one RESTful API platform.
289

29-
## Usage example
10+
The API we provide can only obtain public data, that is, anyone can access Douyin, TikTok, and Xiaohongshu through browsers and APPs to obtain them.
3011

31-
> Check[test.py](https://github.com/TikHubIO/Douyin-TikTok-API-Python-SDK/blob/main/test/test.py)
12+
If you have any suggestions or needs, please contact us. More features are under development, so stay tuned!
3213

33-
- Step 1: Installation
14+
* * *
3415

35-
```bash
36-
pip install tikhub
37-
```
16+
#### Authentication
3817

39-
- Step 2: Initialization
18+
The interface with 🔒 in the interface document needs to carry Token in the request header before it can be called.
4019

41-
```python
42-
from tikhub import TikTokAPI, DouyinAPI
20+
Calling these interfaces will use the remaining number of requests in your account!
4321

44-
token = "请在此填写您的token/秘钥"
45-
tiktok_api = TikTokAPI(token)
46-
douyin_api = DouyinAPI(token)
22+
* * *
4723

48-
```
24+
#### Buy
4925

50-
- Step 3: Call the method
26+
Website(🚧ing):[tikhub.io](https://tikhub.io/)
5127

52-
```python
53-
import asyncio
54-
55-
from tikhub import TikTokAPI, DouyinAPI
28+
API Document:[api.tikhub.io](https://api.tikhub.io/)
5629

57-
if __name__ == '__main__':
58-
token ="请在此填写您的token/秘钥"
30+
Discord(Support):<https://discord.gg/kk23BGeYrJ>
5931

60-
tiktok_api = TikTokAPI(token)
61-
douyin_api = DouyinAPI(token)
32+
Github:<https://github.com/TikHubIO>
6233

63-
tiktok_video_url = "https://www.tiktok.com/@evil0ctal/video/7201344014984006954"
34+
6435

65-
r = None
36+
* * *
6637

67-
# 读取用户信息/Read user information
68-
r = asyncio.run(tiktok_api.get_user_info())
69-
print(r)
38+
#### announcement
7039

71-
tiktok_video_url = 'https://www.tiktok.com/@evil0ctal/video/7156033831819037994'
72-
tiktok_music_url = 'https://www.tiktok.com/music/original-sound-7128362040359488261'
40+
TikHub’s API will use**Free plus paid**run in the form.
7341

74-
# 解析单一tiktok视频/Parse a single tiktok video
75-
# r = asyncio.run(tiktok_api.get_tiktok_video_data(tiktok_video_url))
76-
# print(r)
77-
```
42+
After logging in, you can get 50-100 API requests randomly by checking in, and you can check in once every 24 hours.

0 commit comments

Comments
 (0)