← 返回
开发者工具 Key 中文

gsdata-search

Searches the projects-databus.gsdata.cn API for data using provided project ID, signature, keywords, and returns results as JSON with optional limit.
通过项目ID、签名和关键词在projects-databus.gsdata.cn API搜索数据,返回JSON结果,支持可选limit参数。
urhd528
开发者工具 clawhub v1.0.3 1 版本 100000 Key: 需要
★ 0
Stars
📥 595
下载
💾 7
安装
1
版本
#latest

概述

GS Data Search

Description

A skill that provides a simple interface to search data from projects-databus.gsdata.cn API.

Installation

This skill is automatically available when installed in the Claude Code plugins directory.

Usage

To use this skill, you need to provide the following parameters:

  • project_id: Your project ID
  • sign: Your API signature
  • keywords: Search keywords
  • posttime_start: Start time for post (format: 2026-03-01 00:00:00)
  • posttime_end: End time for post (format: 2026-03-01 23:59:59)
  • limit: Number of results to return (default: 10)

Example

from gsdata_search import search

result = search(
    project_id="your_project_id",
    sign="your_signature",
    keywords="your_search_keywords",
    posttime_start="2026-03-01 00:00:00",
    posttime_end="2026-03-01 23:59:59",
    limit=20
)

print(result)

API Reference

search(project_id, sign, keywords, posttime_start, posttime_end, limit=10)

Searches the GS Data API for data matching the keywords.

Parameters:

  • project_id (str): The project ID
  • sign (str): The API signature
  • keywords (str): Keywords to search for
  • posttime_start (str): Start time for post (format: 2026-03-01 00:00:00)
  • posttime_end (str): End time for post (format: 2026-03-01 23:59:59)
  • limit (int): Number of results to return (default: 10)

Returns:

  • list: The search results as a Python list of dictionaries, each containing only the following fields:
  • news_title: News title
  • news_uuid: News UUID
  • media_name: Media name
  • news_posttime: Posting time
  • news_emotion: News emotion (positive/negative/neutral)
  • news_url: News URL
  • news_digest: News digest

Response Structure:

[
    {
        "news_title": "News title",
        "news_uuid": "123456789",
        "media_name": "Media name",
        "news_posttime": "2026-03-01 10:30:00",
        "news_emotion": "positive",
        "news_url": "https://example.com/news/123",
        "news_digest": "News digest..."
    }
]

Notes

  • Make sure you have valid project_id and sign credentials
  • The API has a timeout of 30 seconds
  • Results are returned as JSON data

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-03-30 06:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,388
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,838
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,427