Adapter: TGStat

Aperta
#1,413 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
75/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
analytics, api

Direzione di ricerca

Start with the six steps under Add an adapter in AGENTS.md, then run npm run adapter:new -- tgstat --region intl --auth QUERY_AUTH to generate the scaffold. Fill in the read-only tools (channel info, channel statistics, post search, post statistics) using the TGStat docs, and add intl/tgstat.live.spec.ts with static assertions. Done when node scripts/validate-adapters.mjs --warn adds no new warnings, scripts/regenerate-catalog.mjs has been run, and node scripts/adapter-count.mjs --check passes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

adapter-request good first issue help wanted

👋 A self-contained first contribution: one JSON adapter file, a spec and a logo. No need to know the rest of the codebase.

Why this one

In the last 30 days, 2 different workspaces on AnythingMCP Cloud searched the catalog for TGStat and found nothing. People want it; nobody has built it yet.

The API

Suggested first tools (read-only)

get channel info, get channel statistics, search posts, get a post's statistics. Read-only tools are enough for a first version; write tools can follow in a later PR.

How

Follow the six steps in AGENTS.md → Add an adapter and docs/tool-definition.md. The scaffold command for this one:

npm run adapter:new -- tgstat --region intl --auth QUERY_AUTH

Then node scripts/validate-adapters.mjs --warn, node scripts/regenerate-catalog.mjs, a intl/tgstat.live.spec.ts (static assertions always, live calls behind RUN_TGSTAT_LIVE=1), node scripts/adapter-count.mjs --check and the logo. The walkthrough and past examples are in #982.

Done when

  • The adapter validates without new warnings and the catalog is regenerated.
  • Every tool has a description an AI can act on (what it returns, when to use it) and a response mapping that keeps the useful fields.
  • The PR says which calls you ran against a real account, or that you could not and built it from the docs.

Claim it

Comment here to claim it. A claim without a PR for 14 days goes back to the pool, no hard feelings. Sign the CLA when the bot asks.

Lingua principale
TypeScript
Stelle
856
Fork
82
Merge medio
6h 34m
PR unite (30g)
362

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di HelpCode-ai/anythingmcp

Tutte le issue di HelpCode-ai/anythingmcp

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.