{ "info": { "author": "scribesavant", "author_email": "scribesavant@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Education", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows :: Windows 10", "Programming Language :: Python :: 3" ], "description": "# FiveSim\n\nA simple Python API for 5sim.net\n#\n\n\n## Installation\n\nBefore proceeding, you should register an account on [5sim.net](https://5sim.net/) and [generate a personal API key](https://5sim.net/settings/security) to use. \n\nInstall from source:\n\n``` bash\npip install git+https://github.com/squirrelpython/5sim-python.git\n```\n\nAlternatively, install from [PyPI](https://pypi.org/project/5sim-python/):\n\n```bash\npip install 5sim-python\n```\n
\n\n#### Client \n\n```python\nfrom fivesim import FiveSim\n\n# These example values won't work. You must get your own api_key\nAPI_KEY = 'ey.............' \n\nclient = FiveSim(API_KEY) \n```\n#\n### Endpoints\nOfficial docs [here](https://docs.5sim.net/)\n#### User\n\n```python\n# Balance request\nclient.get_balance() # Provides profile data: email, balance and rating.\n```\n#### Products and prices\n```python\n\n# Products request\nclient.product_requests(country='russia', product='telegram') # To receive the name, the price, quantity of all products, available to buy.\n\n# Prices request\nclient.price_requests() # Returns product prices\n\n# Prices by country\nclient.price_requests_by_country(country='russia') # Returns product prices by country\n\n# Prices by product\nclient.price_requests_by_product(product='telegram') # Returns product prices by product\n\n# Prices by country and product\nclient.price_requests_by_country_and_product(country='russia' ,product='telegram') # Returns product prices by country and specific product\n```\n#### Purchase\n\n```python\n# Buy activation number\nclient.buy_number(country='russia', operator='any', product='telegram') # Buy new activation number\n\n# Buy hosting number\nclient.buy_hosting_number(country='russia', operator='any', product='amazon') # Buy new hosting number\n\n# Re-buy number\nclient.rebuy_number(product='telegram', number='7485.....') # Re-buy number \n```\n#### Order management\n```python\n# Check order (Get SMS)\nclient.check_order(order_id='12345678') # Check the sms was received\n\n# Finish order\nclient.finish_order(order_id='12345678') # Finish the order after code received\n\n# Cancel order\nclient.cancel_order(order_id='12345678') # Cancel the order\n\n# Ban order \nclient.ban_order(order_id='12345678') # Cancel the order if banned from the service\n\n# SMS inbox list\nclient.sms_inbox_list(order_id='12345678') # Get SMS inbox list by order's id.\n```\n\nPowered by [SquirrelPython](https://github.com/squirrelpython).\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/scribesavant/5sim-python", "keywords": "api 5sim", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "5sim-python", "package_url": "https://pypi.org/project/5sim-python/", "platform": null, "project_url": "https://pypi.org/project/5sim-python/", "project_urls": { "Homepage": "https://github.com/scribesavant/5sim-python" }, "release_url": "https://pypi.org/project/5sim-python/1.0.4/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "A simple Python API for 5sim.net", "version": "1.0.4", "yanked": false, "yanked_reason": null }, "last_serial": 21209682, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "blake2b_256": "fe0b83f402362d9e866e6b35a92107c3c1c8779f4c43f9a12e66ea792414edde", "md5": "8de2719b547ed635460cefaa112d277f", "sha256": "5c4d57031bc144d8bf442970014e38075f45bbf6d18e0700072466b707e27fb9" }, "downloads": -1, "filename": "5sim-python-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8de2719b547ed635460cefaa112d277f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4112, "upload_time": "2022-04-19T23:16:41", "upload_time_iso_8601": "2022-04-19T23:16:41.264466Z", "url": "https://files.pythonhosted.org/packages/fe/0b/83f402362d9e866e6b35a92107c3c1c8779f4c43f9a12e66ea792414edde/5sim-python-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "blake2b_256": "b7998a9c699474dc2f757cd7eb9bca5c5761ccf1fba672229129bed33eb6744e", "md5": "329f3c42d46c99ae5229da06046486e8", "sha256": "5f3cc7ec7339b52a32b483aee6778c59a565ee01aff11cbad2175a92167e4062" }, "downloads": -1, "filename": "5sim_python-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "329f3c42d46c99ae5229da06046486e8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4586, "upload_time": "2022-06-07T18:50:35", "upload_time_iso_8601": "2022-06-07T18:50:35.532179Z", "url": "https://files.pythonhosted.org/packages/b7/99/8a9c699474dc2f757cd7eb9bca5c5761ccf1fba672229129bed33eb6744e/5sim_python-1.0.1-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "a76d207e5d1276d89fb2a61b30a22e2f2b1f3551060b6008bb8af540fba0b861", "md5": "0bb0d3d845b7927e811834e18dc11033", "sha256": "7b3b9efe3638065b557d6bdda487212589a490658b69419485215db25a7708f1" }, "downloads": -1, "filename": "5sim-python-1.0.1.tar.gz", "has_sig": false, "md5_digest": "0bb0d3d845b7927e811834e18dc11033", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4099, "upload_time": "2022-06-07T18:50:37", "upload_time_iso_8601": "2022-06-07T18:50:37.821699Z", "url": "https://files.pythonhosted.org/packages/a7/6d/207e5d1276d89fb2a61b30a22e2f2b1f3551060b6008bb8af540fba0b861/5sim-python-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.2": [ { "comment_text": "", "digests": { "blake2b_256": "102ba543bca21d4bb77d5dbb8584a5ffd4e5e0db7722946520466e36cbab3be4", "md5": "f99f59d4b5567701b8c18688261ade6d", "sha256": "7d171676110c0bc7bb32c8710bcb05bff7178ec4af53b1f072fa21181eeb3d5c" }, "downloads": -1, "filename": "5sim_python-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f99f59d4b5567701b8c18688261ade6d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4644, "upload_time": "2022-06-07T18:53:55", "upload_time_iso_8601": "2022-06-07T18:53:55.813221Z", "url": "https://files.pythonhosted.org/packages/10/2b/a543bca21d4bb77d5dbb8584a5ffd4e5e0db7722946520466e36cbab3be4/5sim_python-1.0.2-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "656ace0f7072c4c6f0da5d93d3c0fe9a28d949229db9ef39b1935e5382f38eb2", "md5": "1490942245915f2d61ad92aa9d8c4439", "sha256": "d9c6f08a365fc57c60104518b3300ca0292066e7a7418114e2560eb4134a3b32" }, "downloads": -1, "filename": "5sim-python-1.0.2.tar.gz", "has_sig": false, "md5_digest": "1490942245915f2d61ad92aa9d8c4439", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4160, "upload_time": "2022-06-07T18:53:57", "upload_time_iso_8601": "2022-06-07T18:53:57.427864Z", "url": "https://files.pythonhosted.org/packages/65/6a/ce0f7072c4c6f0da5d93d3c0fe9a28d949229db9ef39b1935e5382f38eb2/5sim-python-1.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.3": [ { "comment_text": "", "digests": { "blake2b_256": "1c260391d06d1781f92cdf1439e2a642b0c57dcb4b6c32c02cb2f0cb7d26a4c0", "md5": "a09fe8fff52d2c801529e0128f4d7136", "sha256": "ec1e48a1e0c1cae6ffe4f8b8cd97a7ee58482ffe86f50caca3502e84f491d519" }, "downloads": -1, "filename": "5sim_python-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "a09fe8fff52d2c801529e0128f4d7136", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4637, "upload_time": "2022-11-10T08:54:44", "upload_time_iso_8601": "2022-11-10T08:54:44.317651Z", "url": "https://files.pythonhosted.org/packages/1c/26/0391d06d1781f92cdf1439e2a642b0c57dcb4b6c32c02cb2f0cb7d26a4c0/5sim_python-1.0.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "295ec14ec93e5284b88c6dec2cfb86a09e015a2eabe88f9d1a42af2140429e1b", "md5": "c5c81be01041a20bb73b54735c72bcc7", "sha256": "4e0d15d1e587013fa9cbce4f2124658e33327c086f18394c2337136db760b16e" }, "downloads": -1, "filename": "5sim-python-1.0.3.tar.gz", "has_sig": false, "md5_digest": "c5c81be01041a20bb73b54735c72bcc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4122, "upload_time": "2022-11-10T08:54:46", "upload_time_iso_8601": "2022-11-10T08:54:46.309472Z", "url": "https://files.pythonhosted.org/packages/29/5e/c14ec93e5284b88c6dec2cfb86a09e015a2eabe88f9d1a42af2140429e1b/5sim-python-1.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.4": [ { "comment_text": "", "digests": { "blake2b_256": "36fb203142f70326b0a3eb4a3387d89a4212d06dea311456a607d259803a9501", "md5": "9c1ce1226f326a510fd6e30043f97089", "sha256": "505cfb111aae6b3be0cc180cd5480df2d19473fdfd61861446eee9dcd59eb1e1" }, "downloads": -1, "filename": "5sim_python-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "9c1ce1226f326a510fd6e30043f97089", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4610, "upload_time": "2023-12-26T20:25:13", "upload_time_iso_8601": "2023-12-26T20:25:13.835567Z", "url": "https://files.pythonhosted.org/packages/36/fb/203142f70326b0a3eb4a3387d89a4212d06dea311456a607d259803a9501/5sim_python-1.0.4-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "39a61b1d9f87730b4f038069345a3fbec773569738da4e1cc872d46f4c3f71dc", "md5": "649a4a458dc7cfa186286ab3b32082a7", "sha256": "28c63acaa366cbfc0c17e08eeb2e3615fc62fd0a8fe6840d7bb2311ef8335313" }, "downloads": -1, "filename": "5sim-python-1.0.4.tar.gz", "has_sig": false, "md5_digest": "649a4a458dc7cfa186286ab3b32082a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4110, "upload_time": "2023-12-26T20:25:26", "upload_time_iso_8601": "2023-12-26T20:25:26.002705Z", "url": "https://files.pythonhosted.org/packages/39/a6/1b1d9f87730b4f038069345a3fbec773569738da4e1cc872d46f4c3f71dc/5sim-python-1.0.4.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "blake2b_256": "36fb203142f70326b0a3eb4a3387d89a4212d06dea311456a607d259803a9501", "md5": "9c1ce1226f326a510fd6e30043f97089", "sha256": "505cfb111aae6b3be0cc180cd5480df2d19473fdfd61861446eee9dcd59eb1e1" }, "downloads": -1, "filename": "5sim_python-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "9c1ce1226f326a510fd6e30043f97089", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4610, "upload_time": "2023-12-26T20:25:13", "upload_time_iso_8601": "2023-12-26T20:25:13.835567Z", "url": "https://files.pythonhosted.org/packages/36/fb/203142f70326b0a3eb4a3387d89a4212d06dea311456a607d259803a9501/5sim_python-1.0.4-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "39a61b1d9f87730b4f038069345a3fbec773569738da4e1cc872d46f4c3f71dc", "md5": "649a4a458dc7cfa186286ab3b32082a7", "sha256": "28c63acaa366cbfc0c17e08eeb2e3615fc62fd0a8fe6840d7bb2311ef8335313" }, "downloads": -1, "filename": "5sim-python-1.0.4.tar.gz", "has_sig": false, "md5_digest": "649a4a458dc7cfa186286ab3b32082a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4110, "upload_time": "2023-12-26T20:25:26", "upload_time_iso_8601": "2023-12-26T20:25:26.002705Z", "url": "https://files.pythonhosted.org/packages/39/a6/1b1d9f87730b4f038069345a3fbec773569738da4e1cc872d46f4c3f71dc/5sim-python-1.0.4.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }