code: def get_positions(self):
          
          url = "/2/positions"
  
          data = self._get_resource(url)
          positions = []
          for entry in data['positions']:
              positions.append(self.position_from_json(entry))
  
          return positions
docs: Returns a list of positions.
  
          http://dev.wheniwork.com/#listing-positions