Skip to main content

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

Project description

ReSMS SDK for Python

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

Installation

pip install resms

Setup

You need to get an API key on ReSMS Dashboard. Then import the package and create a new instance of the ReSMS class with your API key.

import resms
resms.api_key = "your_api_key"

Usage

You can send a SMS using:

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

resms-0.3.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

resms-0.3.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file resms-0.3.1.tar.gz.

File metadata

  • Download URL: resms-0.3.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for resms-0.3.1.tar.gz
Algorithm Hash digest
SHA256 8aaa68055df2e98b777ab8cf1d405fd8183e768e0f056237f7e88b3041666249
MD5 b8a4dc092c299f5c3666fb579c70aff8
BLAKE2b-256 f0ed5b289bbb248776bd053bc500ba70f4ad18f8638177309912325e2bf71cdf

See more details on using hashes here.

File details

Details for the file resms-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: resms-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for resms-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7610117554f6a966f981b30ab957eea787f5fc10e4736fc3dd62b4138a37a989
MD5 690db75b5b3866dab466cb4d681317ce
BLAKE2b-256 b5e9a59998da50b560516a6848182fa4e9c6d5404aa9119054965f2078caa9d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page