Go to file
C-Duv 0105907e20 Adds meaning about configuration variables in README
This commit explains, in the README, what each configuration variable do.
2017-02-11 15:18:18 +01:00
LICENSE Initial commit 2014-06-11 22:59:52 +02:00
README.md Adds meaning about configuration variables in README 2017-02-11 15:18:18 +01:00
send-notification.sh Adds "-h" option to display usage guide 2017-02-11 15:02:15 +01:00

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

See send-notification.sh -h.

Configuration :

Script can be configured Edit send-notification.sh and set the following variables:

  • USER_LOGIN: The login to use the API.
  • API_KEY: The secret key associated to USER_LOGIN.
  • MESSAGE_HEADER (Optional): Will be prepended to all the messages.
  • MESSAGE_FOOTER (Optional): Will be appended to all the messages.
  • NEWLINE_CHAR (Optional): Char to use to create a new line (it depends on receiving terminal).

PHP Client

Soon