Skip to content

jkrgr/loltel-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Create auth token

Signup for loltel and get your token at https://docs.loltelapi.com/#authentication-tokens

Set environmanet variables

echo "export LOLTEL_ACCESS_TOKEN='YOUR_API_KEY'" > loltel.env
echo "export LOLTEL_MSISDN='MSISDN'" >> loltel.env
source ./loltel.env  # or . ./loltel.env

Usage

Import the loltel module and construct a client object:

import loltel


client = loltel.Client()
response = client.send_sms(message='Goodbye, GSM!', to='47XXXXXXXX')
print response

About

Python client for the LOLTEL API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages