Got the trust value to work. Currently the name of the person whose trust value you want to get needs to be to be hardcoded in the main function. Need to start making the REST API that will enable to get the value.