You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to fetch player resource for basketball league, using the 'lastweek' filter in order to get only last week's stats.
My call is as follows Yahoo.players.fetch('428.p.6515', ['lastweek']) (please assume it's obviously an existing player).
The error I get in return is :
Failed to generate report {
'xml:lang': 'en-us',
'yahoo:uri': '/fantasy/v2/players;player_keys=428.p.6515;out=lastweek?format=json',
description: 'Invalid player resource lastweek requested.',
detail: ''
}
The text was updated successfully, but these errors were encountered:
as the entries on the "tester" and it worked... can you share the code? My guess is that it's that you're passing "lastweek" in an array, and I think you can just use a string...
I'm trying to fetch player resource for basketball league, using the 'lastweek' filter in order to get only last week's stats.
My call is as follows
Yahoo.players.fetch('428.p.6515', ['lastweek'])
(please assume it's obviously an existing player).The error I get in return is :
The text was updated successfully, but these errors were encountered: