I am not a developer, but if you have a Envoy-S with production and Consumption CT's then you can stream Solar production and Consumption data from the Envoy-S in a JSON format. with the /stream/meter URL. (From Envoy-S FW D5.0.62)
curl --digest --user installer:PASSWORD http://192.168.5.99/stream/meter
data: {"production":{"ph-a":{"p":933.873,"q":110.623,"s":939.06,"v":122.779,"i":7.648,"pf":1.0,"f":60.0},"ph-b":{"p":931.77,"q":112.752,"s":938.273,"v":122.659,"i":7.651,"pf":1.0,"f":60.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"net-consumption":{"ph-a":{"p":-462.468,"q":-158.659,"s":668.507,"v":122.84,"i":5.442,"pf":-0.7,"f":60.0},"ph-b":{"p":-196.205,"q":-210.678,"s":611.192,"v":122.673,"i":4.932,"pf":-0.33,"f":60.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}},"total-consumption":{"ph-a":{"p":471.405,"q":-269.283,"s":270.945,"v":122.81,"i":2.206,"pf":1.0,"f":60.0},"ph-b":{"p":735.565,"q":-323.43,"s":333.56,"v":122.666,"i":2.719,"pf":1.0,"f":60.0},"ph-c":{"p":0.0,"q":0.0,"s":0.0,"v":0.0,"i":0.0,"pf":0.0,"f":0.0}}}
Or http://installer:PASSWORD@192.168.5.99/stream/meter
in a web browser to test.
This is local from the Envoy not from the Enphase web site.
Maybe this info will be useful to someone.