I have a below code which takes few parameters and makes URL for each ipAddress using make_status_url and then execute that url to get JSON string
ipAddress
make_status_url