This code was used to create an API that could be searched through with start and end parameters.
import time from django.http import JsonResponse from djang