Kotlin: How to load another api from response of init api

When Home screen init, it will call an API with the data response to contain positions of different sections: slider, news, products.
Capture

After, base on the response from API above, each section will continue to call API from link attribute and load fragment for itself
How to do that?
I’m new member in java/kotlin. So I want to search for some available project that has done the same thing to be able to learn faster than kotlin
Thanks