Metadata-Version: 2.4
Name: apizero
Version: 0.1.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Rust
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: requests>=2.28 ; extra == 'compat'
Provides-Extra: compat
Summary: 极数本源 ApiZero SDK。Rust 核心，一把 Key 调全站接口。
Keywords: apizero,api,video-parse
Author-email: ApiZero <api@zerois.cn>
License: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://apizero.cn/aidocs
Project-URL: Homepage, https://apizero.cn
Project-URL: Marketplace, https://apizero.cn/marketplace

# apizero

极数本源 SDK。**Rust 核心**，Python / JS / Java 同一套写法。一把 Key 调全站接口。

```bash
pip install apizero
```

```python
import apizero

vd = apizero.key("sk_live_xxx")
r = vd.video_parse(url="https://v.douyin.com/xxxx", flat=1)
print(r.ok, r.title, r.video_url)
```

赋值：`vd.video_parse.url = "..."`；或一次传入 `vd.video_parse({"url": "...", "flat": 1})`。返回值已经是对象，不用再 JSON。

本仓库开发：

```bash
pip install maturin
maturin develop --release
```

