Open NadlesKVs opened 3 weeks ago
Change
let obj = JSON.parse(UrlFetchApp.fetch('https://fantasy.espn.com/apis/v3/games/ffl/seasons/' + year + '?view=proTeamSchedules').getContentText());
to this
let obj = JSON.parse(UrlFetchApp.fetch('https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/seasons/' + year + '?view=proTeamSchedules').getContentText());
Appears to work.
There's a very big update I just did and overwrote the original single massive JavaScript file. Make a copy of the Google Sheet and see how it goes!
Change
let obj = JSON.parse(UrlFetchApp.fetch('https://fantasy.espn.com/apis/v3/games/ffl/seasons/' + year + '?view=proTeamSchedules').getContentText());
to this
let obj = JSON.parse(UrlFetchApp.fetch('https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/seasons/' + year + '?view=proTeamSchedules').getContentText());
Appears to work.