Open Devesh14 opened 4 years ago
from nsetools import Nse
class Nse(APIView):
def get(self, request): nse = Nse() index_codes = nse.get_top_gainers() return JsonResponse(index_codes)
from nsetools import Nse
class Nse(APIView):