Use new API function to just get station numbers

Add closing of data to the example.
This is not yet handled by the class.