0.1.2 • Published 4 years ago
newsapi-connector v0.1.2
newsapi-connector
Simple library for getting news from https://newsapi.org
Installation
This library is published in the NPM registry and can be installed using any compatible package manager.
npm install newsapi-connector --save
# For Yarn, use the command below.
yarn add newsapi-connector
Documentation
Documentation generated from source files by Typedoc.
Example usage
import { getSources } from "newsapi-connector";
const { data } = await getSources({
apiKey: 'api key from newsapi.org',
});
this.sources = data.sources;
License
Released under MIT License.