I am new in django rest api framework and using get i am fetching the a json array whose api is this https://api.coursera.org/api/courses.v1?q=search&query=machine+learning and i am not able to parse it.Actually i want to store all the names and send them to .html file .I have used this code but didnot worked for me.
req = requests.get('https://api.coursera.org/api/courses.v1?q=search&
query=machine+learning')
jsonList = []
jsonList.append(req.json())
print(jsonList[0])
userData = {}
for value in jsonList[0]:
parsedData.append(value["name"])
print(value["name"])
return render(request, 'app/profile.html', {'data': parsedData})