def OptimadeStructuresInfoData(request): data = oqop.get_optimade_data("info.structures") return render_to_response("api/plain_text.html", {"data": data})
def OptimadeStructuresInfoData(request): data = oqop.get_optimade_data("info.structures") return HttpResponse(data, content_type="application/json")
def OptimadeLinksData(request): data = oqop.get_optimade_data("links") return render_to_response("api/plain_text.html", {"data": data})
def OptimadeLinksData(request): data = oqop.get_optimade_data("links") return HttpResponse(data, content_type="application/json")