read the api server values from config file usign ConfigParser