Skip to main content

luna alimtalk api package

Project description

luna-alimtalk

루나소프트 알림톡 API 패키지

  • 샘플 코드
import asyncio

from luna_alimtalk import Luna


async def main():
    luna = Luna(userid='유저 아이디', api_key='API 키')
    response = await luna.send_with_phone(
        contacts='010xxxxxxxx',
        template_id='템플릿 아이디',
        message='{name}님의 회원가입 정보 안내드립니다.\n\n{shop_name} ID : {user_id}\n\n{shop_name} {url}\n고객센터 {tel}',
        params={
                'name': '홍길동',
                'shop_name': '테스트',
                'user_id': 'hong44444',
                'url': 'https://test.co.kr',
                'tel': '010xxxxxxxx',
        },
        urls={
            'url_pc': 'https://test.co.kr',
            'url_mobile': 'https://test.co.kr',
        }
    )
    print(response.status_code)
    print(response.json())


if __name__ == '__main__':
    asyncio.run(main())

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

luna_alimtalk-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

luna_alimtalk-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file luna_alimtalk-0.1.0.tar.gz.

File metadata

  • Download URL: luna_alimtalk-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.8 Darwin/24.1.0

File hashes

Hashes for luna_alimtalk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 39a4390d079193a43726a97402b548582143df9e5c9a0e349ae0b5a9fd2f672a
MD5 0f8696da0f0c6493689cad984c1dac10
BLAKE2b-256 21d5ec328e6c092642d3e0b1d209238f7d9481438474b8772e8b56acea37fd82

See more details on using hashes here.

File details

Details for the file luna_alimtalk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: luna_alimtalk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.8 Darwin/24.1.0

File hashes

Hashes for luna_alimtalk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef4a731b547bce584e57b613aba7f5051276397bf4195f2f64cb8208b45910a7
MD5 0d0eefb9103341fde6678cf29b8ef556
BLAKE2b-256 ab8a47511095d359412cc8fd64c2cfcabfba1bc3f99b14afa2c9b2d8954177fe

See more details on using hashes here.

Supported by

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