Sharing of shopping lists
Recipes currently has minimal support for sharing recipes and shopping lists via email. As a first step in this project, we will add support for sending a shopping list to a mobile task-tracking app; Todoist is a good candidate. This will require some research into the APIs for such apps, followed by writing code to talk it. The code will eventually live in a portal service, and recipes will talk to it over D-Bus.
We plan to share the oauth2 setup and app with other GNOME apps, like gnome-todo. See 780138 for the bug tracking the necessary GOA provider.
1. Background
2. Details
Here is a step-by-step outline for how I envision this work to proceed.
Research the Todoist and/or Wunderlist api: https://developer.todoist.com/
We expect the application to prompt the user to set up their Todoist or Wunderlist account in gnome-online-accounts, and then the app will just call https://developer.gnome.org/goa/stable/GoaOAuth2Based.html#goa-oauth2-based-call-get-access-token to obtain an access token
- The gnome-todo repository has a branch with a todoist plugin that can be studied (but that code is based on the V6 api and is now outdated)
- gnome calendar does the 'prompt the user to set up a goa account' part, and can also be studied