Skip to main content
https://travis-ci.org/james-song/aligo-rest-client-python.svg?branch=master

Python 사용자를 위한 Aligo REST API 모듈입니다.

  • 공식 client가 아닌 관계로 이용 중 발생한 문제에 대해 책임지지 않습니다.

설치

pip install aligo-rest-client

기능

  • SMS 발송

  • LMS 발송

  • MMS 발송

  • 상세전송 결과 확인

  • 발송가능 건수 확인

  • 일부 에러코드 Exception 랩핑

사용법

초기화

from aligo.client import Aligo

client = Aligo(
    auth_key={발급받은 API },
    user_id={사용자 계정},
    is_test={테스트 모드 여부 True|False}
)

발송

client.sms_send(sender='01012341234', receiver='01012341234', msg='테스트 메시지')

client.lms_send(sender='01012341234', receiver='01012341234',
    msg='테스트 메시지', title='테스트 타이틀')

client.mms_send(sender='01012341234', receiver='01012341234',
    msg='테스트 메시지', title='테스트 타이틀', image={이미지 데이터})

상세전송 결과 확인

client.status(msg_id={발송후 전달받은 메시지 아이디})

발송가능 건수 확인

client.remain()

개발환경 및 테스트 설정

pip install requests

할 일

  • 전송내역조회

  • 테스트

  • 문서화

Release files for aligo-rest-client 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aligo-rest-client 0.0.2
File Size Uploaded
aligo-rest-client-0.0.2.tar.gz 3.2 kB Details

Release files / aligo-rest-client-0.0.2.tar.gz

Download URL aligo-rest-client-0.0.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f9ed3d1f7f0f51635ce21eaca9b0792c85c1e6604203314f9b4dea8c51f5b735
BLAKE2b-256 checksum
How to use checksums
38f2b1e2ab2c2514c2fc84f83eacae486693d10bb9656e39201c8347172d43e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page