pensador-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Pensador-Client

A simple package to get quotes https://pensador.com

Features

  • getShortPhrases
  • getPhrasesByAuthor
  • getRecentPhrases
  • getPopularPhrases
  • getPopularAuthors
  • getAuthorsStartingWith

Usage/Examples

import pensador from 'pensador-client';
...
const resiltGetShortPhrases = await pensador.getShortPhrases(); 
const resiltGetPhrasesByAuthor = await pensador.getPhrasesByAuthor('Albert Einstein'); 
const resiltGetRecentPhrases = await pensador.getRecentPhrases(); 
const resiltGetPopularPhrases = await pensador.getPopularPhrases(); 
const resiltGetPopularAuthors = await pensador.getPopularAuthors(); 
const resiltGetAuthorsStartingWith = await pensador.getAuthorsStartingWith('A'); 
...
const { default: pensador } = require('pensador-client');
...
const resiltGetShortPhrases = await pensador.getShortPhrases(); 
const resiltGetPhrasesByAuthor = await pensador.getPhrasesByAuthor('Albert Einstein'); 
const resiltGetRecentPhrases = await pensador.getRecentPhrases(); 
const resiltGetPopularPhrases = await pensador.getPopularPhrases(); 
const resiltGetPopularAuthors = await pensador.getPopularAuthors(); 
const resiltGetAuthorsStartingWith = await pensador.getAuthorsStartingWith('A'); 
...

Readme

Keywords

Package Sidebar

Install

npm i pensador-client

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

10.3 kB

Total Files

6

Last publish

Collaborators

  • pcanavar