- Notifications
You must be signed in to change notification settings - Fork3
Just One API - Python SDK: 接口,接口服务,小红书,Xiaohongshu,rednote,redbook,LittleRedBook,淘宝,天猫,Taobao,Tmall,抖音,Douyin,TikTok,快手,Kuaishou,微博,Sina Weibo,哔哩哔哩,bilibili,,小红书蒲公英,抖音星图,微信公众号,Wechat,Weixin,贝壳,ke.com,IMDb,京东,JD.com,美团,大众点评,携程,Ctrip,高德地图,Amap,百度指数,Baidu,饿了么,今日头条,Toutiao,知乎,Zhihu,Bigo,Temu,Lazada,Shopee,SHEIN,拼多多,pinduoduo,Youtube,Instgram,Twitch
License
justoneapi/justoneapi-python
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Official Python SDK for accessingJust One API — a unified data service platform offering structured data from Social, E-commerce platforms such as Xiaohongshu, Taobao, Douyin, Kuaishou, Bilibili, and Weibo.
This SDK simplifies API integration and request signing, allowing developers to easily retrieve platform-specific data with minimal setup.
Install via PyPI:
pip install justoneapi
fromjustoneapi.clientimportJustOneAPIClient# By default, the client uses the "cn" (Mainland China) environment.client=JustOneAPIClient(token="your_token")# If you are located outside Mainland China and experience slow responses,# you can switch to the "global" environment for better performance:# client = JustOneAPIClient(token="your_token", env="global")# Example: Get Douyin Video detailresult,data,message=client.douyin.get_video_detail_v2(video_id="7428906452091145483")print(result)print(data)print(message)# Example: Douyin Video Searchresult,data,message,has_next_page=client.douyin.search_video_v4(keyword="deepseek",sort_type="_0",publish_time="_0",duration="_0",page=1)print(result)print(data)print(message)print(has_next_page)
Each API method returns one or more of the following values:
| Variable | Type | Description |
|---|---|---|
result | bool | Whether the request was successful.True means success,False means failure. |
data | dict /list | The actual data returned from the API. Structure varies by endpoint. |
message | str | Message from the server. Contains error info when request fails. |
has_next_page | bool | Present in paginated APIs. Indicates whether more data is available. |
All API requests require a valid API token.
👉Register
👉 Full API docs:API Document
Includes:
- Request parameters
- Response fields
- Error codes
Learn more about the project, data sources, and commercial integration opportunities.
If you have any questions, feedback, or partnership inquiries:
This project is licensed under the MIT License.
See theLICENSE file for details.
About
Just One API - Python SDK: 接口,接口服务,小红书,Xiaohongshu,rednote,redbook,LittleRedBook,淘宝,天猫,Taobao,Tmall,抖音,Douyin,TikTok,快手,Kuaishou,微博,Sina Weibo,哔哩哔哩,bilibili,,小红书蒲公英,抖音星图,微信公众号,Wechat,Weixin,贝壳,ke.com,IMDb,京东,JD.com,美团,大众点评,携程,Ctrip,高德地图,Amap,百度指数,Baidu,饿了么,今日头条,Toutiao,知乎,Zhihu,Bigo,Temu,Lazada,Shopee,SHEIN,拼多多,pinduoduo,Youtube,Instgram,Twitch
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.