10 lines of code: using json in python | Xinyustudio
1. import httplib,json2. url = 'www.yupoo.com'3. path = '/api/json/api_key=d74aad0331494be468c07f47987b099b&method=yupoo.photos.licenses.getInfo'4. conn = httplib.HTTPConnection(url)5. conn.request("GET", path)6. response = conn.getresponse()7. if ...
xinyustudio.wordpress.com |