def search(self, terms):
        """
        returns a dict {"name":  "image_dict"}
        """
        images   = {}
        response = self._request_builder('GET', 'search', params={'q': terms})

        if self._validate_response(response):
            body = json.loads(response.content.decode('utf-8'))['results']
            for image in body:
                images[image['name']] = image

        return images
returns a dict {"name":  "image_dict"}