@violetics/news

1.0.0 • Public • Published

Violetics API News

News API Wrapper for https://violetics.pw/api/news

@@ Created on 23-03-22 | Violetics @@

Installation

using npm package manager

npm install @violetics/news

using yarn package manager

yarn add @violetics/news

Example Request

"use strict";
const Violetics = require("@violetics/news");
const v = new Violetics("API_KEY"); // register on https://violetics.pw/ to get your own apikey

/* then, catch */
v.antara()
	.then((data) => {
		console.log("data", data);
	})
	.catch(console.error);

/* callback */
v.antara((error, data) => {
	if (error) return console.error(error);
	console.log("data", data);
});

Information

+ dont forget to star <3
! contribute to this project! ~~~
- please add issue if you having problem with installation

! github: https://github.com/Violetics/news

/@violetics/news/

    Package Sidebar

    Install

    npm i @violetics/news

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    5.38 kB

    Total Files

    12

    Last publish

    Collaborators

    • violetics