newsapi-python icon indicating copy to clipboard operation
newsapi-python copied to clipboard

A Python Client for News API

Results 21 newsapi-python issues
Sort by recently updated
recently updated
newest added

The default language of get_top_headlines seems "en". When needed to get specific news for a country, if language is not changed article count seems 0. Change the language get the...

following https://github.com/mattlisiv/newsapi-python/issues/29

Added an init constructor, added a send_request function, and changed the call function when executing other API endpoints to support proxies. Please confirm. Thank you.

**Is your feature request related to a problem? Please describe.** I'd like to be able to request the full text of the article in a secondary api call. **Describe the...

**Describe the bug** There's a `qintitle` param but the API support a `searchIn` param, so the current functionality is limited.

hello,i have set the api key ,and using the right code,and the demo get the "{'status': 'ok', 'totalResults': 0, 'articles': []}",this is no new_data come back ,why

Updated module reference was documented in issue #29

* Updated languages following ISO-639-1 (no 'cn' and 'en-US') * 'se' language code is not available in NewsAPI

**Describe the bug** Langauge list in newsapi/const.py contains invalid language and 2 of them don't follow ISO-639-1 standard. **To Reproduce** Try to use 'se' country code with /everything endpoint, it...

``` python # US head_lines = newsapi.get_top_headlines(category='entertainment', country='us') for x in head_lines['articles']: print('title:', x['title']) print('description:', x['description']) print('url:', x['url']) # print('urlToImage:', x['urlToImage']) print('content:', x['content']) print() ``` -> --- ``` python head_lines...