:{parent_resource/:resource_id/}teams/:id/roster

Returns a player roster for a single team member, specified by the parameters below.

URL


http://api.fanfeedr.com/tier/api/:{parent_resource/:resource_id/}teams/:id/roster?api_key=

Valid Parent Resources


Leagues, Conferences, Divisions

Parameters


Required

  • id

             The UUID of the desired team.

             http://ffapi.fanfeedr.com/tier/api/teams/a11b22c2-1bb1-1c21-c1ab-1c121c1ca121/roster?api_key=

Optional

  • parent_resource

             The actual parent_resource name.

             http://ffapi.fanfeedr.com/tier/api/leagues/:resource_id/teams/:id/roster?api_key=

             http://ffapi.fanfeedr.com/tier/api/conferences/:resource_id/teams/:id/roster?api_key=

             http://ffapi.fanfeedr.com/tier/api/divisions/:resource_id/}/teams/:id/roster?api_key=

  • resource_id

             The UUID of the desired parent_resource.

             http://ffapi.fanfeedr.com/tier/api/leagues/x99y99z0-9zz9-9x09-x9yz-9x909x9xy909/teams/:id/roster?api_key=

             http://ffapi.fanfeedr.com/tier/api/conferences/y99x99z0-9zz9-9y09-y9xz-9y909y9yx909/teams/:id/roster?api_key=

             http://ffapi.fanfeedr.com/tier/api/divisions/z00x00y9-0yy0-0z90-z0xy-0z090z0zx090/teams/:id/roster?api_key=

Sample Requests


http://ffapi.fanfeedr.com/api/:{parent_resource/:resource_id/}teams/:id/roster - Try it now! [COMING SOON]

[
  • -
    {
    • first_name: "Paul"
    • last_name: "Pierce"
    • end_date: null
    • jersey_number: null
    • start_date: "2010-02-10T00:00:00.000000Z"
    • position: "G"
    • id: "a94d2830-b9d0-55b1-96f9-f725555cfbcf"
    }
  • -
    {
    • first_name: "Carlos"
    • last_name: "Arroyo"
    • end_date: null
    • jersey_number: 45
    • start_date: "2011-03-06T00:00:00.000000Z"
    • position: "G"
    • id: "ed063067-02e4-57ef-9ff3-a68ffe7f0c67"
    }
  • -
    {
    • first_name: "Ray"
    • last_name: "Allen"
    • end_date: null
    • jersey_number: 20
    • start_date: "2009-03-23T00:00:00.000000Z"
    • position: "G"
    • id: "fc5ea0d7-fcb2-59d5-9f09-508366d707b4"
    }

Relevant Discussions


Discuss this resource in our forums here.

2 Comments

  1. tis5019 months ago

    This api call doesn't seem to be working. Tried the following to calls, one for the Detroit Lions, didn't work maybe due to preseason and rosters not set yet. I also tried the Detroit Tigers. I noticed in the documentation that this call url is "http://api." where most others are "http://ffapi.". Notice the "ff" difference. In either case, it doesn't work. The other calls I've tried have been working, am I missing something on this one?

    http://ffapi.fanfeedr.com/basic/api/Leagues/13962b74-cab5-5d0a-93c8-466b6a3fa342/teams/e6704bbc-2486-565b-a7ff-aaa2ae6f6ad8/roster?api_key=<api_key>

    http://ffapi.fanfeedr.com/basic/api/Leagues/20f0857f-3c43-5f50-acfc-879f838ee853/teams/14ec4612-5ae8-57d8-bc99-d2c115152ec0/roster?api_key=<api_key>

  2. Benn9 months ago

    Shorten the syntax as below to get the desired returns:

    http://ffapi.fanfeedr.com/basic/api/teams/e6704bbc-2486-565b-a7ff-aaa2ae6f6ad8/roster?api_key=<api_key>

Please sign in to post a comment.