SamiKoen commited on
Commit
21076a1
·
1 Parent(s): 28da8f8

Create Stok.api

Browse files
Files changed (1) hide show
  1. Stok.api +9 -0
Stok.api ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import requests
2
+ import xml.etree.ElementTree as ET
3
+
4
+ response = requests.get('https://bizimhesap.com/api/product/getproductsasxml?apikey=6F4BAF303FA240608A39653824B6C495')
5
+ xml_str = response.content
6
+
7
+ root = ET.fromstring(xml_str)
8
+
9
+ # XML verileri burada kullanılabilir