Hysen Labs
Library / SDK
justoneapi/justoneapi-python avatar
justoneapi

justoneapi-python

Just One API - Python SDK: 接口,小红书,Xiaohongshu,RedNote,淘宝,天猫,Taobao,Tmall,抖音,Douyin,抖音电商,Douyin E-commerce,TikTok,TikTok Shop,快手,Kuaishou,微博,Sina Weibo,哔哩哔哩,bilibili,豆瓣,小红书蒲公英,抖音星图,巨量星图,微信公众号,WeChat,优酷,贝壳,IMDb,京东,美团,大众点评,携程,今日头条,Toutiao,知乎,Zhihu,亚马逊,Amazon,Facebook,Twitter,Temu,Reddit,Shopee,拼多多,YouTube,Instagram,谷歌搜索API,Google Search API,SERP API

247 stars20 forksPythonMIT
DEEP OPEN-SOURCE ANALYSIS

Just One API Python SDK wraps social and e-commerce data endpoints

justoneapi/justoneapi-python is the official Python client for the Just One API data platform. It returns a uniform ApiResponse object for calls across social, e-commerce, and content services.

What the client covers

Just One API is presented as a unified data service that provides structured data from social media, e-commerce, and content platforms. The README lists supported platforms that include Taobao, Tmall, Xiaohongshu, Douyin, Kuaishou, Weibo, Bilibili, JD, WeChat, Douban, TikTok, TikTok Shop, Youku, Instagram, YouTube, Reddit, Toutiao, Zhihu, Amazon, Facebook, X, Beike, and IMDb. The Python SDK is the official way to reach those endpoints from application code.

How responses are shaped

Every API method returns an ApiResponse object with the fields success, code, message, data, and raw_json. By default a business failure does not raise an exception, so callers inspect response.success, response.code, and response.message to decide what to do next. If a team prefers exceptions, the client can be constructed with raise_on_business_error set to True and then raises a BusinessError on failure.

Getting started

Installation is a single command, pip install justoneapi. A client is created with JustOneAPIClient and a token, and the README shows a Douyin video search as the first example. All API requests require a valid API token, and the README links a registration page for obtaining one. Full request parameters, response fields, error codes, and per-platform examples are kept in the online documentation center.

Editorial conclusion

The SDK is distributed under the MIT license and is installed with the command pip install justoneapi.

DEEP OPEN-SOURCE ANALYSIS

Official sources

Community notes

Community notes