code: def get_data_source_bulk_request(self, rids, limit=5):
          
          headers = {
                  'User-Agent': self.user_agent(),
                  'Content-Type': self.content_type()
          }
          headers.update(self.headers())
  
          r = requests.get(   self.portals_url()
                              +'/data-sources/['
                              +",".join(rids)
                              +']/data?limit='+str(limit),
                              headers=headers, auth=self.auth())
          if HTTP_STATUS.OK == r.status_code:
              return r.json()
          else:
              print("Something went wrong: <{0}>: {1}".format(
                          r.status_code, r.reason))
              return {}
docs: This grabs each datasource and its multiple datapoints for a particular device.