Skip to main content

InTime SDK

The objective of InTime SDK is to create, configure, and manage InTime services, such as Creating and Sending SMS's. The SDK provides an object-oriented API as well as low-level access to InTime services.

Installation

pip install intime-sdk

InTime SDK supports Python 3.6+.

Documentation

Instantiate the Messages class to send SMS

from intime_sdk import Messages


# initialize the Message class with required params
Messages(username='your-username', secret_key='your-secret-key').send_sms(
            sender_title="test-sender",
            message_body="Hello from Intime!!",
            recipients=["+123456789"],
            group_id="1",

)

Parameter Definition

send_sms()

:param sender_title: (String) Sender of the message. Use maximum 11 alphanumeric characters or 15 numeric chars.
 Allowed alphanumeric chars is aA-zZ, 0-9, space, .(dot), -(binding char), or +(plus).
 Only English characters are allowed.

:param message_body: (String) Message text.
 SMS is allowed to contain a maximum of 160 characters. Multi-SMS is allowed to contain a maximum of
 804 characters (6 SMS with 134 characters each).

:param recipients: (List) Phone number of the recipients to receive the message. At least one recipient or group
 must be addressed.

:param group_id: (String) The groups Identification number.

:param is_flash_msg: (Boolean | Default: False) If this parameter is set to True, method will send a Flash
 message (maximum 160 characters) and otherwise it will send a Normal message.

:param is_multi_sms: (Boolean | Default: False) If this parameter is set to True, method will send send up to
 six SMS or 804 characters and otherwise it will send a Normal message.

:param send_date: (Optional; String | Default: None) Date/time for scheduled sending, If the message is to be
 sent directly/right now, ignore this parameter. (Format: 2012-01-13T14:41:00)

:param status_url: (Optional; String | Default: None) URL for the server to send message status callbacks.

:param check_block_list: (Boolean | Default: False) If this parameter is set to True, method will check
 the user's block list for group mailings.

:param encrypt_msg: (Boolean | Default: False) Flag that indicates whether the message should be encrypted after
 it's sent. Sent messages cannot be read in Messenger.

:param trans_id: (Optional; String | Default: None) Value to send to the status url with the callback, this
 could be a uniq id generated for each recipient and used in callback to link the status callback.
 This is mandatory if status_url is used!    

Release files for intime-sdk 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for intime-sdk 1.0.2
File Size Uploaded
intime-sdk-1.0.2.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for intime-sdk 1.0.2
File Interpreter ABI Platform
intime_sdk-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / intime-sdk-1.0.2.tar.gz

Download URL intime-sdk-1.0.2.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ad933afc83ca8a7954b6edafe5e2f716a3edcd720cd8416d8d3b23a6c5a58b2b
BLAKE2b-256 checksum
How to use checksums
02483505e3475b62532c1dfe4957b77b4f677ff715d84caedb326390a91766c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.1

Release files / intime_sdk-1.0.2-py3-none-any.whl

Download URL intime_sdk-1.0.2-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77c7e27ac5b6ab2978d6b9cd34921aa6ebd37e9a97f51a141d8018e7b2e45090
BLAKE2b-256 checksum
How to use checksums
4a2b34c60fbdcf136cb097cbebf2f7951f91b4a896c6836a7f74dcdb79e6e655
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.1

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page