Socket
Socket
Sign inDemoInstall

reddit-memes-api

Package Overview
Dependencies
71
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    reddit-memes-api

Extract memes and jokes from reddit


Version published
Weekly downloads
3
decreased by-25%
Maintainers
1
Install size
4.01 MB
Created
Weekly downloads
 

Readme

Source

Logo

yo-memes-jokes

Get json data (gifs, images, videos) from subreddit's reddit.

InstallAPI ReferenceUsageNode PackageContributing

Logo by u/RamenFish195

Available as node package,api on RapidAPI

Installation

Install using npm or yarn

  npm install reddit-memes-api

  yarn add reddit-memes-api

API Reference

Type 1 - Get data
  GET /${subreddit}
ParameterTypeDescription
subredditstringRequired. Need valid subreddit name
Type 2 - Get data
  GET /${subreddit}/${memesare}?limit=${limit}
ParameterTypeDescription
subredditstringRequired. Need valid subreddit name
memesarestringRequired. Need valid memesare type
limitintOptional. Number of results to display
Type 3 - Get data
  GET /${subreddit}/${memesare}/${freq}?limit=${limit}
ParameterTypeDescription
subredditstringRequired. Need valid subreddit name
memesarestringRequired. Need valid memesare type
freqstringRequired. Need valid frequency
limitintOptional. Number of results to display
Paramaters information
ParameterTypeValid Paramaters
subredditstringmeme, memes, joke, jokes
memesarestringhot, new, top, rising
freqstringnow, hour, day, week, month, year, all
limitintprovide according to no. of contents exists in subreddit

Usage/Examples

https://....../memes
https://....../memes/hot
https://....../memes/hot?limit=100
https://....../memes/top/all
https://....../memes/top/all?limit=100

Remove .... with actual url

Methods for node package

f1(subreddit)

f2(subreddit,memesare,limit)

f3(subreddit,memesare,freq,limit)

Contributing

Contributions are always welcome!

See Contributing.md for ways to get started.

Please adhere to this project's Code Of Conduct.

Issues

Not yet discovered

Support

Need support ? Create a new issue.Support the project, Sponsor!

License

This project is licensed under MIT License

Keywords

FAQs

Last updated on 02 Jan 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc