.. module:: newsapi-python
This page is a technical reference to the public classes, exceptions, and data defined in newsapi-python.
While newsapi-python makes every effort to keep up with the API, please consider the official News API docs as the canonical News API reference.
.. autoclass:: newsapi.NewsApiClient :members:
.. autoexception:: newsapi.newsapi_exception.NewsAPIException
The :mod:`newsapi.const` module holds constants and allowed parameter values specified in the official News API documentation.
.. autodata:: newsapi.const.languages
.. autodata:: newsapi.const.countries
.. autodata:: newsapi.const.categories
.. autodata:: newsapi.const.sort_method