{"id":21344462,"url":"https://github.com/s00d/onlinesim-python-api","last_synced_at":"2025-07-12T15:31:58.812Z","repository":{"id":37699113,"uuid":"285399497","full_name":"s00d/onlinesim-python-api","owner":"s00d","description":"Python Wrapper for automatic reception of SMS-messages by onlinesim.ru","archived":false,"fork":false,"pushed_at":"2023-02-22T09:06:28.000Z","size":45,"stargazers_count":30,"open_issues_count":2,"forks_count":17,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-01T21:27:39.465Z","etag":null,"topics":["api","onlinesim","proxy","python","rent","sms","sms-api"],"latest_commit_sha":null,"homepage":"https://onlinesim.ru","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s00d.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-05T20:41:29.000Z","updated_at":"2024-10-13T02:43:12.000Z","dependencies_parsed_at":"2022-09-26T16:20:31.667Z","dependency_job_id":null,"html_url":"https://github.com/s00d/onlinesim-python-api","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/s00d/onlinesim-python-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s00d%2Fonlinesim-python-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s00d%2Fonlinesim-python-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s00d%2Fonlinesim-python-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s00d%2Fonlinesim-python-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s00d","download_url":"https://codeload.github.com/s00d/onlinesim-python-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s00d%2Fonlinesim-python-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263814118,"owners_count":23515359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","onlinesim","proxy","python","rent","sms","sms-api"],"created_at":"2024-11-22T01:19:10.364Z","updated_at":"2025-07-12T15:31:58.555Z","avatar_url":"https://github.com/s00d.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs00d%2Fonlinesim-python-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs00d%2Fonlinesim-python-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs00d%2Fonlinesim-python-api/lists"}