Javascript Api Testing Using Python Dictionaries