BuildShip Logo
BuildShip Community

FatSecret FoodSearch API

Create an HTTP node that accepts an access_token (to be provided as an input—typically passed from a Firebase node) and makes a GET request to https://platform.fatsecret.com/rest/foods/search/v3. The node should accept the following parameters as inputs: search_expression, format, include_sub_categories, flag_default_serving, max_results, language, region. The node should place the access_token in the Authorization header as 'Bearer {access_token}'. All parameters and the access_token should be configurable inputs.

0

Report this node

Select the reason for reporting

Describe the issue in detail

Share node

Link to node

https://templates.buildship.com/node/kuljinder_Cc8SksvX4tZ2/

Inputs

Access Token

eyJhbGciOiJSUzI1NiIsImtpZCI6IjEwOEFEREZGRjZBNDkxOUFBNDE4QkREQTYwMDcwQzE5NzNDRjMzMUUiLCJ0eXAiOiJhdCtqd3QiLCJ4NXQiOiJFSXJkX19ha2tacWtHTDNhWUFjTUdYUFBNeDQifQ.eyJuYmYiOjE3NDc2MDI3MzAsImV4cCI6MTc0NzY4OTEzMCwiaXNzIjoiaHR0cHM6Ly9vYXV0aC5mYXRzZWNyZXQuY29tIiwiYXVkIjoicHJlbWllciIsImNsaWVudF9pZCI6ImQ4NTNhNDk0NTgwNTQxMTlhZGNlNjVlZGQ4MWRmZmJlIiwic2NvcGUiOlsicHJlbWllciJdfQ.sj0n3pWBRrfAYBH7P1QJ67_QjfFuM3bqIbgJqycF6dkpkaLgRhTXMmnCS_OcvQQo6nbTyjEoQN5azEg9ajczaVTPnUmK2-60NPm_TjWiQ85ZHfH8UvqADazj4E631DgLO9opGBcWYMGgDwoUs_yzh51ifZw3-KNycRdKk31OmxJEBW_2jrLd6Im1tda4KcQry1x1p_OJqOUu4_ZPBPbbfPAYUpEPcs8gqpxG36CG6KQaz6GfLh8KlLcxdjPilyU6SNwk44tN4uWB_uGsRz2HVHt3UESJXnlAeiRaO_9l3IgSvsCetdButkcaXod6pISSdZp_h7iNGnh1P3i9GvRpwXBS4MFSEGJxmugwei03CWIvWURybmHoDEmOdnkvOE6Qf-zZsIG1NZxoeV4VOcwNhIhPHUO1k66sDNDKqd9BKRLQF1fmPGrQog61ZPHJZ7zKYyhKKokv2w7WRpUKZEsfHV5ZOeaajVeAU7M1yXyyjjqmwP45c8Vk-LKlA3hYiHyI13AGi7rrTVoAvIaAKz0Pe_QRdeFZBQ-dtPS64SjQAa6hvMpTJnWGUFXzzQ1K2SHWHIJr-oqj2LDzlNkiKnxdQn6aQ6I7mIragnprn59AuW0UjfIJx9OL6pkaGL301pf6NyxmLJJMTNnjtQUz-4y7QVhm3nKXfSpvDUmdoUBM568

Search Expression

chicken breast

Format

json

Include Sub Categories

True
False

Flag Default Serving

True
False

Max Results

10

Language

en

Region

us
This is a static example using sample inputs. Copy the node and paste it into your BuildShip flow to run it with your own values.

Output