Socket
Socket
Sign inDemoInstall

proovl-sms

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    proovl-sms

A Python library for sending SMS messages using Proovl API


Maintainers
1

Readme

proovl-sms

A Python library for sending SMS messages using Proovl API

Installation

Install using pip:

pip install proovl-sms

Parameters

The following parameters are required to send an SMS message:

  • user: Your Proovl API user ID. You can obtain this from your Proovl account.
  • token: Your Proovl API authentication token. You can obtain this from your Proovl account.
  • from_num: The sender's name or phone number. This must be registered with Proovl. Leave this blank if you want to use the default sender name.

Usage:

from proovl_sms import Proovl

# Initialize Proovl with your Proovl user, token, and from number
proovl = Proovl(user='your_proovl_user', token='your_proovl_token', from_num='your_from_number')

# Send a single SMS message
response = proovl.send_sms(destination='destination_number', message='Hello, world!')
print(response)

Bulk SMS:

from proovl_sms import Proovl

# Initialize Proovl with your Proovl user, token, and from numbers
proovl = Proovl(user='your_proovl_user', token='your_proovl_token', from_num='your_from_number')

# Send a bulk SMS message
results = proovl.send_bulk_sms(destinations='destination1;destination2;destination3;destination4;destination5', message='Hello, world!')
for result in results:
    print(result['number'], result['response'])

Credits

The proovl-sms package was developed by Tomas. You can obtain your own Proovl account and API credentials from proovl.com.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc