.. image:: https://raw.github.com/TeleSign/python_telesign/master/python_banner.jpg
:target: https://standard.telesign.com
.. image:: https://img.shields.io/travis/TeleSign/python_telesign.svg
:target: https://travis-ci.org/TeleSign/python_telesign
.. image:: https://img.shields.io/codecov/c/github/TeleSign/python_telesign.svg
:target: https://codecov.io/gh/TeleSign/python_telesign
.. image:: https://img.shields.io/pypi/v/telesign.svg
:target: https://pypi.python.org/pypi/telesign
.. image:: https://img.shields.io/pypi/l/telesign.svg
:target: https://github.com/TeleSign/python_telesign/blob/master/LICENSE
===================
TeleSign Python SDK
===================
TeleSign is a communications platform as a service (CPaaS) company, founded on security. Since 2005, TeleSign has
been a trusted partner to the world’s leading websites and mobile applications, helping secure billions of end-user
accounts. Today, TeleSign’s data-driven, cloud communications platform is changing the way businesses engage with
customers and prevent fraud.
For more information about TeleSign, visit our `website <http://www.TeleSign.com>`_.
Documentation
-------------
Code documentation is included in the SDK. Complete documentation, quick start guides and reference material
for the TeleSign API is available within the `TeleSign Standard Documentation <https://standard.telesign.com/>`_.
Installation
------------
To install the TeleSign Python SDK:
.. code-block:: bash
$ pip install telesign
Python **2.7+** is required for the TeleSign Python SDK.
Authentication
--------------
You will need a Customer ID and API Key in order to use TeleSign’s API. If you already have an account you can retrieve
them from your account dashboard within the `Portal <https://portal.telesign.com/login>`_. If you have not signed up
yet, sign up `here <https://portal.telesign.com/signup>`_.
Dependencies
------------
We make use of popular, feature-rich and well-tested open-source libraries to perform the underlying functionality of
the SDK. These dependencies are managed by the community accepted package manager. If you are unable to add these
additional third party dependencies to your project we have ensured that the SDK code is easy to read and can serve as
sample code. We have also made sure that more complicated functions such as generate_telesign_headers can be easily
extracted from the SDK and used 'as is' in your project.
Python Code Example: Messaging
------------------------------
Here is a basic code example with the JSON response.
.. code-block:: python
from __future__ import print_function
from telesign.messaging import MessagingClient
customer_id = "FFFFFFFF-EEEE-DDDD-1234-AB1234567890"
api_key = "EXAMPLE----TE8sTgg45yusumoN6BYsBVkh+yRJ5czgsnCehZaOYldPJdmFh6NeX8kunZ2zU1YWaUw/0wV6xfw=="
phone_number = "phone_number"
message = "You're scheduled for a dentist appointment at 2:30PM."
message_type = "ARN"
messaging_client = MessagingClient(customer_id, api_key)
response = messaging_client.message(phone_number, message, message_type)
print(response.json)
.. code-block:: javascript
{'reference_id': 'DGFDF6E11AB86303ASDFD425BE00000657',
'status': {'code': 103,
'description': 'Call in progress',
'updated_on': '2016-12-12T00:39:58.325559Z'}}
For more examples, see the `examples <https://github.com/TeleSign/python_telesign/tree/master/examples>`_ folder or
visit the `TeleSign Standard Documentation <https://standard.telesign.com/>`_.
Raw data
{
"_id": null,
"home_page": "https://github.com/telesign/python_telesign",
"name": "telesign",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "telesign, sms, voice, mobile, authentication, identity, messaging",
"author": "TeleSign Corp.",
"author_email": "support@telesign.com",
"download_url": "https://files.pythonhosted.org/packages/37/31/360fab0237cfea41834af81b430f3ad1a18d924c30a9dcf0c82b7b3bf28a/telesign-2.2.5.tar.gz",
"platform": null,
"description": ".. image:: https://raw.github.com/TeleSign/python_telesign/master/python_banner.jpg\n :target: https://standard.telesign.com\n\n.. image:: https://img.shields.io/travis/TeleSign/python_telesign.svg\n :target: https://travis-ci.org/TeleSign/python_telesign\n\n.. image:: https://img.shields.io/codecov/c/github/TeleSign/python_telesign.svg\n :target: https://codecov.io/gh/TeleSign/python_telesign\n\n.. image:: https://img.shields.io/pypi/v/telesign.svg\n :target: https://pypi.python.org/pypi/telesign\n\n.. image:: https://img.shields.io/pypi/l/telesign.svg\n :target: https://github.com/TeleSign/python_telesign/blob/master/LICENSE\n\n===================\nTeleSign Python SDK\n===================\n\nTeleSign is a communications platform as a service (CPaaS) company, founded on security. Since 2005, TeleSign has\nbeen a trusted partner to the world\u2019s leading websites and mobile applications, helping secure billions of end-user\naccounts. Today, TeleSign\u2019s data-driven, cloud communications platform is changing the way businesses engage with\ncustomers and prevent fraud.\n\nFor more information about TeleSign, visit our `website <http://www.TeleSign.com>`_.\n\nDocumentation\n-------------\n\nCode documentation is included in the SDK. Complete documentation, quick start guides and reference material\nfor the TeleSign API is available within the `TeleSign Standard Documentation <https://standard.telesign.com/>`_.\n\nInstallation\n------------\n\nTo install the TeleSign Python SDK:\n\n.. code-block:: bash\n\n $ pip install telesign\n\nPython **2.7+** is required for the TeleSign Python SDK.\n\nAuthentication\n--------------\n\nYou will need a Customer ID and API Key in order to use TeleSign\u2019s API. If you already have an account you can retrieve\nthem from your account dashboard within the `Portal <https://portal.telesign.com/login>`_. If you have not signed up\nyet, sign up `here <https://portal.telesign.com/signup>`_.\n\nDependencies\n------------\n\nWe make use of popular, feature-rich and well-tested open-source libraries to perform the underlying functionality of\nthe SDK. These dependencies are managed by the community accepted package manager. If you are unable to add these\nadditional third party dependencies to your project we have ensured that the SDK code is easy to read and can serve as\nsample code. We have also made sure that more complicated functions such as generate_telesign_headers can be easily\nextracted from the SDK and used 'as is' in your project.\n\nPython Code Example: Messaging\n------------------------------\n\nHere is a basic code example with the JSON response.\n\n.. code-block:: python\n\n from __future__ import print_function\n from telesign.messaging import MessagingClient\n\n customer_id = \"FFFFFFFF-EEEE-DDDD-1234-AB1234567890\"\n api_key = \"EXAMPLE----TE8sTgg45yusumoN6BYsBVkh+yRJ5czgsnCehZaOYldPJdmFh6NeX8kunZ2zU1YWaUw/0wV6xfw==\"\n\n phone_number = \"phone_number\"\n message = \"You're scheduled for a dentist appointment at 2:30PM.\"\n message_type = \"ARN\"\n\n messaging_client = MessagingClient(customer_id, api_key)\n response = messaging_client.message(phone_number, message, message_type)\n\n print(response.json)\n\n.. code-block:: javascript\n\n {'reference_id': 'DGFDF6E11AB86303ASDFD425BE00000657',\n 'status': {'code': 103,\n 'description': 'Call in progress',\n 'updated_on': '2016-12-12T00:39:58.325559Z'}}\n\nFor more examples, see the `examples <https://github.com/TeleSign/python_telesign/tree/master/examples>`_ folder or\nvisit the `TeleSign Standard Documentation <https://standard.telesign.com/>`_.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "TeleSign SDK",
"version": "2.2.5",
"project_urls": {
"Homepage": "https://github.com/telesign/python_telesign"
},
"split_keywords": [
"telesign",
" sms",
" voice",
" mobile",
" authentication",
" identity",
" messaging"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "693cb05b587eca6722de8b787c343ffcbbf7afe8c00ee2e5de7e28b59eb44e0d",
"md5": "77bbff3ae0e872e761c56ee5a551e896",
"sha256": "7ae0009d4a6a0b29a44273398c75c31d256110d68264736f342e72e6e42f4268"
},
"downloads": -1,
"filename": "telesign-2.2.5-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "77bbff3ae0e872e761c56ee5a551e896",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 11888,
"upload_time": "2024-11-14T20:02:22",
"upload_time_iso_8601": "2024-11-14T20:02:22.516253Z",
"url": "https://files.pythonhosted.org/packages/69/3c/b05b587eca6722de8b787c343ffcbbf7afe8c00ee2e5de7e28b59eb44e0d/telesign-2.2.5-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3731360fab0237cfea41834af81b430f3ad1a18d924c30a9dcf0c82b7b3bf28a",
"md5": "ae49b93677185ee76bf8fa92574ca159",
"sha256": "361ca6a8c2dc67cf604f5a1024d6c7cfacc079f3149eba593001deacd9c4555e"
},
"downloads": -1,
"filename": "telesign-2.2.5.tar.gz",
"has_sig": false,
"md5_digest": "ae49b93677185ee76bf8fa92574ca159",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15768,
"upload_time": "2024-11-14T20:02:25",
"upload_time_iso_8601": "2024-11-14T20:02:25.121594Z",
"url": "https://files.pythonhosted.org/packages/37/31/360fab0237cfea41834af81b430f3ad1a18d924c30a9dcf0c82b7b3bf28a/telesign-2.2.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-14 20:02:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "telesign",
"github_project": "python_telesign",
"travis_ci": true,
"coveralls": true,
"github_actions": false,
"tox": true,
"lcname": "telesign"
}