Fetch data from api in react native

I can not fetch data from api in react native because i have a data in the form of an array without any parent or described array like ‘data’ shown in the lecture.