#_*_coding:UTF-8_*_
'''
python json 转换 xml
'''
import requests
from xmltodict import unparse
url = 'http://www.tuling123.com/openapi/api?key=311bc43b87a17fc8b8e5ae08f5e3c12c&info = 北京中关村附近的酒店 '
r = requests.get(url).json()
print unparse(r)
犯罪嫌疑人X
相关分类