1e7da3c883
Due to how stdin is read, the message gets a trailing "\n". sed was used to remove it but this commit use shell variable mangling "${var%Pattern}" instead (faster and nicer). |
||
---|---|---|
LICENSE | ||
README.md | ||
send-notification.sh |
freemobile-smsapi-client
API client for the Free Mobile SMS notification service
Theses clients send SMS notifications via Free Mobile mobile broadband company native SMS-notification API. This service can only send SMS to line's owner: it cannot be used to send SMS to any mobile number, group or massive spam.
Shell Client
Possible usages:
send-notification.sh "All your base are belong to us"
uptime | send-notification.sh
Configuration :
Edit send-notification.sh
and set the following variables:
USER_LOGIN
API_KEY
MESSAGE_HEADER
(Optional)MESSAGE_FOOTER
(Optional)
PHP Client
Soon