Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 452 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 452 Bytes

API workshop

Simple example using mainly the https://newsapi.org/ API.

Run

To run the code you need to create a config.js file. Inside the file create a variable config.

var config = {
  TEXT_RAZOR_KEY: '<key>',
  NEWS_KEY: '<key>',
};

To get the KEY singup to https://newsapi.org/.

Tests

In order to run the tests open tests/test.html. Remember you need to create a config.js file at the root level (see Run section).