onlinesimru


Nameonlinesimru JSON
Version 2.0.1 PyPI version JSON
download
home_pagehttps://github.com/s00d/onlinesim-python-api
SummaryWrapper for automatic reception of SMS-messages by onlinesim.ru
upload_time2023-02-06 06:48:58
maintainer
docs_urlNone
authors00d
requires_python
licenseApache License, Version 2.0, see LICENSE file
keywords sms revice onlinesim-ru autoreg
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Onlinesim Python API

Wrapper for automatic reception of SMS-messages by onlinesim.ru

[![N|Solid](https://img.shields.io/pypi/pyversions/onlinesimru.svg)](https://pypi.python.org/pypi/onlinesimru)
![Python publish](https://github.com/s00d/onlinesim-python-api/workflows/Python%20publish/badge.svg)

### 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

```python
from onlinesimru import FreeNumbersService, RentNumbersService, ProxyService, UserService, NumbersService


def main():
    client = UserService('YOUR_TOKEN')
    balance = client.balance()
    print(balance)


main()
```

### Example2

```python
from onlinesimru import FreeNumbersService, RentNumbersService, ProxyService, UserService, NumbersService


def main():
    numbers = NumbersService('YOUR_TOKEN')
    input('Press enter if you sms was sent')

    tzid = numbers.get('service')
    print(tzid)
    code = numbers.wait_code(tzid)
    print(code)


main()
```

### Example3

```python
# multiple driver using
from onlinesimru import Driver


def main():
    driver = Driver('YOUR_TOKEN')

    tzid = driver.numbers().get('service')
    print(tzid)
    code = driver.numbers().wait_code(tzid)
    print(code)


main()
```

## Documentation

All documentation is in the wiki of this project - **[Documentation](https://github.com/s00d/onlinesim-python-api/wiki)**

## Bugs

If you have any problems, please create Issues [here](https://github.com/s00d/onlinesim-python-api/issues)  



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/s00d/onlinesim-python-api",
    "name": "onlinesimru",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "sms,revice,onlinesim-ru,autoreg",
    "author": "s00d",
    "author_email": "suppport@onlinesim.ru",
    "download_url": "https://files.pythonhosted.org/packages/73/a3/74388fd276b92bcfcbd331fbee2880111ddc0bf08f0da69771b41c8acfb1/onlinesimru-2.0.1.tar.gz",
    "platform": null,
    "description": "# Onlinesim Python API\n\nWrapper for automatic reception of SMS-messages by onlinesim.ru\n\n[![N|Solid](https://img.shields.io/pypi/pyversions/onlinesimru.svg)](https://pypi.python.org/pypi/onlinesimru)\n![Python publish](https://github.com/s00d/onlinesim-python-api/workflows/Python%20publish/badge.svg)\n\n### Installation\nYou can install or upgrade package with:\n```\n$ pip install onlinesimru --upgrade\n```\nOr you can install from source with:\n```\n$ git clone https://github.com/s00d/onlinesim-python-api\n$ cd onlinesim-python-api\n$ python setup.py install\n```\n...or install from source buth with pip\n```\n$ pip install git+https://github.com/s00d/onlinesim-python-api\n```\n### Example\n\n```python\nfrom onlinesimru import FreeNumbersService, RentNumbersService, ProxyService, UserService, NumbersService\n\n\ndef main():\n    client = UserService('YOUR_TOKEN')\n    balance = client.balance()\n    print(balance)\n\n\nmain()\n```\n\n### Example2\n\n```python\nfrom onlinesimru import FreeNumbersService, RentNumbersService, ProxyService, UserService, NumbersService\n\n\ndef main():\n    numbers = NumbersService('YOUR_TOKEN')\n    input('Press enter if you sms was sent')\n\n    tzid = numbers.get('service')\n    print(tzid)\n    code = numbers.wait_code(tzid)\n    print(code)\n\n\nmain()\n```\n\n### Example3\n\n```python\n# multiple driver using\nfrom onlinesimru import Driver\n\n\ndef main():\n    driver = Driver('YOUR_TOKEN')\n\n    tzid = driver.numbers().get('service')\n    print(tzid)\n    code = driver.numbers().wait_code(tzid)\n    print(code)\n\n\nmain()\n```\n\n## Documentation\n\nAll documentation is in the wiki of this project - **[Documentation](https://github.com/s00d/onlinesim-python-api/wiki)**\n\n## Bugs\n\nIf you have any problems, please create Issues [here](https://github.com/s00d/onlinesim-python-api/issues)  \n\n\n",
    "bugtrack_url": null,
    "license": "Apache License, Version 2.0, see LICENSE file",
    "summary": "Wrapper for automatic reception of SMS-messages by onlinesim.ru",
    "version": "2.0.1",
    "split_keywords": [
        "sms",
        "revice",
        "onlinesim-ru",
        "autoreg"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "750725b7035d7ca3e20dda3dab8b4fe0141b1172c8516afdf6649bf608120861",
                "md5": "0ee7e1fe82bb8b46681b4c4ab7b5be13",
                "sha256": "54ef977eee2562e5de74d7f128040917412539795f34664d1941b663d5471235"
            },
            "downloads": -1,
            "filename": "onlinesimru-2.0.1-py3.9.egg",
            "has_sig": false,
            "md5_digest": "0ee7e1fe82bb8b46681b4c4ab7b5be13",
            "packagetype": "bdist_egg",
            "python_version": "2.0.1",
            "requires_python": null,
            "size": 9691,
            "upload_time": "2023-02-06T06:49:03",
            "upload_time_iso_8601": "2023-02-06T06:49:03.919023Z",
            "url": "https://files.pythonhosted.org/packages/75/07/25b7035d7ca3e20dda3dab8b4fe0141b1172c8516afdf6649bf608120861/onlinesimru-2.0.1-py3.9.egg",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "daa99c15f104de6efb7b5160cde324dd7167649c6cfdb80a534aec04604d4b7f",
                "md5": "c7dd02ed0889bb63d5fe3bd6e8aa4f6e",
                "sha256": "8dbb4a68ad52763510d3ee175afa05baa803055e83dc415fade8ba61f4546b20"
            },
            "downloads": -1,
            "filename": "onlinesimru-2.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c7dd02ed0889bb63d5fe3bd6e8aa4f6e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 9280,
            "upload_time": "2023-02-06T06:48:56",
            "upload_time_iso_8601": "2023-02-06T06:48:56.519046Z",
            "url": "https://files.pythonhosted.org/packages/da/a9/9c15f104de6efb7b5160cde324dd7167649c6cfdb80a534aec04604d4b7f/onlinesimru-2.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "73a374388fd276b92bcfcbd331fbee2880111ddc0bf08f0da69771b41c8acfb1",
                "md5": "1787eeb70415f2bd1029f1bc33d9a5c4",
                "sha256": "e0de4b57f67d9ce92828f61fd5c2c166d047d85e1653d48dd1c9ab314052c6da"
            },
            "downloads": -1,
            "filename": "onlinesimru-2.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "1787eeb70415f2bd1029f1bc33d9a5c4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8615,
            "upload_time": "2023-02-06T06:48:58",
            "upload_time_iso_8601": "2023-02-06T06:48:58.634089Z",
            "url": "https://files.pythonhosted.org/packages/73/a3/74388fd276b92bcfcbd331fbee2880111ddc0bf08f0da69771b41c8acfb1/onlinesimru-2.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-06 06:48:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "s00d",
    "github_project": "onlinesim-python-api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "onlinesimru"
}
        
Elapsed time: 0.41129s