Name | fivesim JSON |
Version |
1.2.0
JSON |
| download |
home_page | None |
Summary | Python API client for 5sim.net |
upload_time | 2024-05-02 21:33:44 |
maintainer | None |
docs_url | None |
author | Erik Pellizzon |
requires_python | >=3.6 |
license | MIT License Copyright (c) 2022 Erik Pellizzon Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
number
telephone-numbers
5sim
fivesim
python-5sim
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 5sim
At the moment this is the most advanced FiveSim API library, and tries to map responses to Python objects as much as possible.
This library is unofficial and is not directly linked to the website in question.
It was created out of need to use their API easily, without having to handle all possible cases in the application.
## Install
```
pip install fivesim
```
## Introduction
5SIM is a service for receiving SMS and activating accounts on any site that require SMS verification, without using your personal number to avoid spam in future.
When registering on social networks, messengers and on other sites, an SMS verification of account is required. 5SIM provides the opportunity to bypass SMS verification procedure with the help of a temporary virtual phone number without using the personal one. By purchasing virtual numbers for SMS receiving and for activating any site or app, you will register many profiles on websites by receiving a confirmation code online.
## 5SIM Features
- You can get SMS online 24/7. This is a fully automated service: the receipt of a text message with a verification code happens instantaneously.
- Receive an unlimited quantity of messages from the selected site or app. Herewith, the cost of one SMS number starts from 0,014$, and you’ll not have to pay monthly rates of mobile operators.
- Use foreign virtual numbers from more than 180 countries all over the world. Practically you can find mobile numbers for registration of almost any country, including the UK, Russia, Sweden, Germany, Ukraine, France, India, Indonesia, Malaysia, Cambodia, Mongolia, Nicaragua, Canada, the USA, Thailand, the Philippines, Ethiopia and others.
- Top up the balance with a minimum commission on the website (Visa/MasterCard/MIR, Alipay, Apple Pay, Google Play, Samsung Pay and others).
- Register accounts automatically via the API.
## Rating System
Actual rating is displayed in account settings, tab "General".
Initial rating for new users is 96 points.
Highest possible rating is 96 points.
| Action | Rating (points) |
|-------------------------------------------------|-----------------|
| Add money into account | +8.0 |
| Receive sms and finish the order before timeout | +0.5 |
| Automatic completed order after timeout | +0.4 |
| Cancel | -0.1 |
| Ban number | -0.1 |
| Timeout | -0.15 |
If rating drops to zero, you will not be able order within 24 hours. After 24 hours, rating will return to initial value of 96 points.
## Examples
### Buy a number
```python
from fivesim import FiveSim, Country, Operator, FiveSimError
if __name__ == "__main__":
client = FiveSim(api_key="YOUR_5SIM_API_KEY")
try:
result = client.user.buy_number(
country=Country.ARMENIA,
operator=Operator.ANY_OPERATOR,
product=ActivationProduct.EBAY
)
code = result.sms[0].activation_code
print(code)
except FiveSimError as e:
print(e)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "fivesim",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "number, telephone-numbers, 5sim, fivesim, python-5sim",
"author": "Erik Pellizzon",
"author_email": "erikpellizzon@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/98/d4/85f1ba473c92c94d8a84035c6ee27aeb1c52df1251a92036bb4fcd66f05a/fivesim-1.2.0.tar.gz",
"platform": null,
"description": "# 5sim\r\nAt the moment this is the most advanced FiveSim API library, and tries to map responses to Python objects as much as possible.\r\n\r\nThis library is unofficial and is not directly linked to the website in question.\r\n\r\nIt was created out of need to use their API easily, without having to handle all possible cases in the application.\r\n\r\n## Install\r\n```\r\npip install fivesim\r\n```\r\n\r\n## Introduction\r\n5SIM is a service for receiving SMS and activating accounts on any site that require SMS verification, without using your personal number to avoid spam in future.\r\n\r\nWhen registering on social networks, messengers and on other sites, an SMS verification of account is required. 5SIM provides the opportunity to bypass SMS verification procedure with the help of a temporary virtual phone number without using the personal one. By purchasing virtual numbers for SMS receiving and for activating any site or app, you will register many profiles on websites by receiving a confirmation code online.\r\n\r\n## 5SIM Features\r\n- You can get SMS online 24/7. This is a fully automated service: the receipt of a text message with a verification code happens instantaneously.\r\n- Receive an unlimited quantity of messages from the selected site or app. Herewith, the cost of one SMS number starts from 0,014$, and you\u2019ll not have to pay monthly rates of mobile operators.\r\n- Use foreign virtual numbers from more than 180 countries all over the world. Practically you can find mobile numbers for registration of almost any country, including the UK, Russia, Sweden, Germany, Ukraine, France, India, Indonesia, Malaysia, Cambodia, Mongolia, Nicaragua, Canada, the USA, Thailand, the Philippines, Ethiopia and others.\r\n- Top up the balance with a minimum commission on the website (Visa/MasterCard/MIR, Alipay, Apple Pay, Google Play, Samsung Pay and others).\r\n- Register accounts automatically via the API.\r\n\r\n## Rating System\r\nActual rating is displayed in account settings, tab \"General\".\r\n\r\nInitial rating for new users is 96 points.\r\n\r\nHighest possible rating is 96 points.\r\n\r\n| Action | Rating (points) |\r\n|-------------------------------------------------|-----------------|\r\n| Add money into account | +8.0 |\r\n| Receive sms and finish the order before timeout | +0.5 |\r\n| Automatic completed order after timeout | +0.4 |\r\n| Cancel | -0.1 |\r\n| Ban number | -0.1 |\r\n| Timeout | -0.15 |\r\n\r\nIf rating drops to zero, you will not be able order within 24 hours. After 24 hours, rating will return to initial value of 96 points.\r\n\r\n## Examples\r\n\r\n### Buy a number\r\n```python\r\nfrom fivesim import FiveSim, Country, Operator, FiveSimError\r\n\r\nif __name__ == \"__main__\":\r\n client = FiveSim(api_key=\"YOUR_5SIM_API_KEY\")\r\n try:\r\n result = client.user.buy_number(\r\n country=Country.ARMENIA,\r\n operator=Operator.ANY_OPERATOR,\r\n product=ActivationProduct.EBAY\r\n )\r\n code = result.sms[0].activation_code\r\n print(code)\r\n except FiveSimError as e:\r\n print(e)\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2022 Erik Pellizzon Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "Python API client for 5sim.net",
"version": "1.2.0",
"project_urls": {
"documentation": "https://docs.5sim.net",
"repository": "https://github.com/ErikPelli/fivesim"
},
"split_keywords": [
"number",
" telephone-numbers",
" 5sim",
" fivesim",
" python-5sim"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "74baf95cab9c98eceed8e9e35e2d287f74cab8dd603156e73bedcc886e25f7de",
"md5": "9b77ef993b6a1822ab25a22c696fca91",
"sha256": "792db8c35ba9be8cf86da664a40b59cd9037da94a72d3428d1c05c0cafc39391"
},
"downloads": -1,
"filename": "fivesim-1.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9b77ef993b6a1822ab25a22c696fca91",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 21992,
"upload_time": "2024-05-02T21:33:43",
"upload_time_iso_8601": "2024-05-02T21:33:43.305163Z",
"url": "https://files.pythonhosted.org/packages/74/ba/f95cab9c98eceed8e9e35e2d287f74cab8dd603156e73bedcc886e25f7de/fivesim-1.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "98d485f1ba473c92c94d8a84035c6ee27aeb1c52df1251a92036bb4fcd66f05a",
"md5": "3a0a7e331144c795df060e814e744f60",
"sha256": "98bda68c3fdbfcc1dae1165deb1198e0e86a204a7a61680b5cccf4193c608cf8"
},
"downloads": -1,
"filename": "fivesim-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "3a0a7e331144c795df060e814e744f60",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 21927,
"upload_time": "2024-05-02T21:33:44",
"upload_time_iso_8601": "2024-05-02T21:33:44.380387Z",
"url": "https://files.pythonhosted.org/packages/98/d4/85f1ba473c92c94d8a84035c6ee27aeb1c52df1251a92036bb4fcd66f05a/fivesim-1.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-02 21:33:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ErikPelli",
"github_project": "fivesim",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "fivesim"
}