def related(request):
    bibid = request.GET.get('bibid')
    if not bibid:
        raise Http404()
    bibid = db.get_bibid_from_summonid(bibid)
    item = db.get_item(bibid)
    bibids = db.get_related_bibids(item)
    return HttpResponse(
        json.dumps(bibids, indent=2),
        content_type='application/json'
    )
API call for getting related bibids.
dataset/ETHPy150Open gwu-libraries/launchpad/lp/ui/views.py/related