0.0.0-beta.7 • Published 2 years ago
fugapedia.js v0.0.0-beta.7
Introduction
Node.js module to easily interact with the Fugapedia API
The Fugapedia supports only the Russian language, so that all information below will be in Russian.
Установка
npm
npm i fugapedia.js
Yarn
yarn add fugapedia.js
pnpm
pnpm add fugapedia.js
Пример использования
JavaScript
const Fugapedia = require('fugapedia.js');
const client = new Fugapedia.Client().setKey('myAPIKey');
const main = async () => {
const article = await client.getArticle('Кирилл_Баранов', { limit: 100 });
console.log(article);
const url = Fugapedia.makeImageURL('Syjalo', 'jpeg');
console.log(url);
}
main();
TypeScript
import { Client, makeImageURL } from 'fugapedia.js';
const client = new Client().setKey('myAPIKey');
const main = async () => {
const article = await client.getArticle('Кирилл_Баранов', { limit: 100 });
console.log(article);
const url = makeImageURL('Syjalo', 'jpeg');
console.log(url);
}
main();
0.0.0-beta.7
2 years ago
0.0.0-beta.6
2 years ago
0.0.0-beta.5
2 years ago
0.0.0-beta.4
2 years ago
0.0.0-beta.3
2 years ago
0.0.0-beta.2
2 years ago
0.0.0-beta.1
2 years ago
0.0.0
3 years ago