Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 811 Bytes

api.rst

File metadata and controls

37 lines (23 loc) · 811 Bytes

API Reference

.. 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.

Classes

.. autoclass:: newsapi.NewsApiClient
   :members:

Exceptions

.. autoexception:: newsapi.newsapi_exception.NewsAPIException

Constants

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