categories in newsapi code example
Example: newsapi categories
var url = 'http://newsapi.org/v2/everything?' +
'q=stock&' +
'from=2020-05-02&' +
'sortBy=popularity&' +
'apiKey=8b869ec3eec745c99e0442c5abf60ccf';
var req = new Request(url);
fetch(req)
.then(function(response) {
console.log(response.json());
})