Skip to main content

Official Python SDK for Just One API

Project description

English | 简体中文

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.
👉 Register


📚 Documentation

👉 Full API docs: API Document

Includes:

  • Request parameters
  • Response fields
  • Error codes

🏠 Official Website

👉 Home Page

Learn more about the project, data sources, and commercial integration opportunities.


📬 Contact Us

If you have any questions, feedback, or partnership inquiries:

👉 Contact


🪪 License

This project is licensed under the MIT License.
See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

justoneapi-1.15.1.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

justoneapi-1.15.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file justoneapi-1.15.1.tar.gz.

File metadata

  • Download URL: justoneapi-1.15.1.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for justoneapi-1.15.1.tar.gz
Algorithm Hash digest
SHA256 bb038cdd3602e33c30d93e336f6cca95ecd724e5ef9d5ca76e8c6f793b978e7d
MD5 1ccdcb3e25ddab9e57d052b05caaf6b5
BLAKE2b-256 ae7312935088949afa6ab0719e883e08728ca98d3252b95e3d0086cfc83b3c0d

See more details on using hashes here.

File details

Details for the file justoneapi-1.15.1-py3-none-any.whl.

File metadata

  • Download URL: justoneapi-1.15.1-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for justoneapi-1.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f90ef166de81b1496d425da896ed382dc83d24ae1b8efa0c5ff8352d3addf9e3
MD5 5d9356a9d0ad0036d39bd9c992a5c0a0
BLAKE2b-256 7c739a073258fc4fee18fac1f557088cc9d563f6a41daa747f591b24bb8c9a85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page