Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Example Python Script to get report results using Oberon JSON

Avatar

Avatar
Boost 1
Level 1
dustin_d87
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
dustin_d87
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
dustin_d87
Level 1

22-05-2020

I found the tutorial that lets me get the JSON code from a sample workspace and I've been trying to use that to get results using python. I've tried a couple of different libraries and searched high and low for an example, but I'm coming up lost. Does anyone have an example script (it can be very basic) using the JSON code to call the results?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Level 1
mattias-lunden
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
mattias-lunden
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
mattias-lunden
Level 1

01-12-2020

Yo could use for example

logInfo("RESULT: " + vars.output);
logInfo("ERROR: " + vars.lastError);