News-API
Simple News-API scrapper library
@@ Created on 1-12-21 | Dehanjing @@
+ Updated on 3-12-21 | Dehanjing
Installation
using npm package manager
npm install @dhnapi/news-api
using yarn package manager
yarn add @dhnapi/news-api
Features
Example
"use strict";
let NewsAPI = require("@dhnapi/news-api");
let dapi = new NewsAPI();
dapi.cnn((response, error) => {
if (error) return console.error(error.stack);
return console.info("success scrapping ~~", JSON.stringify(response.data, null, 2));
});
Information
+ dont forget to star <3
! contribute to this project! ~~~
- please add issue if you having problem with installation
! github: https://github.com/Dehanjing/news-api