### Installing smsmanpy Library Source: https://github.com/smsmancom/smsmanpy/blob/main/README.md This command installs the `smsmanpy` library using pip, the Python package installer. It is the first step to integrate the Sms-Man API client into your Python project, ensuring all necessary dependencies are met. ```bash pip install smsmanpy ``` -------------------------------- ### Interacting with Sms-Man API using Python Client Source: https://github.com/smsmancom/smsmanpy/blob/main/README.md This comprehensive Python example demonstrates various functionalities of the `smsmanpy` client. It covers initializing the client with an API key, retrieving account balance, fetching service and country details, checking number limits, requesting single or multiple phone numbers, receiving SMS, and rejecting a number. An API key, obtained from sms-man.com, is required for authentication. ```python from smsmanpy import Smsman #To receive an API key, you need to register on the sms-man.com website. api_key = "api_key" client = Smsman(api_key) # Get current balance print(client.get_balance()) # Get information about all services print(client.get_all_services()) # Get information about all countries print(client.get_all_countries()) # Get the number of numbers for the selected country and service print(client.get_limits(country_id=1, application_id=1)) # Buy new number request_id, phone_number = client.request_phone_number(country_id=1, application_id=1) # Buy many numbers print(client.request_phone_numbers(country_id=1, application_id=1, amount=10)) # Receive a SMS to the number sms_code = client.get_sms('request_id') # Reject the number client.reject_number('request_id') ``` -------------------------------- ### Project Dependencies List - Python Source: https://github.com/smsmancom/smsmanpy/blob/main/requirements.txt This snippet specifies all Python packages and their exact versions required for the project. It is typically used with `pip install -r requirements.txt` to ensure a consistent development and deployment environment. ```Python aiohttp==3.8.4 aiosignal==1.3.1 async-timeout==4.0.2 attrs==23.1.0 bleach==6.0.0 certifi==2023.5.7 charset-normalizer==3.1.0 docutils==0.20.1 frozenlist==1.3.3 idna==3.4 importlib-metadata==6.6.0 jaraco.classes==3.2.3 keyring==23.13.1 markdown-it-py==3.0.0 mdurl==0.1.2 more-itertools==9.1.0 multidict==6.0.4 pkginfo==1.9.6 Pygments==2.15.1 readme-renderer==37.3 requests-toolbelt==1.0.0 rfc3986==2.0.0 rich==13.4.2 six==1.16.0 twine==4.0.2 urllib3==2.0.3 webencodings==0.5.1 yarl==1.9.2 zipp==3.15.0 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.