圆周率查询 - 即刻数据
v1.0.0支持查找圆周率指定位置开始的数字,也支持查找指定数字在圆周率中的位置。 适用场景:用户询问相关数据查询、日期查询或行情查询时使用。数据由即刻数据(jikeapi.cn)的API开放接口提供。
0· 0·0 当前·0 累计
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install jike-pi-query
镜像加速npx clawhub@latest install jike-pi-query --registry https://cn.longxiaskill.com 镜像可用
本土化适配说明
圆周率查询 - 即刻数据 安装说明: 安装命令:["openclaw skills install jike-pi-query"]
技能文档
圆周率查询 - 即刻数据 数据由即刻数据提供,帮助AI客户端快速接入可靠数据服务。
前置配置 export JIKE_PI_QUERY_KEY=你的AppKey # 或使用通用 Key export JIKE_APPKEY=你的AppKey
使用方法 python3 scripts/pi_query.py find-number --start-location 1 --length 20 python3 scripts/pi_query.py find-location --find-number 14159 python3 scripts/pi_query.py find-location --find-number 14159 --json
直接调用 API: GET https://api.jikeapi.cn/v1/pi/find_number?appkey=YOUR_APPKEY
AI 使用步骤 用户要查圆周率指定位置数字时,使用 find-number。 用户要查某串数字在圆周率中出现位置时,使用 find-location。 返回数字串、位置、左右上下文和周边数字。
脚本位置 scripts/pi_query.py