Install following libraries if you don't have in your computer
pip installl bs4
pip install requests
pip install json
It calls the API, using HTTP GET request. And I have created a dictionary in which I have set the fields to be updated with
with open("datafile.json", "w") command it creates a datafile.json empty file with write command. Using json.dupm() command, it will dump all the data in a "datafile.json"