[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/BassamPython/PythonTutorial/master/httpcalls.py [Back]  [Original]



import  urllib.request,json
def main():
    data=urllib.request.urlopen("http://selling.alruabye.net/UsersWS.asmx/GetToolType?lng=ar").read()
    jsonr=json.loads(data.decode("utf-8"))
    #print(jsonr,type(jsonr))
    for row in jsonr['ToolData']:
        print(row['ToolTypeName'])


if __name__ == '__main__':main()

Web Proxy Viewer  |  New URL  |  Original Page