I am trying to write output from API request(passing through shell command) to JSON file using python.
import os assignments = os.system("curl -u https:/