Examples for Kandy.io REST API Python wrapper.
The following examples are present in this package.
- SMS.py
Send SMS to a mobile number via Kandy.
-
Open terminal window.
-
Install Kandy Python Library
We will download and install it from PyPI - The Python Package Index
Executepip install kandy
in terminal. -
Clone Kandy Python Library Examples
Executegit clone https://github.com/aharshac/KandyPyLibExamples.git
-
Change directory to KandyPyLibExamples
Executecd KandyPyLibExamples
in terminal. -
Add Kandy authentication and personal data to source file
SMS.py
.
- Substitute
<domain_api_key>, <domain_secret>, <user_id>
with data from Kandy Developer Dashboard - Replace
<source_phone_number>, <destination_phone_number>, <message>
with personal data.
- Run example.
Executepython SMS.py
in a terminal.