Skip to content

Commit

Permalink
Update menuTerminal.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiny-Kiny authored Jul 11, 2022
1 parent 99872f0 commit 806b3af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/src/menuTerminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def req(api_req) -> str: return loads(get(api_req).text)
def clear(clean) -> None: return system(clean)
#######################
def cpf() -> str:
result=loads(get(r'http://api.lkzn.tk/cpfSimples.php?token=9c06b7c4-627e-4b66-8837-f1b82c2c3854&cpf='+input('%s%s%s\n%s>%s Digite o CPF : '%(B,logo,C,G,C)),verify=False).text)
result=loads(get(r'http://api.lkzn.tk/?token=9c06b7c4-627e-4b66-8837-f1b82c2c3854&cpfSimples='+input('%s%s%s\n%s>%s Digite o CPF : '%(B,logo,C,G,C)),verify=False).text)
clear(clean)
ban='%s%s%s\n'%(B,logo,C)
try: return ban+'[ %sNome%s : %s ]\n[ %sCPF%s : %s ]\n[ %sAno de Nascimento%s : %s ]\n[ %sSexo %s: %s ]'%(G,C,result['msg']['nome'],G,C,result['msg']['cpf'],G,C,result['msg']['nascimento'],G,C,result['msg']['sexo'])
Expand Down Expand Up @@ -89,7 +89,7 @@ def placa() -> str:
return msg

def nome() -> str:
result='http://api.lkzn.tk/nome.php?token=9c06b7c4-627e-4b66-8837-f1b82c2c3854&nome=%s'%input('%s%s%s\n%s>%s Digite o nome: '%(B,logo,C,G,C))
result='http://api.lkzn.tk/?token=9c06b7c4-627e-4b66-8837-f1b82c2c3854&nomeLkzn=%s'%input('%s%s%s\n%s>%s Digite o nome: '%(B,logo,C,G,C))
result=req(result)
msg=''
try:
Expand Down

0 comments on commit 806b3af

Please sign in to comment.