Metadata-Version: 2.2
Name: groundapi-cli
Version: 1.0.0
Summary: GroundAPI CLI — Real-time Data API for AI Agents
Project-URL: Homepage, https://groundapi.net
Project-URL: Documentation, https://groundapi.net/documentation
Keywords: groundapi,cli,api,ai-agent,real-time-data
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.28.0
Requires-Dist: typer>=0.15.0
Requires-Dist: rich>=13.9.0

# GroundAPI CLI

专为 AI Agent 设计的实时数据命令行工具。一个 API Key，在终端查询 A 股行情、天气、汇率、快递、搜索、网页抓取、IP 定位。

## 安装

```bash
pip install groundapi-cli
```

## 配置

```bash
groundapi config set-key sk_gapi_你的密钥
```

或使用环境变量：

```bash
export GROUNDAPI_API_KEY=sk_gapi_你的密钥
```

## 使用

```bash
groundapi stock 600519          # A 股实时行情
groundapi weather 北京          # 天气查询
groundapi forex USD CNY         # 汇率查询
groundapi logistics SF1234567   # 快递追踪
groundapi search "AI Agent"     # 网络搜索
groundapi scrape https://...    # 网页抓取
groundapi ip 8.8.8.8            # IP 定位
```

## 获取 API Key

前往 [groundapi.net](https://groundapi.net) 注册，每月 500 次免费调用。
