Saltar al contenido
TakoAPI
Volver a skills

line-api

por 2manslkh

Web & Frontend Development
270Descargas según clawskills.sh
0Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

LINE messaging integration via Chrome extension gateway.

Descripción

Qué hace esta skill

Python client for the LINE messaging platform, connecting through the Chrome extension gateway (line-chrome-gw.line-apps.com). Covers sending and receiving messages, contacts, groups, reactions, and profile management. Authentication uses QR code login with tokens stored locally; sessions expire after roughly 7 days.

The Chrome gateway translates Thrift to JSON internally, so you interact with a clean REST/JSON interface instead of LINE's binary Thrift protocol.

Cuándo usarla

  • Sending automated LINE messages from a Python script
  • Monitoring a LINE group chat for incoming messages
  • Looking up LINE contacts by phone number
  • Reacting to messages in a conversation automatically
  • Managing group membership and invitations programmatically

Flujo de trabajo de ejemplo

ENTRADA

User asks: Send 'Meeting at 3pm' to a LINE contact by their user ID

AGENTE
  1. 1

    Load auth token from ~/.line-client/tokens.json

  2. 2

    Initialize LineChromeClient with the auth token

  3. 3

    Call find_contact_by_userid() with the LINE user ID to resolve their MID

  4. 4

    Call send_message() with the MID and message text

SALIDA

Message delivered to the LINE contact

Requisitos

  • LINE account with mobile app for QR login
  • lstm.wasm and lstmSandbox.js files in repo root

Instalación

clawhub install 2manslkh/line-api

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces