API: Added functions to demostrate different ways of API calls