I have written a function in C# that retrieves data from the BLS API. I can integrate this into gretl using a call to a shell command, i.e. $(…). But I would like to develop, and make available to the gretl community, a getBLS function. Could someone give me some pointers for a better integration of the API call and the gretl script? Or can a command line program be include in a function package? Also, is this a function anyone would use?  If so, I might also think about a getFRED function too?