- Notifications
You must be signed in to change notification settings - Fork1
Memes api Powered by Reddit!
License
NotificationsYou must be signed in to change notification settings
Harry260/meme-api
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Memable is a Meme Explorer website (im working on) and this is a prototype of the API i created for it. It is powered by Rddit!
git clone https://github.com/harry260/meme-api
npm install
npmstart
/memes?subreddits=<subreddit1>,<subreddit>:<last_post_id>&filter=<filter>&max=<max>
Parameter | Description | Example |
---|---|---|
subreddits | Comma separated list of subreddits. Use colon to separate if you need to set last post id | subreddits=wholesomememes:lastIdLOL ,memes,dankmemes |
filter | Add filter (hot |top |new |controversial |raising ) | filter=hot |
max | Maximum number of memes from each subreddit. Doesn't mean the exact count. | max=50 |
#### Example request & response```bat/memes?subreddits=memes,dankmemes:uc569x,wholesomememes&filter=hot&max=69
Example response |
---|
You can deploy this to either Vercel or Railway or any other hosting service.
Show your support by 🌟 Starring this repo or buy me a coffee!
About
Memes api Powered by Reddit!