Official Python SDK for Just One API
Project description
Just One API - Python SDK
Official Python SDK for accessing Just 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.
🚀 Installation
Install via PyPI:
pip install justoneapi
🛠 Quick Start
from justoneapi.client import JustOneAPIClient
# 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 detail
result, data, message = client.douyin.get_video_detail_v2(video_id="7428906452091145483")
print(result)
print(data)
print(message)
# Example: Douyin Video Search
result, 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)
📦 Return Value Description
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. |
🔐 Authentication
All API requests require a valid API token.
You can obtain your token by contact us:
👉 Contact
📚 Documentation
👉 Full API docs: https://justoneapi.com/docs
Includes:
- Request parameters
- Response fields
- Error codes
🏠 Official Website
Learn more about the project, data sources, and commercial integration opportunities.
📬 Contact Us
If you have any questions, feedback, or partnership inquiries:
- Email: justoneapi@gmail.com
- Telegram: @justoneapi
🪪 License
This project is licensed under the MIT License.
See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file justoneapi-1.4.0.tar.gz.
File metadata
- Download URL: justoneapi-1.4.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
551a622d4ce09d6fbe965eec93f9c1e10541040a139f830c84a9a672bce6681b
|
|
| MD5 |
70f6224f7d7a4fd3228f2182c45acffe
|
|
| BLAKE2b-256 |
b2d8e026f7f603523db9a9d531393956ad39a43e4d20772d9e60873bc8916100
|
File details
Details for the file justoneapi-1.4.0-py3-none-any.whl.
File metadata
- Download URL: justoneapi-1.4.0-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0af5c06b89da63c5103a3e659bc1ec377971c8f4d7711000f3163032a75dbde9
|
|
| MD5 |
ce7f2c912524ab2df72e5e0b47c9b783
|
|
| BLAKE2b-256 |
0e0083da512e7f1737850b5694f2aefdf331774b26706584aa96eae651656d98
|