smc_cet_cibil_py/services/SampleDataProviderService.py
2023-10-06 16:44:28 +05:30

12 lines
286 B
Python

import json
class SampleDataProviderService:
def getCIBILRawData(reference_number,type):
filename = './data.json' if type == 1 else './com.json' if type == 2 else ''
with open(filename) as json_file:
data = json.load(json_file)
return data