Skip to main content

Librería de integración de servicio de mensajeria Hablame

Project description

HABLAME CONNECT

Librería de integración de servicio de mensajeria Hablame con django.

Instalación:

$ pip install Hablame

ó

$ pipenv install Hablame

Añadir la linea

'Hablame'

settings.py en las installed_apps proyecto de django

USO

Constructor(
client string,
api string

)

Methods
  • Send_SMS(

      receiver number,
      message string,
      propagation_date datetime (Opcional)
      reference string (Opcional)
    

    )

    en caso de que propagation_date no se pase por parametro el mensaje se enviara de manera inmediata.

Ejemplo

from SY_Hablame from Hablame

instance = Hablame("client_key", "api_Key") response = instanse.Send_SMS("Receiver_number", "Message")

print(response)

Respuesta

{ "cliente": "10012336", "lote_id": 0, "fecha_recepcion": "2019-10-10 11:06:41", "resultado": 0, "resultado_t": null, "sms_procesados": 1, "referencia": null, "ip": "190.7.130.162", "sms": { "1": { "id": "1570723601789199", "numero": "573116400205", "sms": "hola", "fecha_envio": "2019-10-10 11:06:41", "ind_area_nom": "Colombia Celular", "precio_sms": "6.00000", "resultado_t": "", "resultado": "0" } } }

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

Hablame-0.4.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

Hablame-0.4-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file Hablame-0.4.tar.gz.

File metadata

  • Download URL: Hablame-0.4.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for Hablame-0.4.tar.gz
Algorithm Hash digest
SHA256 036860a8f10acf09108970b04136eb8e1e8f425a567b52c29f8c287012d14714
MD5 2827016e3890c5cbb70b6e08ac736fd0
BLAKE2b-256 37b0c2811c33b248ab1383517447b402a2a5a9c3a018d66176138bcd2864b3ed

See more details on using hashes here.

File details

Details for the file Hablame-0.4-py3-none-any.whl.

File metadata

  • Download URL: Hablame-0.4-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for Hablame-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cc46a4a78535145add42825b24aa6771647dcd7002059969786db9712c249383
MD5 8ffed741d78370c4453c57e751175651
BLAKE2b-256 c4498b2ccdfef565d675ae40274a0f56b171b634c47b935fe76a552dfcbc3083

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