code: def get_multiple_devices(self, rids):
          
          headers = {
                  'User-Agent': self.user_agent(),
                  'Content-Type': self.content_type()
          }
          headers.update(self.headers())
  
          url = self.portals_url()+'/users/_this/devices/' + str(rids).replace("'", "").replace(' ','')
          # print("URL: {0}".format(url))
          r = requests.get(   url,
                              headers=headers,
                              auth=self.auth())
      
          if HTTP_STATUS.OK == r.status_code:
              # TODO: loop through all rids and fix 'meta' to be dict like add_device and get_device do
              return r.json()
          else:
              print("get_multiple_devices: Something went wrong: <{0}>: {1}".format(
                          r.status_code, r.reason))
              r.raise_for_status()
docs: Implements the 'Get Multiple Devices' API.
  
              Param rids: a python list object of device rids.
  
              http://docs.exosite.com/portals/#get-multiple-devices