Last active
September 27, 2025 14:34
-
-
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) |
Tanıyamadım
13 Ağu 2025 Çar 16:04 tarihinde ozdemirmeh27-a11y ***@***.***>
şunu yazdı:
… ***@***.**** commented on this gist.
------------------------------
Erdal yasin sahan Gaziantep bunun herşeyimi bulun
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/iKlotho/0c5119a319232733ba6f#gistcomment-5718345>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BT7UAI2JHW3PPCX2SLPDCH33NMZUPBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVAZDINJSHA4TKMNHORZGSZ3HMVZKMY3SMVQXIZI>
.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
Gönül yalkız doğancının tc ve seri nosunu bulur musun
Nida nur emlik
29711228596 berivan çelik adres lazım
Furkan gülçimeni sorgularmısınız
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Erdal yasin sahan Gaziantep bunun herşeyimi bulun