GithubHelp home page GithubHelp logo

rfetion's Introduction

rfetion

rfetion is a ruby gem for China Mobile fetion service that you can send SMS free.


Demo

see http://fetion.heroku.com


Install


gem sources -a http://gemcutter.org
gem install rfetion

Usage

send sms to yourself


Fetion.send_sms_to_self(mobile_no, password, content)

send sms to friends


Fetion.send_sms_to_friends(mobile_no, password, friends_mobile_or_fetion_number, content)

add friend


Fetion.add_buddy(mobile_no, password, friend_mobile)


Shell command

you can use it in shell command directly


Usage: rfetion [options]
    Example: rfetion -m mobile -p password -f friends_mobile_or_fetion_number -c sms_content

             rfetion -m mobile -p password -a friend_mobile

    -m, --mobile MOBILE              Fetion mobile number
    -p, --password PASSWORD          Fetion password
    -c, --content CONTENT            Fetion message content
    -f, --friends MOBILE,FETION      (optional) Fetion friends mobile number or fetion number, if no friends mobile number and fetion number, send message to yourself
    -a, --add_buddy MOBILE           Add friend mobile as fetion friend
different mode:
        --debug                      debug mode
        --silence                    silence mode
Common options:
    -h, --help                       Show this message

Copyright © 2009 Richard Huang ([email protected]), released under the MIT license

rfetion's People

Contributors

flyerhzm avatar

Stargazers

cjp avatar Alvin Ye 叶冬开 avatar

Watchers

Alvin Ye 叶冬开 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.