Saltar al contenido
TakoAPI
Volver a skills

line-client

por 2manslkh

Web & Frontend Development
336Descargas según clawskills.sh
3Estrellas
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 via LINE's Chrome extension JSON gateway. Supports sending and receiving messages, managing contacts and groups, handling reactions, and updating profiles. Authentication requires scanning a QR code in the LINE mobile app, with tokens valid for approximately 7 days.

LINE has no official API for personal accounts, and this library provides one of the few ways to automate personal LINE interactions without screen scraping.

Cuándo usarla

  • Automating LINE message sends from a Python script
  • Polling a LINE group chat for incoming messages
  • Looking up or adding LINE contacts by phone number
  • Marking conversations as read in bulk
  • Reacting to messages with emoji responses programmatically

Flujo de trabajo de ejemplo

ENTRADA

User asks: Send 'Meeting at 3pm' to a LINE contact with MID U1234abc

AGENTE
  1. 1

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

  2. 2

    Initialize LineChromeClient with the auth token

  3. 3

    Call client.send_message('U1234abc', 'Meeting at 3pm')

  4. 4

    Catch APIError(10051) if token is expired and prompt re-authentication via QR login

SALIDA

Message delivered to the specified LINE contact

Requisitos

  • lstm.wasm and lstmSandbox.js in repo root
  • LINE mobile app for QR code authentication

Instalación

clawhub install 2manslkh/line-client

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

Enlaces