perara-libs / py-pulse-sms-api

A unofficial API for pulse-sms in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

py-pulse-sms-api Python package

A unofficial API for pulse-sms in python.

Install

pip install git+https://github.com/perara-libs/py-pulse-sms-api.git

Usage

from pulsesms import PulseSMSAPI

api = PulseSMSAPI(username=os.getenv("PULSESMS_USERNAME"), password=os.getenv("PULSESMS_PASSWORD"))
api.login()

print(api.settings())
print(api.get_conversations())
print(api.get_unread_messages())
print(api.get_archived_messages())
print(api.scheduled_messages())
print(api.templates())
print(api.blacklists())
for conv in api.get_conversations():
    print(api.get_messages(conversation_id=conv["device_id"]))

About

A unofficial API for pulse-sms in python

License:MIT License


Languages

Language:Python 100.0%