CyberSpy

Rantings from a guy with way too much free time

Visualizing the News: Grab your PILlow

2017-11-12 Python Programming

A Picture’s Worth a Gazillion Bits

newsapi

This weekend, I tripped over a neat news REST-ful api called newsapi. Grab an API key and you’re off to the races.

There are tons of live headlines - News API can provide headlines from 70 worldwide sources.

There are basically two api endpoints:

Register for an account and generate an api-key and let’s get started.

Accessing the API with Python

newsapi can easily be accessed using a browser since the REST-ful method used is a GET method. But, accessing the api from the browser is limiting.

Continue reading