Python script to automate api in c# to response from it and save to a txt file response is file path , json path , and response.text is saved in txt file