Bello-Bello / lect8-002-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lecture 6 Demo - NYT API

This demo was just to show Git branching behavior. The actual runtime behavior shouldn't be that interesting.

Requirements

  1. pip install python-dotenv
  2. pip install requests

Setup

  1. Create .env file in your main directory
  2. Add your NYT key from https://developer.nytimes.com/my-apps with the line: export API_KEY='YOUR_KEY'

Run Application

  1. Run command in terminal python3 app.py
  2. See output with list of election articles

About


Languages

Language:Python 69.5%Language:HTML 21.8%Language:CSS 8.7%