Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
from json2xml import json2xml
from json2xml.utils import readfromurl, readfromstring, readfromjson
data = readfromurl("http://api.plos.org/search?q=title:%22Drosophila%22%20and%20body:%22RNA%22&fl=id&start=1&rows=10")
print(json2xml.Json2xml(data, attr_type=False).to_xml())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.