AGENT SKILL

pm-newsdata-io

NewsData.io connector knowledge and safe action guide.

License 许可
AGPL-3.0
所属仓库
polymetrics-ai/cli
最近更新
2026-09-21
Stars
★ 7
Forks
0

01 前言 Front Matter

name
pm-newsdata-io
description
NewsData.io connector knowledge and safe action guide.

03 SKILL.md 正文

pm-newsdata-io

Purpose

Reads latest, crypto, and archived news articles plus available news sources from the NewsData.io REST API.

Icon

Capabilities

  • check=true catalog=true read=true write=false query=false
  • Integration type: api

Authentication

  • Use pm credentials add with --from-env or --value-stdin for secret fields.

Configuration

  • base_url
  • categories
  • countries
  • domains
  • end_date
  • languages
  • mode
  • page_size
  • search_query
  • start_date
  • api_key (secret) (required)

ETL Streams

  • latest:
    • primary key: article_id
    • cursor: pubDate
    • fields: article_id(string), category(array), content(string), country(array), creator(array), description(string), duplicate(boolean), image_url(string), keywords(array), language(string), link(string), pubDate(string), source_id(string), source_name(string), source_url(string), title(string)
  • crypto:
    • primary key: article_id
    • cursor: pubDate
    • fields: article_id(string), category(array), content(string), country(array), creator(array), description(string), duplicate(boolean), image_url(string), keywords(array), language(string), link(string), pubDate(string), source_id(string), source_name(string), source_url(string), title(string)
  • archive:
    • primary key: article_id
    • cursor: pubDate
    • fields: article_id(string), category(array), content(string), country(array), creator(array), description(string), duplicate(boolean), image_url(string), keywords(array), language(string), link(string), pubDate(string), source_id(string), source_name(string), source_url(string), title(string)
  • sources:
    • primary key: id
    • fields: category(array), country(array), description(string), icon(string), id(string), language(array), name(string), priority(integer), url(string)

Sync Modes

  • ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped

Security

  • read risk: external NewsData.io API read of news articles and sources
  • Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

Commands

Inspect as a manual

pm connectors inspect newsdata-io

Inspect as structured JSON

pm connectors inspect newsdata-io --json

Agent Rules

  • Run pm connectors inspect newsdata-io before creating credentials or plans.
  • Use --json only when the caller needs structured output; use the manual for human-readable guidance.
  • Never ask the user to paste secret values into chat.

04 同仓库更多 Skills