본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

line-api

2manslkh 제작

Web & Frontend Development
270clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

LINE messaging integration via Chrome extension gateway.

설명

이 스킬이 하는 일

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.

사용 시점

  • 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

예시 워크플로

입력

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

에이전트
  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

출력

Message delivered to the LINE contact

요구 사항

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

설치

clawhub install 2manslkh/line-api

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크