Socket
Book a DemoInstallSign in
Socket

scrivito-news-reader

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrivito-news-reader

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

latest
Source
npmnpm
Version
1.3.9
Version published
Maintainers
1
Created
Source

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

Keywords

scrivito

FAQs

Package last updated on 22 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts