Has anyone tried to create an IronPython script to automate the submission of OData URIs?

In Spotfire 7.6, I am trying to update OData queries. I have been able to generate new URIs for submission but have not found a direction to follow for submitting them via IronPython or JavaScript. Can you help guide me?

Summary: I want to submit new_generated_Odata_query to refresh my data table automatically

For example we can refresh tables connected to a supported provider, utilizing DatabaseDataSource like here:

getData = DatabaseDataSourceSettings(provider, connectionString, SQLQuery, True)
dataSet = DatabaseDataSource(getData)

Thank you for your time and ideas.