Skip to content

💻 Command-line program to send a SMS with the Free Mobile API.

License

Notifications You must be signed in to change notification settings

raphaelyancey/freemobile-sms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

freemobile-sms 💻

Command-line program to send a SMS with the Free Mobile API. Should work with Python2 and Python3 thanks to future.

Install

$ pip install future
$ git clone https://github.com/raphaelyancey/freemobile-sms.git
$ cd freemobile-sms
$ chmod +x freemobile-sms.py
$ mv freemobile-sms.py /usr/local/bin/freemobile-sms

Usage

$ freemobile-sms -u [user ID] -k [API key] -m "Hello world!"
# or: freemobile-sms --user [user ID] --key [API key] --message "Hello world!"

Troubleshooting

Traceback (most recent call last):
  File "/usr/local/bin/freemobile-sms", line 34, in <module>
    from future.builtins import *
ImportError: No module named future.builtins

You installed future with the wrong pip: install future accordingly with the pip that matches the python -V version (like pip2 if python -V is 2.x).

TODO

  • Reading from a ~/.freemobile configuration file
  • Package for PyPi and easy installation with pip install freemobile-sms

About

💻 Command-line program to send a SMS with the Free Mobile API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages