Public API description for Yazio application.
Documented API version: v15 (https://yzapi.yazio.com/v15)
After waiting for more than one year for public API description I was tired.
Some functions are still missing (i.e. Share saved meal with other people) - should be easier now to create it as a plugin / extension / additional webapp
npm i node-fetch --saveA swagger.json file was added. You can use the public swagger editor to paste/import it and play around.
ℹ️ The OAuth part works. Authenticate via POST /oauth/token with Content-Type: application/x-www-form-urlencoded (not JSON). You can log in and retrieve a valid token.
node examples/login.jslogin.js - Login to Yazio App with login and password using OAUTH2
node examples/token_refresh.jstoken_refresh.js - Refresh login token
node examples/get_user_info.jsget_user_info.js - Gets user info
node examples/search_products.jssearch_products.js - Search for food products by name
node examples/get_diary.jsget_diary.js - Get consumed items (food diary) for a given date