HTTP BASIC auth (emoji shrug), and send a GET to:
- https://www.paprikaapp.com/api/v1/sync/bookmarks/
- https://www.paprikaapp.com/api/v1/sync/groceries/
- https://www.paprikaapp.com/api/v1/sync/categories/
- https://www.paprikaapp.com/api/v1/sync/recipes/
- https://www.paprikaapp.com/api/v1/sync/meals/
Syncing a particular recipe:
API uses BASIC auth; whatever your cloud sync is
Send a POST to: https://www.paprikaapp.com/api/v1/sync/recipe/{uid-of-recipe}/
With your recipe in a multipart/form-data
, in the data
param. Example:
{
"uid": "ccb42915-5fe9-425d-98da-c1ffbe420159",
"name": "Test",
"directions": "Do",
"servings": "",
"rating": 0,
"difficulty": "Easy",
"ingredients": "Ddddjdjdd\nDjdjdjdd\nDjdhdhdhdndnee ",
"notes": "",
"created": "2018-03-26 09:00:02",
"image_url": null,
"on_favorites": 0,
"cook_time": "",
"prep_time": "",
"source": "",
"source_url": "",
"photo_hash": null,
"photo": null,
"nutritional_info": "",
"scale": null,
"deleted": false,
"categories": [
"cbaca738-cdfb-4150-960d-e1b1ac4cdcc3"
],
"hash": "162e5ad0134e9398b98057aea951304780d0396582238320c28b34a7c35f841e"
}
The data
param should be gzip-encoded