login
Store your NYT Cooking credentials to enable persistent server login and access personal recipe collections.
Instructions
Store your NYT Cooking credentials so the server stays logged in.
NYT Cooking has no OAuth, so credentials are harvested once from your logged-in browser and persisted server-side (like a session token):
nyt_s_cookie: value of the
NYT-Scookie on cooking.nytimes.com (DevTools -> Application -> Cookies).user_id: the
regi_idvalue inside theregi_cookie(needed only for list_saved_recipes).
The credentials are written to the server's credentials file and verified with a live request before returning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nyt_s_cookie | Yes | ||
| user_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||