Learn about Steampipe
Install go, then:
$ git clone https://github.com/judell/steampipe-plugin-hello
$ cp ./config/hello.spc ~/.steampipe/config
$ make
$ steampipe query
> select * from hello order by id
+----+----------+-------------------+
| id | greeting | json |
+----+----------+-------------------+
| 1 | Hello | {"hello":"world"} |
| 2 | Hello | {"hello":"world"} |
| 3 | Hello | {"hello":"world"} |
+----+----------+-------------------+