Popular Recipes

Obtain a list of popular recipes

Use the popularRecipes query to obtain a list of recipes that are popular with users in the same program.

Available Fields

The following fields will be displayed in the response:

Field Name

Type

Description

id

ID!

The recipe's id

databaseId

String

The database id of the recipe

totalTime

String

Total preparation and cooking time in text format

E.g., 5 minutes

name

String

Name of the recipe

Refer to this documentation to get the complete list of recipe fields you can add to the query response

Example

{
  popularRecipes {
    edges {
      node {
        id
        name
      }
    }
  }
}

UI/UX example

In the same way, we have code examples, this is an implementation example in which see results of the API execution in the Suggestic App.

Login to the App, go to the Recipe option; Popular recipes are displayed below the Favorites recipes.

Last updated