2.0.0-betafixed • Published 4 years ago

okumura-api.js v2.0.0-betafixed

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Installation

  • npm i okumura-api.js

Usage

Usage with await

const Okumura = require("okumura-api.js");
const okumura = new Okumura("Your name","Your token okumura");

const main = async () => {
	const quotes = await okumura.quotes.quote;
	const author = await okumura.quotes.author;

	console.log(`
Quote : ${quotes}
Author : ${author}
		`);
}

main()

Usage with .then(Promises)

const Okumura = require("okumura-api.js");
const okumura = new Okumura("Your name","Your token okumura");

okumura.quotes().then(res => {
	console.log(`
Quote : ${res.quote}
Author : ${res.author}
		`)
})

Invite Okumura Support Us

2.0.0-betafixed

4 years ago

0.0.6

4 years ago

0.0.5-beta

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3-beta

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago