Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (37 sloc) 1016 Bytes

The Meme Captain API is currently experimental and may change.

Searching Source Images

HTTP GET http://memecaptain.com/src_images. For this request set the Accept header to application/json.

Query String parameters

  • page - result set page
  • q - search string

curl example

curl -s -H 'Accept: application/json' 'http://memecaptain.com/src_images/?q=test&page=1' | jq .
[
  {
    "id_hash": "j5k4_g",
    "width": 800,
    "height": 450,
    "size": 9976994,
    "content_type": "image/gif",
    "created_at": "2015-06-11T04:13:03.731Z",
    "updated_at": "2015-06-16T06:14:34.102Z",
    "name": "test2",
    "image_url": "http://memecaptain.com/src_images/j5k4_g.gif"
  },
  {
    "id_hash": "VEE7rg",
    "width": 600,
    "height": 800,
    "size": 62411,
    "content_type": "image/jpeg",
    "created_at": "2015-06-11T04:14:37.965Z",
    "updated_at": "2015-06-16T06:14:29.506Z",
    "name": "test1",
    "image_url": "http://memecaptain.com/src_images/VEE7rg.jpg"
  }
]