Parse data from URL to class variable