# Call Scripting Functions Externally

**URL:** <https://forum.inductiveautomation.com/t/call-scripting-functions-externally/18589>\
**Category:** Ignition\
**Created:** [June 22, 2018, 8:58pm UTC](https://forum.inductiveautomation.com/t/call-scripting-functions-externally/18589 "2018-06-22T20:58:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgoodwill](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jgoodwill](https://forum.inductiveautomation.com/u/jgoodwill)\
**Post date:** [June 22, 2018, 8:58pm UTC](https://forum.inductiveautomation.com/t/call-scripting-functions-externally/18589/1 "2018-06-22T20:58:53Z")

</div>

Is it possible to call the Ignition scripting functions from an external program?

Essentially what I’m wanting to do is to access the historical data using the system.tag.queryTagHistory and system.data.ToCSV functions to return the CSV data to an external program.

Thanks.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 22, 2018, 9:06pm UTC](https://forum.inductiveautomation.com/t/call-scripting-functions-externally/18589/2 "2018-06-22T21:06:49Z")

</div>

Not directly like you’re probably hoping.

You could use the web services module to build your own endpoints that in turn called whatever scripting functions you like, however.
