Weather API Help-targeting

Sorry my code is such a mess. I can’t figure out how to target the weather. Right now I’m trying api.objec.main.object.temp but I can tell that is clearly wrong. I am completely lost, could somebody help me please?

just use the data object that was returned in the getJSON. make sure to use dot notation to traverse objects