Simple example using mainly the https://newsapi.org/ API.
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/.
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).