christycooper

Comments

  • Did you ever get a good answer for this? I'm trying the same thing ... 3 years later.
  • Your dayquery just needs to be a string, not a function, is what I see just coming at it from what you pasted. def dayquery() makes it a function. Since you're not returning that bare string to the query function (query, (dayquery()) then you're not going to get the result. try it with dayquery = """ your whole query thing…
  • You should be able to import orionsdk in a script. I think those files are either in a 'samples' directory or you have to download them separately from the github link : https://github.com/solarwinds/orionsdk-python/tree/master/samples The README should help you use the sdk from your python script :…