scrap-reddit
v1.0.0
Published
<div align="center"> <img src="https://c4.wallpaperflare.com/wallpaper/24/919/602/zelda-the-legend-of-zelda-breath-of-the-wild-blonde-korok-the-legend-of-zelda-link-hd-wallpaper-preview.jpg" alt="REDDITFETCHER" width="500" />
Downloads
8
Maintainers
Readme
SRCAP-REDDIT
Simple Reddit Scraper
🏮 Installation
> npm i scrap-reddit
🎋 Usage
Importing
💛 JavaScript
const reddit = require('scrap-reddit')
💙 TypeScript
import * as reddit from 'scrap-reddit'
Get Random Post
const post = await reddit.randomPost('subreddit_title')
Get Top Post
const post = await reddit.topPost('subreddit_title')