कंटेंट पर जाएँ
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक