scrivito-news-reader

    1.3.9 • Public • Published

    Scrivito News API

    CMS: Scrivito License: MIT

    A React component/Scrivito widget which shows how to work with external REST-APIs.

    Screenshot

    Screenshot

    Installation

    Open your terminal.

    $ cd to your Scrivito project

    $ npm install scrivito-news-api

    Import the widget in your javascript (e.g. in index.js or Widgets/index.js).

    Add this line to your index.js:

    import "scrivito-news-api";

    Widget Configuratiom

    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.

    Widget properties

    In the widget properties you can set:

    • API key
    • News category

    Install

    npm i scrivito-news-reader

    DownloadsWeekly Downloads

    85

    Version

    1.3.9

    License

    MIT

    Unpacked Size

    10.6 kB

    Total Files

    4

    Last publish

    Collaborators

    • mdwp