Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Memes api Powered by Reddit!

License

NotificationsYou must be signed in to change notification settings

Harry260/meme-api

Repository files navigation


Bob The Bot
Memable API

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!

Bob The Bot


Table of content


Usage

Clone the repo

git clone https://github.com/harry260/meme-api

Install dependencies

npm install

Run the server

npmstart

Endpoints

/memes

/memes?subreddits=<subreddit1>,<subreddit>:<last_post_id>&filter=<filter>&max=<max>
ParameterDescriptionExample
subredditsComma separated list of subreddits. Use colon to separate if you need to set last post idsubreddits=wholesomememes:lastIdLOL,memes,dankmemes
filterAdd filter (hot|top|new|controversial |raising)filter=hot
maxMaximum 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

Deploy

You can deploy this to either Vercel or Railway or any other hosting service.

Deploy on Railway

Deploy with Vercel

Show your support

Show your support by 🌟 Starring this repo or buy me a coffee!

Buy Me A Coffee


[8]ページ先頭

©2009-2025 Movatter.jp