We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49a3020 commit 590353fCopy full SHA for 590353f
auto-sms/main.py
@@ -1,7 +1,6 @@
1
# Created by @advaitasaha
2
# Imports
3
import requests
4
-import json
5
6
# Variables
7
global apiKey
@@ -12,7 +11,10 @@
12
11
senderID = "" # enter the senderID registered
13
14
# Functions for semding SMS
+
15
def send_sms(number):
16
17
18
headers_sms = {
19
"api-key": apiKey,
20
}
@@ -102,7 +104,7 @@ def send_flash_sms(number):
102
104
elif userInput == 3:
103
105
number = int(input("Enter the phone number to which you want to send: "))
106
out = number_val(number)
- if out[0] == True:
107
+ if out[0]:
108
print("------------------------------------------------------------------")
109
print("Valid Number, details below")
110
print(out[1])
0 commit comments