Reading sensor Value Using API

When i paste this on google - API KEY/analogRead?pin=AO&deviceName=BOLTXXXX

I get the follwing result - {“value”: “180”, “success”: 1}
But that is not the sensor reading from my ldr sensor. I read in this documentation that it is the voltage on theat pin. Instead, I want to see the light intensity. How can i do that?