{"repo":"saganos/yazio_public_api","free":true,"listed":false,"github":"https://github.com/saganos/yazio_public_api","clone":"git clone https://github.com/saganos/yazio_public_api.git","description":"Yazio Nutrition App public API description","language":null,"stars":51,"topics":["yazio","api","yazio-api","nutrition"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Yazio API description ============ What ------------ Public API description for Yazio application. Documented API version: v15 ( https://yzapi.yazio.com/v15 ) Why? ------------ 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 How to install ------------ Documentation ------------ A 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. ⚠️ The other endpoints won't work in the swagger UI, as long as you are playing around using the public swagger editor. The reason is that yazio has CORS security rules enabled that can only be omitted using HTTP or localhost clients. You can use the client credentials that are posted in this repository. Examples: ------------ Login ### login.js - Login to Yazio App with login and password using OAUTH2 ---- Token refresh ### token refresh.js - Refresh login token Get user info ### get user info.js - Gets user info ---- Search products ### search products.js - Search for food products by name ---- Get diary entries ### get diary.js - Get consumed items (food diary) for a given date","default_branch":null,"files":null,"tree":[],"storefront":"/r/saganos","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/saganos/yazio_public_api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}