0

Team Total Games Played

Hi,

I'm trying to retrieve the total games played for each team for a specific date time point. This doesn't appear to be something that that is available through the API (please correct me if I'm wrong)?

To collect this information manually, I'm trying to query each roster for each team on each particular date with stats. From previous posts in the forum, I've learned the query below retrieves single team roster with players stat on a specific date:

teams;team_keys=304.l.123456.t.1/roster/players/stats;type=date;date=2012-12-29

My dilemma is I want this for multiple teams. Is there a way to get the same data for multiple teams with one call (I've tried adding multiple team_keys to the above query and it does not work)?

by
1 Reply
  • How does Yahoo! define a player as having played a game for a day? Example, below is the returned XML stats data for a player who was slotted in the PG position but did not play a minute in the game (which I assume does not count as a games played):

    <stat>
        <stat_id>4</stat_id>
        <value>0</value>
    </stat>
    <stat>
        <stat_id>3</stat_id>
        <value>0</value>
    </stat>
    <stat>
        <stat_id>5</stat_id>
        <value>-</value>
    </stat>
    <stat>
        <stat_id>7</stat_id>
        <value>0</value>
    </stat>
    <stat>
        <stat_id>6</stat_id>
        <value>0</value>
    </stat>
    <stat>
        <stat_id>8</stat_id>
        <value>-</value>
    </stat>
    <stat>
        <stat_id>10</stat_id>
        <value>0</value>
    </stat>
    <stat>
        <stat_id>12</stat_id>
        <value>0</value>
    </stat>
    <stat>
        <stat_id>15</stat_id>
        <value>0</value>
    </stat>
    <stat>
        <stat_id>16</stat_id>
        <value>0</value>
    </stat>
    <stat>
        <stat_id>17</stat_id>
        <value>0</value>
    </stat>
    <stat>
        <stat_id>18</stat_id>
        <value>0</value>
    </stat>
    <stat>
        <stat_id>19</stat_id>
        <value>0</value>
    </stat>
    

    I was expecting values to be "-" and not "0". How can we differentiate this scenario versus the scenario where a player who plays some minutes but did not garner any stats (which would count as plus 1 games played)?

    0

Recent Posts

in Fantasy Sports API