Skip to content

Specify count

Marco Ceccon edited this page Feb 19, 2020 · 1 revision

Specify count (MAX 100)

In order to get multiple memes in a single request specify the count with the following endpoint.

Endpoint: /{count}

Example: https://rndmemes.herokuapp.com/2

Response:

{
  "count": 2,
  "memes": [
    {
      "postLink": "https://redd.it/d5bn24",
      "subreddit": "meirl",
      "title": "meirl",
      "url": "https://i.redd.it/6wjb8gibu2n31.jpg"
    },
    {
      "postLink": "https://redd.it/d4zipy",
      "subreddit": "meirl",
      "title": "Me🚐irl",
      "url": "https://i.redd.it/hyl6fgweswm31.jpg"
    }
  ]
}

Clone this wiki locally