Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1.15 KB

File metadata and controls

20 lines (17 loc) · 1.15 KB

Simple data mapping

Your task is to create a simple script that will pull the newest articles from the provided API every 5 minutes, then map them into a format defined in the models.py file (class Article) and finally print them out. We will assess your code performance, readability, reusability and resilience to errors.

The API endpoints you need to use:

Requirements:

  1. Create a public repository for your code
  2. Create a basic README for your code. In the readme remember to add instructions how to start your code and write how long it took to create it
  3. After starting, the script should execute automatically every 5 minutes
  4. The example API has very limited data. Write your solution so that it is optimal for processing few thousand articles per day.
  5. Sections that contain text should be stripped of any html elements, but keeping the content