Updated API to use lightweight REST API calls

Signed-off-by: rpgmaker <olamide.bakre@gmail.com>