{ "opencollection": "1.0.0", "info": { "name": "fatsecret Foods API", "version": "3.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://oauth.fatsecret.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Foods", "type": "folder" }, "items": [ { "info": { "name": "Search foods", "type": "http" }, "http": { "method": "GET", "url": "https://platform.fatsecret.com/rest/foods/search/v5", "params": [ { "name": "search_expression", "value": "", "type": "query" }, { "name": "page_number", "value": "", "type": "query" }, { "name": "max_results", "value": "", "type": "query" } ] }, "docs": "Search the fatsecret food database for foods matching a query string." }, { "info": { "name": "Autocomplete food search", "type": "http" }, "http": { "method": "GET", "url": "https://platform.fatsecret.com/rest/foods/autocomplete/v2", "params": [ { "name": "expression", "value": "", "type": "query" } ] }, "docs": "Autocomplete food search" }, { "info": { "name": "Find food by barcode", "type": "http" }, "http": { "method": "GET", "url": "https://platform.fatsecret.com/rest/food/barcode/find-by-id/v1", "params": [ { "name": "barcode", "value": "", "type": "query" } ] }, "docs": "Find food by barcode" }, { "info": { "name": "Get food by id", "type": "http" }, "http": { "method": "GET", "url": "https://platform.fatsecret.com/rest/food/v4", "params": [ { "name": "food_id", "value": "", "type": "query" } ] }, "docs": "Get food by id" } ] } ], "bundled": true }