Fantasy Owners
Fantasy Owners v2.0
Summary
| Fantasy Owners | |
| Resource | |
| Fantasy Owners | A list of owners and their fantasy teams in a fantasy league. |
| HTTP Methods | |
| GET | Retrieve a list of owners and their teams. |
| Example | |
| Retrieve Fantasy Teams | |
| XML field definitions | |
| /owners | A container element for the list of owners. |
| /owners/ | A container element for the data on one owner in the list. |
| /owners/ | The ID of the owner. |
| /owners/ | Indicates whether the owner is a commissioner or not, as a boolean value. |
| /owners/ | A boolean indicating whether the owner record is for the user on whose behalf the data is being requested, as determined by the user data contained in the access token. |
| /owners/ | The owner’s name as they want it to be displayed in their league. |
| /owners/ | A container element for data on the team that the owner owns. |
| /owners/ | The ID of the fantasy team. |
| /owners/ | The URL of the team’s logo. |
| /owners/ | An abbreviation of the team’s name, as a string with a maximum length of 10 characters. |
| /owners/ | An abbreviation of the team’s name, as a string with a maximum length of 3 characters. |
| /owners/ | An abbreviation of the team’s name, as a string with a maximum length of 6 characters. |
| /owners/ | The full name for the team. |
GET
Retrieve a list of owners and their teams.
URL
http://api.cbssports.com
Parameters
| response_format | (optional) Specifies the format in which the requested resource should be returned. Valid values are XML and JSON. The default is XML. |
Retrieve Fantasy Teams
Sample URL
http://api.cbssports.com/fantasy/league/owners?version=2.0
XML Response
<?xml version="1.0"?>
<result uriAlias="/league/owners" uri="/league/owners" statusCode="200" statusMessage="OK">
<body>
<owners>
<owner id="866493BE-1C32-11E1-8B26-B6974014EAF9">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="20">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="86649936-1C32-11E1-88DD-A35BF9E41363">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="16">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="86649CBA-1C32-11E1-AF50-9DFA17EE94AE">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="22">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664A250-1C32-11E1-B21A-9223F908927D">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="22">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664A5D4-1C32-11E1-9F27-9710695067A9">
<commissioner>1</commissioner>
<name>Owner Name</name>
<team id="10">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664A93A-1C32-11E1-9841-EF97A31727A9">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="7">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664ACA0-1C32-11E1-89EA-EBDA42FC8836">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="23">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664B042-1C32-11E1-AE24-9132B7E9DB25">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="23">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664B3C6-1C32-11E1-97DA-868039E2F683">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="11">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664B772-1C32-11E1-955A-C97ADBD3B707">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="18">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664BACE-1C32-11E1-A0F1-A1AB5219F7CC">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="18">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664BE84-1C32-11E1-9EFB-FA6C51E1FD12">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="1">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664C1E0-1C32-11E1-924A-EC648BD70264">
<commissioner>1</commissioner>
<name>Owner Name</name>
<team id="1">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664C58C-1C32-11E1-80DF-A68E1D3EFB97">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="8">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664C97E-1C32-11E1-A2A2-C95FDDF93CF1">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="19">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664CD20-1C32-11E1-A96D-AAB66B6399F7">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="21">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664D0B8-1C32-11E1-A604-D425A2BBF97E">
<commissioner>1</commissioner>
<logged_in_owner>1</logged_in_owner>
<name>Owner Name</name>
<team id="15">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
<owner id="8664D482-1C32-11E1-BCEE-8E55BB72EDE8">
<commissioner>0</commissioner>
<name>Owner Name</name>
<team id="9">
<logo>Team Logo URL</logo>
<long_abbr>Team Long Abbreviation</long_abbr>
<abbr>Team Long Abbreviation</abbr>
<short_name>Team Short Name</short_name>
<name>Team Name</name>
</team>
</owner>
</owners>
</body>
</result>JSON Response
{
"body" : {
"owners" : [
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "866493BE-1C32-11E1-8B26-B6974014EAF9",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "20"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "86649936-1C32-11E1-88DD-A35BF9E41363",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "16"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "86649CBA-1C32-11E1-AF50-9DFA17EE94AE",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "22"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "8664A250-1C32-11E1-B21A-9223F908927D",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "22"
}
},
{
"commissioner" : 1,
"name" : "Owner Name",
"id" : "8664A5D4-1C32-11E1-9F27-9710695067A9",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "10"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "8664A93A-1C32-11E1-9841-EF97A31727A9",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "7"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "8664ACA0-1C32-11E1-89EA-EBDA42FC8836",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "23"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "8664B042-1C32-11E1-AE24-9132B7E9DB25",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "23"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "8664B3C6-1C32-11E1-97DA-868039E2F683",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "11"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "8664B772-1C32-11E1-955A-C97ADBD3B707",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "18"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "8664BACE-1C32-11E1-A0F1-A1AB5219F7CC",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "18"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "8664BE84-1C32-11E1-9EFB-FA6C51E1FD12",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "1"
}
},
{
"commissioner" : 1,
"name" : "Owner Name",
"id" : "8664C1E0-1C32-11E1-924A-EC648BD70264",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "1"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "8664C58C-1C32-11E1-80DF-A68E1D3EFB97",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "8"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "8664C97E-1C32-11E1-A2A2-C95FDDF93CF1",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "19"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "8664CD20-1C32-11E1-A96D-AAB66B6399F7",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "21"
}
},
{
"commissioner" : 1,
"logged_in_owner" : 1,
"name" : "Owner Name",
"id" : "8664D0B8-1C32-11E1-A604-D425A2BBF97E",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "15"
}
},
{
"commissioner" : 0,
"name" : "Owner Name",
"id" : "8664D482-1C32-11E1-BCEE-8E55BB72EDE8",
"team" : {
"logo" : "Team Logo URL",
"long_abbr" : "Team Long Abbreviation",
"abbr" : "Team Long Abbreviation",
"short_name" : "Team Short Name",
"name" : "Team Name",
"id" : "9"
}
}
]
},
"uriAlias" : "/league/owners",
"statusMessage" : "OK",
"uri" : "/league/owners",
"statusCode" : 200
}/owners/owner/team/@id
The ID of the fantasy team. You get a list of the team IDs and their expansions by requesting the Fantasy Teams resource.
