From 3bab696830406c5852fbf8bdcbd8cfc2aeadd4e3 Mon Sep 17 00:00:00 2001 From: Ivan Redun Date: Mon, 21 Jun 2021 10:04:42 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B8=20?= =?UTF-8?q?=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D1=81=D0=BC?= =?UTF-8?q?=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Не приходил sms_id в ответе Добавил возврат текста статуса --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e84a4c3..33e48ab 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ from smsru.service import SmsRuApi api = SmsRuApi() result = api.send_one_sms("+79888888888", "Test") # телефон и сообщение # result: { -# '79888888888': {'status': True, 'status_code': 100, 'sms_id': 0000-0000, 'status_text': ''} +# '79888888888': {'status': True, 'status_code': 100, 'sms_id': 0000-0000, 'status_text': 'Статус'} # } ``` @@ -100,8 +100,8 @@ result = api.send_multi_sms({ '+79888888889': 'test 2', }) # result: { -# '79888888888': {'status': True, 'status_code': 100, 'sms_id': 0000-0000, 'status_text': ''}, -# '79888888889': {'status': True, 'status_code': 100, 'sms_id': 0000-0000, 'status_text': ''} +# '79888888888': {'status': True, 'status_code': 100, 'sms_id': 0000-0000, 'status_text': 'Статус'}, +# '79888888889': {'status': True, 'status_code': 100, 'sms_id': 0000-0000, 'status_text': 'Статус'} # } ```