Metadata-Version: 2.4
Name: resms
Version: 0.3.2
Summary: Python SDK for ReSMS, a simple and powerful SMS API.
Project-URL: Documentation, https://github.com/resms/resms-python#readme
Project-URL: Issues, https://github.com/resms/resms-python/issues
Project-URL: Source, https://github.com/resms/resms-python
Author-email: louanbel <louanbelicaud63@gmail.com>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.9
Requires-Dist: requests>=2.32.4
Provides-Extra: dev
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Requires-Dist: types-requests; extra == 'dev'
Description-Content-Type: text/markdown

# ReSMS SDK for Python
Python SDK for ReSMS, a simple and powerful SMS API.

## Installation

```bash
pip install resms
```

## Setup
You need to get an API key on [ReSMS Dashboard](https://resms.dev/dashboard).
Then import the package and create a new instance of the `ReSMS` class with your API key.

```python
import resms
resms.api_key = "your_api_key"
```

## Usage
You can send a SMS using:
```python
resms.sms.send(to="+33123456789", message="Code 123456", senderId="ReSMS")
```

You can send an OTP using:
```
resms.otp.send(to="+33123456789", message="Your OTP is {CODE}", senderId="ReSMS")
```

## Documentation
The full documentation is available at [docs.resms.dev](https://docs.resms.dev/python).

## License
This project is licensed under the MIT License.

## Note
This is a simple SDK for ReSMS. More features and improvements will be added in the future. If you have any suggestions or issues, please tell us on our discord server: [Discord](https://discord.gg/EasHpu2qTj).