Code Monkey home page Code Monkey logo

python-sms-activate-ru's Introduction

python-sms-activate-ru

Описание на русском ниже

Wrapper for automatic reception of SMS-messages by sms-activate.ru

N|Solid

Installation

You can install or upgrade package with:

$ pip install smsactivateru --upgrade

Or you can install from source with:

$ git clone https://github.com/tezmen/python-sms-activate-ru
$ cd python-sms-activate-ru
$ python setup.py install

...or install from source but without pip:

$ pip install git+https://github.com/tezmen/python-sms-activate-ru

Example

from smsactivateru import Sms, SmsService, GetNumber

wrapper = Sms('API KEY')

activation = GetNumber(
	service=SmsService().Youla,
).request(wrapper)

input('Press enter if your sms was sent')

activation.was_sent().request(wrapper)
code = activation.wait_code(wrapper=wrapper)
print(code)

More examples located in /example/ dir


Библиотека на python для работы с api сервиса автоматического приёма смс – sms-activate.ru

N|Solid

Установка

Установка с помощью стандартного пакетного менеджера pip:

$ pip install smsactivateru --upgrade

Либо установка напрямую из репозитория, с ручной сборкой

$ git clone https://github.com/tezmen/python-sms-activate-ru
$ cd python-sms-activate-ru
$ python setup.py install

...либо установка через pip но из репозитория, минуя сервера pypi

$ pip install git+https://github.com/tezmen/python-sms-activate-ru

Простой пример

from smsactivateru import Sms, SmsService, GetNumber

wrapper = Sms('API KEY')

activation = GetNumber(
	service=SmsService().Youla,
).request(wrapper)

input('Press enter if you sms was sent')

activation.was_sent().request(wrapper)
code = activation.wait_code(wrapper=wrapper)
print(code)

Это пример использует встроенный обработчик. Вы можете вручную устанавливать статусы и управлять процессом, а так же много чего ещё. Больше примеров находится в папке /example/

python-sms-activate-ru's People

Contributors

akkez avatar tezmen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

python-sms-activate-ru's Issues

Suggestion

Suggestion Please add Netherlands to the country list

New Operator

Hello dear developer
Please i'm willing to use some operators as lycamobile and some other operators (RU country), i can't find it in the list of the library
How can I add it please ?

Thank you

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.