API creation for lolgh mobile app