Wrapper for automatic reception of SMS-messages by onlinesim.ru
Project description
Onlinesim Python API
Wrapper for automatic reception of SMS-messages by onlinesim.ru
Installation
You can install or upgrade package with:
$ pip install onlinesimru --upgrade
Or you can install from source with:
$ git clone https://github.com/s00d/onlinesim-python-api
$ cd onlinesim-python-api
$ python setup.py install
...or install from source buth with pip
$ pip install git+https://github.com/s00d/onlinesim-python-api
Example
from onlinesimru import GetFree, GetRent, GetProxy, GetForward, GetUser, GetNumbers
def main():
client = GetUser('YOUR_TOKEN')
balance = client.balance()
print(balance)
main()
Example2
from onlinesimru import GetFree, GetRent, GetProxy, GetForward, GetUser, GetNumbers
def main():
numbers = GetNumbers('YOUR_TOKEN')
input('Press enter if you sms was sent')
tzid = numbers.get('service')
print(tzid)
code = numbers.wait_code(tzid)
print(code)
main()
Documentation
All documentation is in the wiki of this project - Documentation
Bugs
If you have any problems, please create Issues here https://github.com/s00d/onlinesim-python-api/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
onlinesimru-1.0.1.tar.gz
(7.2 kB
view hashes)
Built Distributions
onlinesimru-1.0.1-py3.8.egg
(17.8 kB
view hashes)
onlinesimru-1.0.1-py2.7.egg
(8.0 kB
view hashes)
Close
Hashes for onlinesimru-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b55906151dfad9f5afb607ed69a036163abf19f51513125c0a8d098311e3fbea |
|
MD5 | dd0e32d793b2e0459df7ec987a324613 |
|
BLAKE2b-256 | 9095d877da212d8c5f6c6188e7439d65de45482d7d950eea90a0914fd4dd312e |