recipe_types.get.v2

Description

This is a utility method, returning the full list of all supported recipe type names.

All the results of this call may be stored indefinitely per localized response.

Localization (Premier Only):

One additional optional parameter named region is available to premier clients. More information can be found in the Localization guide.

Parameters

Required

Name Type Description
method String MUST be "recipe_types.get.v2"

Optional

Name Type Description
format String The desired response format. Valid reponse formats are "xml" or "json" (default value is "xml").

Example Return XML

<?xml version="1.0" encoding="utf-8" ?>
<recipe_types xmlns="http://platform.fatsecret.com/api/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://platform.fatsecret.com/api/1.0/ http://platform.fatsecret.com/api/1.0/fatsecret.xsd">
    <recipe_types>Appetizers</recipe_types>
    <recipe_types>Soups</recipe_types>
    <recipe_types>Main Dishes</recipe_types>
</recipe_types>

Example Return JSON

{ "recipe_types": { "recipe_types": [ "Appetizers", "Soups", "Main Dishes" ] }}

Error Code

Code Description
13 Invalid token: "<detail>"
FatSecret Sites
For Developers

For Professionals

For Everyone

FatSecret Platform API

Developers

Support
API

About FatSecret

© 2023 FatSecret. All rights reserved.