Get Recipes from a Collection

This endpoint allows getting all recipes from a collection.

Get Recipes from Collection

GET https://graph.whisk.com/v1/:collection_id/recipes

Path Parameters

NameTypeDescription

collection_id

string

Unique collection identifier

Request Body

NameTypeDescription

limit

number

This is the maximum number of objects that may be returned Default value: 16

before

string

This is the cursor to return data on a page before it.

after

string

This is the cursor to return data on a page before it.

{
  "recipes": [
    {
      "id": "97f77cceca5d11e7ae7e42010a9a0035",
      "name": "Quick coronation chicken sandwich",
      "description": "Use leftover roast chicken to make a delicious coronation chicken sandwich ready to pack in your lunchbox.",
      "images": [
        {
          "url": "http://cdnwp.audiencemedia.com/wp-content/uploads/2015/01/478091-1-eng-GB_coronation-chick-sandwich-470x540.jpg",
          "responsive": {
            "url": "https://lh3.googleusercontent.com/crjY_vyxK8kdBYYBd6VVtlGwIXuG3pn9DuCSWP4-_VtURbrYfpKPrYDMmrlCwc8kqSAsgCBtjhqU2C7PEjU0wMDh4FSK",
            "width": 470,
            "height": 540
          }
        },
        {
          "url": "http://cdnwp.audiencemedia.com/wp-content/uploads/2015/01/478091-1-eng-GB_coronation-chick-sandwich.jpg",
          "responsive": {
            "url": "https://lh3.googleusercontent.com/fz02xdShfu1ax6ZZLhMp2zn7WwGXN7XlVx6ZXR8X_uN-x5DEdCW_Q9tIacitVtyI-yIkxZ6-nqpLCQIrPNijwM4wIPg",
            "width": 960,
            "height": 927
          }
        }
      ],
      "source": {
        "name": "deliciousmagazine.co.uk",
        "displayName": "delicious. magazine",
        "sourceRecipeUrl": "http://www.deliciousmagazine.co.uk/recipes/quick-coronation-chicken-sandwich/",
        "license": "Fairuse"
      },
      "numberOfServings": 1,
      "labels": {
        "mealType": [],
        "cuisine": [],
        "category": [
          {
            "name": "quick-and-easy",
            "displayName": "Quick and easy"
          }
        ]
      }
    },
    ...
  ],
  "paging": {
    "cursors": {
      "after": "eyJpZCI6ImNhZjVlOWY3Y2YxNzFkYjBmZTdkYjJmOTM4M2M0ZDIzIiwiaW5kZXgiOjF9"
    },
    "total": 53
  }
}

Sample Request

curl "https://graph.whisk.com/v1/9773cb7eca5d11e7ae7e42010a9a0035/recipes" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer <Access-Token>"

Last updated