Feed Information
Detail | Info |
|---|---|
Update Interval | When required |
Atom feed keyword | /baseball/players |
HTTP MLB | http://xml.sportsdirectinc.com/sport/v2/baseball/MLB/players/(season-name)/players_(team-id)_MLB.xml |
Note that the URLs listed above are not valid; keywords in parentheses must be replaced with real values.
Common Data
League Data
Item |
| Notes |
|---|---|---|
Sport Id |
|
|
Sport Name |
|
|
League Id |
|
|
League Name |
|
|
League Short Name |
|
|
Season Data
Item |
| Notes |
|---|---|---|
Id |
|
|
Name |
|
|
Start Date |
|
|
End Date |
|
|
Conference Data
Item |
| Notes |
|---|---|---|
Id |
|
|
Name |
|
|
Short Name |
|
|
Division Data
Item |
| Notes |
|---|---|---|
Id |
|
|
Name |
|
|
Alias |
|
|
Active? |
| True/false; whether or not the division is active. |
Team Data
Item |
| Notes |
|---|---|---|
Id |
|
|
Display Name |
|
|
Player Data
Item |
| Notes |
|---|---|---|
Id |
|
|
First Name |
|
|
Last Name |
|
|
Height |
| Specified in pounds. |
Weight |
| Specified in inches. |
Birth Date |
| for NFL and CFL only |
City |
|
|
State |
| For Canada, USA only. |
Country |
|
|
Number |
| Season-specific. |
Position |
| Season-specific. |
Active? |
| True/false, whether or not the player is active on the team. |
Salary |
| for NFL, MLB, NBA and NHL only |
Baseball Player Data
Detail |
| Notes |
|---|---|---|
School |
| Player's college; inclusion depends on data availability. |
Throws |
| left/right |
Bats |
| left/right/switch |