igapi-rs¶
Instagram Private API 的 Rust 封装库,支持 Android / iOS / Web 三平台,提供 Python 绑定。
安装¶
快速开始¶
from igapi import AccountInfo, Client
# 从账号字符串创建客户端
account = AccountInfo.parse("username:password||device_info|cookies||")
client = Client(account=account)
# 获取用户信息
user = client.user_info(user_id=123456789)
print(user)
特性¶
- 支持 Android / iOS / Web 三平台 API
- 基于 Rust 的高性能实现
- Python 绑定 (PyO3 + maturin)
- 异步 HTTP 请求 (Tokio + reqwest)
- 完整的类型安全