Skip to content

Latest commit

 

History

History
184 lines (118 loc) · 2.97 KB

api.rst

File metadata and controls

184 lines (118 loc) · 2.97 KB

API reference

.. module:: reader

This part of the documentation covers all the public interfaces of reader.

Reader object

Most of reader's functionality can be accessed through a :class:`Reader` instance.

.. todo::

    Split this into sub-sections.

.. autofunction:: make_reader(url, *, feed_root=None, plugins=..., session_timeout=(3.05, 60), reserved_name_scheme=..., search_enabled='auto')

.. autoclass:: Reader(...)
    :members:


Data objects

.. autoclass:: Feed
    :members:

.. autoclass:: ExceptionInfo
    :members:

.. autoclass:: Entry
    :members:

.. autoclass:: Content
    :members:

.. autoclass:: Enclosure
    :members:

.. autoclass:: EntrySearchResult
    :members:

.. autoclass:: HighlightedString
    :members:

.. autoclass:: FeedCounts
    :members:

.. autoclass:: EntryCounts
    :members:

.. autoclass:: EntrySearchCounts
    :members:

.. autoclass:: UpdateResult
    :members:

.. autoclass:: UpdatedFeed
    :members:

.. autoclass:: EntryUpdateStatus
    :members:


Exceptions

.. autoexception:: ReaderError
    :members:

.. autoexception:: FeedError
    :show-inheritance:
    :members:

.. autoexception:: FeedExistsError
    :show-inheritance:
    :members:

.. autoexception:: FeedNotFoundError
    :show-inheritance:
    :members:

.. autoexception:: InvalidFeedURLError
    :show-inheritance:

.. autoexception:: EntryError
    :show-inheritance:
    :members:

.. autoexception:: EntryExistsError
    :show-inheritance:
    :members:

.. autoexception:: EntryNotFoundError
    :show-inheritance:
    :members:

.. autoexception:: UpdateError
    :show-inheritance:
    :members:

.. autoexception:: ParseError
    :show-inheritance:
    :members:

.. autoexception:: UpdateHookError
    :show-inheritance:
    :members:

.. autoexception:: SingleUpdateHookError
    :show-inheritance:
    :members:

.. autoexception:: UpdateHookErrorGroup
    :show-inheritance:
    :members:

.. autoexception:: StorageError
    :show-inheritance:
    :members:

.. autoexception:: SearchError
    :show-inheritance:

.. autoexception:: SearchNotEnabledError
    :show-inheritance:

.. autoexception:: InvalidSearchQueryError
    :show-inheritance:

.. autoexception:: TagError
    :show-inheritance:
    :members:

.. autoexception:: TagNotFoundError
    :show-inheritance:
    :members:

.. autoexception:: ResourceNotFoundError
    :show-inheritance:
    :members:

.. autoexception:: PluginError
    :show-inheritance:

.. autoexception:: InvalidPluginError
    :show-inheritance:

.. autoexception:: PluginInitError
    :show-inheritance:


.. autoexception:: ReaderWarning
    :show-inheritance:


Exception hierarchy

The class hierarchy for :mod:`reader` exceptions is:

.. classtree:: ReaderError



Type aliases

.. autodata:: reader.types.TagFilterInput
.. autodata:: reader.types.TristateFilterInput



Constants

.. autodata:: reader.plugins.DEFAULT_PLUGINS