REQUEST DOCUMENT example

We are trying to get a handle on this - can anyone supply sample code that goes to some external webpage and gets something useful. (We were thinking of Bureau of Meteorology for a temperature reading say).
How do you know exactly what URL to request? And how to parse the stuff that returns to glean the desired info?
(Running under zOS/CICS.)