Last active
May 16, 2026 08:46
-
-
Save iKlotho/0c5119a319232733ba6f to your computer and use it in GitHub Desktop.
TC kimlik no sorgulama python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import xml.etree.ElementTree as ET | |
| import requests | |
| url = "https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx?WSDL" | |
| headers = {"content-type": "text/xml"} | |
| # Change this | |
| tc_no = "XXXXXXXXXXXX" | |
| ad = "NAME" | |
| soyad = "SURNAME" | |
| dogum_yili = 1995 | |
| body = f"""<?xml version="1.0" encoding="utf-8"?> | |
| <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> | |
| <soap:Body> | |
| <TCKimlikNoDogrula xmlns="http://tckimlik.nvi.gov.tr/WS"> | |
| <TCKimlikNo>{tc_no}</TCKimlikNo> | |
| <Ad>{ad}</Ad> | |
| <Soyad>{soyad}</Soyad> | |
| <DogumYili>{dogum_yili}</DogumYili> | |
| </TCKimlikNoDogrula> | |
| </soap:Body> | |
| </soap:Envelope>""" | |
| r = requests.post(url, data=body, headers=headers) | |
| root = ET.fromstring(r.text) | |
| if root.find(".//soap:Fault", namespaces={"soap": "http://schemas.xmlsoap.org/soap/envelope/"}): | |
| fault_element = root.find(".//faultstring") | |
| error_message = fault_element.text | |
| print("Error:", error_message) | |
| else: | |
| result_element = root.find(".//{http://tckimlik.nvi.gov.tr/WS}TCKimlikNoDogrulaResult") | |
| result = result_element.text | |
| print(result) |
Göktuğhan Atik
Lütfenn
531 721 00 21
Sena kayhan aile sinin tc sini öğrenmek istiyorum açil
Açil
Muhammed emir bıdık
538372260
Alperen Mert İnce tc'sini bulabilir misiniz acilll
Yusuf Zeynel Kurem, İstanbul Sultanbeyli. bütün buabileceğiniz bütün bilgileri bulur musunuz? acilll lütfen.
lütfen acil Yusuf Zeynel Kurem bulmam lazım bilgileri. lütfen
Yusuf Zeynel Kurem t.c adres vs bilgileri lazım anne baba adı vs. lütfen acillll
Çağan efe pamuk
Azra efe
Yılmaz Akar İstanbul TC si lazım da.
Yusuf Uras Bektaş ve Emre Eymen buğdacı ikisininde TC anne baba ismi ve yapabilirsem adres
Sibel kul
Çınar alpergün tc ve bilgileri
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yasin