Home/Support/Support Forum/XOS: Possible to retrieve data as JSON or via python modules?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

XOS: Possible to retrieve data as JSON or via python modules?

0 votes
Hi,

Is it possible to get the data listed in, say, "show system" or "show cellular 1" or similar commands in an easily parsable way?

Currently I'm parsing the formatted output from digidevice.cli.execute("show system") for example, and using somewhat error-prone regular expressions to parse out the data values.
asked Jun 11 in Digi TransPort Cellular by stigogo New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

+1 vote
 
Best answer
Hi

There is a way if you are using the latest firmware

show system -fjson

Think this can be used with most show commands
regards

James
answered Jun 12 by James.Wilson Veteran of the Digi Community (1,052 points)
selected Jun 21 by stigogo
Contact a Digi expert and get started today! Contact Us
...