Skip to main content

小红书 Python SDK

小红书Python SDK

requirement

python >= 3.6

安装使用

安装

pypi:

pip install xiaohongshu

Usage

使用示例:

from xiaohongshu.api.api import ARK

ark = ARK("xhs", "9a539709cafc1efc9ef05838be468a28")

# 获取物流公司列表
ark.comm.get_express_list()

接口说明

公共接口封装在comm中 订单相关接口封装在order 库存相关接口封装在stock 商品相关封装在product.

changelog

[0.0.3] 添加物流模式接口的说明,官方文档存在错误。

Release files for xiaohongshu 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xiaohongshu 0.0.3
File Size Uploaded
xiaohongshu-0.0.3.tar.gz 12.5 kB Details

Release files / xiaohongshu-0.0.3.tar.gz

Download URL xiaohongshu-0.0.3.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7f2acadc0ed0f58194673df506636a1cf3115a2e24db54cc22cf4e3451d421fe
BLAKE2b-256 checksum
How to use checksums
ba68166f3c7431f8c46050f62d018ba836f7cd9735aa0c51549a5c5c2f152f94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page