Implementation of API to fetch data
Implementation of API to fetch data. Merge conflicts