abacusai.news_search_result =========================== .. py:module:: abacusai.news_search_result Classes ------- .. autoapisummary:: abacusai.news_search_result.NewsSearchResult Module Contents --------------- .. py:class:: NewsSearchResult(client, title=None, url=None, description=None, thumbnailUrl=None, thumbnailWidth=None, thumbnailHeight=None, faviconUrl=None, datePublished=None) Bases: :py:obj:`abacusai.return_class.AbstractApiClass` A single news search result. :param client: An authenticated API Client instance :type client: ApiClient :param title: The title of the news. :type title: str :param url: The URL of the news. :type url: str :param description: The description of the news. :type description: str :param thumbnailUrl: The URL of the image of the news. :type thumbnailUrl: str :param thumbnailWidth: The width of the image of the news. :type thumbnailWidth: int :param thumbnailHeight: The height of the image of the news. :type thumbnailHeight: int :param faviconUrl: The URL of the favicon of the news. :type faviconUrl: str :param datePublished: The date the news was published. :type datePublished: str .. py:attribute:: title :value: None .. py:attribute:: url :value: None .. py:attribute:: description :value: None .. py:attribute:: thumbnail_url :value: None .. py:attribute:: thumbnail_width :value: None .. py:attribute:: thumbnail_height :value: None .. py:attribute:: favicon_url :value: None .. py:attribute:: date_published :value: None .. py:attribute:: deprecated_keys .. py:method:: __repr__() .. py:method:: to_dict() Get a dict representation of the parameters in this class :returns: The dict value representation of the class parameters :rtype: dict