New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

apicord

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apicord

Random images, quotes and more

latest
Source
npmnpm
Version
2.0.0-beta.1
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

Random images, quotes and more

⚙️ Installation

npm i apicord

📘 Usage

• Example code

const apicord = require('apicord');
// ES6: import apicord from 'apicord';

async function get() {
    const gotten = await apicord.reddit('memes');
    console.log(gotten);
}
  
get();

• All APIs

Arguments will be explained and referred to using the syntax (1) first argument, (2) second argument and vice versa. (1-o) means first argument and that it is optional.

apicord.reddit('memes') // (1) name of subreddit
apicord.github('axorax') // (1) github username

apicord.meme() // random meme from reddit
apicord.meme(['memes']) // (1-o) array of meme subreddits

apicord.gimme() // random meme
apicord.mcip('mc.hypixel.net') // (1) minecraft server ip address
apicord.chess('axorax') // (1) chess.com username
apicord.gotiny('https://github.com/axorax') // url shortener (1) long URL
apicord.isgd('https://github.com/axorax') // url shortener (1) long URL
apicord.joke() // random joke
apicord.zenquote() // random zenquote
apicord.anagram('afaef') // (1) any characters

apicord.crypto('bitcoin') // get crypto price (1) crypto currency
apicord.crypto('bitcoin', 'usd') // (1) crypto currency (2-o) price currency 'usd' by default

Support me on Patreon - Check out my socials

Keywords

apicord

FAQs

Package last updated on 16 Jan 2024

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