I found this code to retieve a vaule using HttpURLConnection request,

This is the URL I use (minus the api key)
http://emoncms.org/feed/value.json?apikey=myapikey&id=52931

Below is the code i...