Python Client library for MKSms API
Project description
=========== MKSms Client
MKSms Client is a Python library written to handle/consume the MKSms API. Here is how to use::
#!/usr/bin/env python
from mksms.contact import Contact
from mksms.message import Message, Response
from mksms.client import Client
contact = Contact("600000000", "Name")
message = Message(contact, "Salut molah")
client = Client("830EA3BB2A", "73249341d85f566b6f2b8cef4563d6c149efe4df2b43f21776a6c9faf7f61af5")
resp = client.send_message(message)
self.assertEqual(resp.success, True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mksms-0.1.0.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for mksms-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5b62c3f6b2817d8c6d51ebc724e3044d44680548c43ac1eda1c3993575c4c8d |
|
MD5 | 62f21b138b04b663f26466aa697c8106 |
|
BLAKE2b-256 | d6948124c925ac2d20ef9d14ac67f4c5d68cc371d418c5b570f2c14d3e336dcb |