news-search

star 0

Search and fetch news using various free APIs and sources.

717986230 By 717986230 schedule Updated 3/2/2026

name: news-search description: Search and fetch news using various free APIs and sources.

News Search Skill

获取新闻的技能。

Free News Sources

  1. DuckDuckGo API - https://api.duckduckgo.com/
  2. NewsAPI - https://newsapi.org/ (needs key)
  3. GNews - https://gnews.io/ (needs key)
  4. RSS feeds - Various news sites

Simple Search Function

function Get-News {
    param([string]$Query = "today's news")
    
    try {
        $response = Invoke-RestMethod -Uri "https://api.duckduckgo.com/?q=$([Uri]::EscapeDataString($Query))&format=json&no_html=1" -UseBasicParsing
        return $response
    } catch {
        Write-Error "Failed to fetch news: $_"
    }
}

Search for news.

Install via CLI
npx skills add https://github.com/717986230/openclaw-workspace --skill news-search
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator