Exchanging data from web
<p>I am creating a program which calculates the solar radiations received on earth. The program is complete and working. I have made it specifically for my city, but I want to generalize it for the whole world. Only one thing is standing between me and my goal:</p>

<pre><code>double Hm[] = {
  4.38, 5.18, 5.93, 6.65, 6.67, 6.40, 5.44, 5.27, 5.62, 5.24, 4.5, 4.11
}; 
</code></pre>

<p>This data is the only thing I want to generalize. These values are for my city only. I want to take Longitude and Latitude as an input and then this input goes to the NASA website, extract only the data I want and return those values in an array as shown above. How can I do that?</p>
