L
Size: a a a
L
L
L
s
L
L
def getcode(tzid):
def gc(a):
while True:
r = json.loads(requests.get('http://api.sms-reg.com/getState.php?tzid={}&apikey={}'.format(tzid, api_key)).text)
if r.get('msg'):
print('got code')
return r['msg']
return gc
L
A
A
L
L
A
L
A
A
A
A
L
A