my code looks like this
username = 'user'
password = 'user'
url = 'http://di4301sw:8081/solr/metadone/select?fl=file.contenu&q=patient.ipp:3456&rows=14'
r = requests.get(url, auth=(username, password))
data = r.json()
with open('data.json', 'w') as f:
json.dump(data, f)
and my result looks like this
{"responseHeader": {"status": 0, "QTime": 0, "params": {"q": "patient.ipp:3456", "fl": "file.contenu", "rows": "14"}}, "response": {"numFound": 14, "start": 0, "docs": [{"file.contenu": "Biochimie d'urgence Dr F. Beyerle, Dr L. Chardon, A. Varennes Tel Secr\u00e9tariat
i want the result to start from "file.contenu" i.e. i dont want the header Thanks in anticipation