python-parsnip

Parsnip is a basic Python interface to allow the sending of web texts via the main 4 Irish mobile opera...
Download

python-parsnip Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Timmy O'Mahony
  • Publisher web site:
  • https://github.com/timmyomahony/

python-parsnip Tags


python-parsnip Description

python-parsnip is a basic Python interface to allow the sending of web texts via the main 4 Irish mobile operators websites. It is influenced by cabbage, a popular php implementation.Install pip install -e git+https://github.com/timmyomahony/python-parsnip.git#egg=parsnipUsage import parsnip texter = parsnip.get_webtexter("Meteor", "0851111111", "1234") texter.login() texter.send("Heyo", ) print texter.get_remaining_webtexts() 255 texter.logout()* `get_webtexter(operator, phone_number, online_pin)` : is a factory method which returns an instance of `Webtexter`.* A webtexter instance has the following methods: * `login()` : login to remote operator site * `logout()` : clear cookies and perform logout on remote operator site * `send(message, recipients)` : sends a web text to the provided recipients, where `recipient` is either a comma separated string of phone numbers, or a list of phone numbers. * `get_remaining_webtexts` : returns an integerProduct's homepage


python-parsnip Related Software