Skip to main content

pure python library for sending kakaolinks

Project description

KakaoLink-Python

pip install kaling

https://pypi.org/project/kaling/

Send KakaoLink with pure Python

Fork of https://github.com/pl-Steve28-lq/KakaoLink-For-Python with performance and safety improvements

외부 사이트에서 encryption을 하면 제 비번으로 뭘하는지를 몰라서ㅜㅠ 보안과 속도를 위해 AES encryption을 외부 사이트가 아닌 내부에서 파이썬으로 하는 형식으로 고쳤습니다 이제 거의 즉시 메시지가 전송됩니다!

그리고 버튼에 걸수 있는 링크는 카카오데브에서 설정한 경로 내에 있어야 합니다

example

from kaling import Kakao

KakaoLink = Kakao('javascript key','website written on you kaling')
KakaoLink.login('login email', 'login password')

KakaoLink.send("room name",{
            "link_ver": "4.0",
            "template_object": {
                "object_type": "feed",
                "button_title": "",

                "content": {
                    "title": "이건 제목",
                    "image_url": "imageurl",
                    "link": {
                        "web_url": "",
                        "mobile_web_url": ""
                    },
                    "description": "이건 설명"
                },

                "buttons": [{
                    "title": "링크",
                    "link": {
                        "web_url": "url",
                        "mobile_web_url": "url"
                    }
                }]

            }
        })

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kaling-0.3.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

kaling-0.3.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file kaling-0.3.0.tar.gz.

File metadata

  • Download URL: kaling-0.3.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for kaling-0.3.0.tar.gz
Algorithm Hash digest
SHA256 609cda9119ccfdae01e3ecf973420fe3881c38d74aa0d13aae6a93e9a457ed64
MD5 789f9d3e6ec17a7ec24926e1ee692d76
BLAKE2b-256 ce90972ea7bdcc773cec6d7e548ff2edc0d76b1b95a4c2b7860faf90cd79fd7f

See more details on using hashes here.

File details

Details for the file kaling-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: kaling-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for kaling-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c274d935268b8301c3186ec510e30661a65706f092db76da27be7cb1d771fe9
MD5 3983b55a224fa833035dc8871e13f8b4
BLAKE2b-256 3e4b166098378feaf2b0bf7eb8dadc61c2c4d7df7bd0bf2ce34d3cb4c0b15b51

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page