Added the api calls in package.js