Scrivito News API
A React component/Scrivito widget which shows how to work with external REST-APIs.
Open your terminal.
$ cd to your Scrivito project
$ npm install scrivito-news-api
Add this line to your index.js:
First you need an API-Key from https://newsapi.org/register. You can save the Key in the widget properties. Also choose a category for the News the widget should render.
In the widget properties you can set:
- API key
- News category