added uri class function to api handles multiple parameters through get url requests. for loop to replace %20 with spaces.