from django.shortcuts import render from rest_framework.views import APIView from rest_framework.response import Response # Create your views here. #create the django rest framework view for crawling the data class CrawlerView(APIView): def get(self, request): return Response({'message': 'Hello World'})