Skip to main content

The world's news wrapped into a single API.

Project description

worldnewsapi

The World News API gives you access to thousands of news sources in over 50 languages from over 150 countries. News are semantically tagged allowing for semantic news search like never before.

This is the python-package for easy acccess to the api.

Resources

Requirements

Python 3.7+

Installation & Usage

pip install

This package is hosted on PyPi, you can install directly using:

pip install worldnewsapi

(you may need to run pip with root permission: sudo pip install worldnewsapi)

Then import the package:

import worldnewsapi

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import worldnewsapi

Tests

Execute pytest to run the tests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

worldnewsapi-1.2.0.tar.gz (30.4 kB view hashes)

Uploaded Source

Built Distribution

worldnewsapi-1.2.0-py3-none-any.whl (43.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page