import requests
url = "https://leakcheck.io/api/"
key = ""
type = "auto" # email / mass / login
query = input("Введите данные: ")
data = {'key': key, 'type': type, "check": query}
req = requests.get(url, data)
json = req.json()
if(json['success'] == True):
print(int(json['result']['line']))