Closed jsundram closed 1 year ago
I double-checked my CSV file and the most recent puzzle it has data for is from 2023-09-27. I'll take a look soon to see if I can find a replacement API. Feel free to take a look if you've got the spare time.
Was able to fix by updating the endpoint URL, following https://www.reddit.com/r/crossword/comments/16uk92h/nyt_crossword_api_endpoint_downmoved/. Thanks for the heads up!
Thanks so much for the quick fix!
I've had this on cron to run monthly, but it hasn't gotten any new data since my pull on September 1; has the underlying API changed?
The curl request posted in the README currently fails, e.g.
curl 'https://nyt-games-prd.appspot.com/svc/crosswords/v3/36569100/puzzles.json?publish_type=daily&date_start=2023-09-01&date_end=2023-10-01' -H 'accept: application/json'
returns
when I run
./target/release/crossword data.csv --token {my token} --start-date 2023-09-01
I get:
however, data.csv is empty. I've logged in to the website and updated my nyt-s token (it's now NYT-S, and the value seems to have changed since I last cached it) but that doesn't seem to make a difference.