News-API-gh / News-API-python

Our officially supported Python client library for accessing News API.
MIT License
35 stars 9 forks source link

API Wrapper #4

Closed jamesdarabi closed 9 months ago

jamesdarabi commented 6 years ago

This PR wraps all of the functionality of the News API.

Example Usage

from news_api import Client

news_api_client = Client('<api_key>')

top_headlines = news_api_client.top_headlines(q='bitcoin')

trump_news = news_api_client.everything(q='trump', language='en', sort_by='popularity')

sources = news_api_client.sources()

TODO

kgolsen commented 6 years ago

This is the cleanest pull request by far.