New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tronalddump-io

tronalddump.io api client library for node.js returning promises.


Version published
Weekly downloads
6
increased by200%
Maintainers
1
Weekly downloads
 
Created

Build Status

Official tronalddump.io api client for node.js

Tronalddump.io is a free api and web archive for the dumbest things Donald Trump has ever said ...

Installation

npm install tronalddump-io

Usage

const Tronald = require('tronalddump-io'),
      client = new Tronald();

// Retrieve a Tronald quote by its id
client.getQuote('wAgIgzV1S9OARKhfun3f0A').then((res) => {
    // to stuff here
}).catch((err) => {
    // handle error
});

// Perform a free text search
client.search('money').then((res) => {
    // to stuff here
}).catch((err) => {
    // handle error
});

License

This distribution is covered by the GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007.

Support & Contact

Having trouble with this repository? Check out the documentation at the repository's site or contact m@matchilling.com and we’ll help you sort it out.

Happy Coding

:v:

FAQs

Package last updated on 04 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts