This project demonstrate how to integrate/consume JSON API in Kotlin Android particularly using hostel-api-ucc
#API Homepage -> https://hostel-api-ucc.web.app
Endpoints of the api includes:
Fetch All Hostels ->https://ucc-campus-api.onrender.com/v1/hostels/all
Query a hostel named SRC -> https://ucc-campus-api.onrender.com/v1/hostels/SRC
Query hostels by Location -> https://ucc-campus-api.onrender.com/v1/locations/:location
Query top 10 hostels -> https://ucc-campus-api.onrender.com/v1/hostels/all/10
Query top 50 hostels -> https://ucc-campus-api.onrender.com/v1/hostels/all/50