successfully returned all the data from api

I have successfully made it so that it returns the correct values from
the api