Fleaflicker API API Reference
Our HTTP API.
API Endpoint
https://www.fleaflicker.com/api
Contact: info@fleaflicker.com
Request Content-Types: application/json
Response Content-Types: application/json, application/protobuf
Schemes: https
Version: 1.0 (protobuf backward and forward compatibility)
Paths
League activity feed
(no description)
(no description)
(no description)
A successful response.
Response Example (200 OK)
{
"items": [
{
"time_epoch_milli": "string (int64)",
"is_new": "boolean (boolean)",
"trade": {
"trade_id": "integer (int32)",
"type": "string",
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{}
]
}
}
}
]
}
Boxscore
(no description)
(no description)
(no description)
(no description)
A successful response.
Response Example (200 OK)
{
"game": {
"id": "string (int64)",
"away": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
]
}
}
}
Draft board
(no description)
(no description)
(no description)
1-based index, most recent if 0 or omitted.
(no description)
?external_id_type=aaa&external_id_type=bbb
A successful response.
Response Example (200 OK)
{
"draft_order": [
{
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {
"trades_pending": "integer (int32)"
}
}
]
}
All league rosters
(no description)
(no description)
(no description)
(no description)
(no description)
?external_id_type=aaa&external_id_type=bbb
A successful response.
Response Example (200 OK)
{
"rosters": [
{
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
]
}
}
]
}
Scoring and roster rules
(no description)
(no description)
A successful response.
Response Example (200 OK)
{
"roster_positions": [
{
"label": "string",
"group": "string",
"eligibility": [
"string"
],
"min": "integer (int32)",
"max": "integer (int32)",
"start": "integer (int32)",
"colors": [
"string"
]
}
],
"groups": [
{
"label": "string",
"scoring_rules": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"points": {
"value": "number (float)",
"formatted": "string"
},
"for_every": "integer (int32)",
"bound_lower": "integer (int32)",
"bound_upper": "integer (int32)",
"description": "string",
"points_per": {
"value": "number (float)",
"formatted": "string"
},
"apply_to": [
"string"
],
"apply_to_all": "boolean (boolean)"
}
]
}
],
"num_starters": "integer (int32)",
"num_bench": "integer (int32)",
"max_active": "integer (int32)",
"max_roster_size": "integer (int32)"
}
League scoreboard
(no description)
(no description)
(no description)
(no description)
A successful response.
Response Example (200 OK)
{
"schedule_period": {
"ordinal": "integer (int32)",
"low": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"high": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"contains_now": "boolean (boolean)",
"value": "integer (int32)"
},
"eligible_schedule_periods": [
{
"ordinal": "integer (int32)",
"low": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"high": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"contains_now": "boolean (boolean)",
"value": "integer (int32)"
}
],
"games": [
{
"id": "string (int64)",
"away": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)"
}
}
}
]
}
League standings
(no description)
(no description)
optional, defaults to the current season.
A successful response.
Response Example (200 OK)
{
"divisions": [
{
"id": "integer (int32)",
"name": "string",
"teams": [
{
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)"
}
]
}
]
}
]
}
Transaction history
(no description)
(no description)
(no description)
(no description)
A successful response.
Response Example (200 OK)
{
"items": [
{
"time_epoch_milli": "string (int64)",
"is_new": "boolean (boolean)",
"trade": {
"trade_id": "integer (int32)",
"type": "string",
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{}
]
}
}
}
]
}
League player listing
(no description)
(no description)
(no description)
(no description)
(no description)
(no description)
?filter.position.eligibility=aaa&filter.position.eligibility=bbb
(no description)
(no description)
(no description)
- DRAFT_BOARD_GREEN: 'RB', 'RP', 'SP', 'PG', 'LW', 'RW'
- DRAFT_BOARD_BLUE: 'WR', 'SG', 'LF', 'RF', 'CF', 'D'
- DRAFT_BOARD_YELLOW: 'TE', 'C'
- DRAFT_BOARD_RED: 'QB', 'SF', 'G'
- DRAFT_BOARD_GRAY: 'K'
- DRAFT_BOARD_PURPLE: all others
?filter.position.colors=aaa&filter.position.colors=bbb
(no description)
?filter.position_eligibility=aaa&filter.position_eligibility=bbb
(no description)
(no description)
(no description)
(no description)
?filter.player_id=aaa&filter.player_id=bbb
(no description)
(no description)
(no description)
(no description)
(no description)
?external_id_type=aaa&external_id_type=bbb
A successful response.
Response Example (200 OK)
{
"players": [
{
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)"
}
}
}
}
}
}
]
}
Team roster
(no description)
(no description)
(no description)
(no description)
(no description)
(no description)
?external_id_type=aaa&external_id_type=bbb
A successful response.
Response Example (200 OK)
{
"groups": [
{
"group": "string",
"slots": [
{
"position": {
"label": "string",
"group": "string",
"eligibility": [
"string"
],
"min": "integer (int32)",
"max": "integer (int32)",
"start": "integer (int32)",
"colors": [
"string"
]
},
"league_player": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)"
}
}
}
}
}
]
}
]
}
Team future picks
(no description)
(no description)
(no description)
A successful response.
Response Example (200 OK)
{
"picks": [
{
"owned_by": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
]
}
}
]
}
Trade listing
(no description)
(no description)
(no description)
(no description)
A successful response.
Response Example (200 OK)
{
"trades": [
{
"id": "integer (int32)",
"tentative_execution_time": "string (int64)",
"teams": [
{
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string"
}
]
}
}
]
}
]
}
User leagues listing
(no description)
(no description)
(no description)
optional, defaults to the current season.
A successful response.
Response Example (200 OK)
{
"leagues": [
{
"id": "integer (int32)",
"name": "string",
"initials": "string",
"sport": "string",
"logo_url": "string",
"owned_team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)"
}
]
}
}
]
}
Schema Definitions
webutil.html.types.SafeHtmlProto: object
IMPORTANT: It is unsafe to accept this message from an untrusted source, since it's trivial for an attacker to forge serialized messages that don't fulfill the type's safety contract -- for example, it could contain attacker controlled script. A system which receives a SafeHtmlProto implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe to return this message in RPC responses, but generally unsafe to accept it in RPC requests.
- private_do_not_access_or_else_safe_html_wrapped_value: string
-
IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message.
Example
{
"private_do_not_access_or_else_safe_html_wrapped_value": "string"
}
ws.flea.api.ClaimStatus: object
- type: ws.flea.api.ClaimType
- lock_epoch_milli: string (int64)
- clear_epoch_milli: string (int64)
Example
{
"type": "string",
"lock_epoch_milli": "string (int64)",
"clear_epoch_milli": "string (int64)"
}
ws.flea.api.ClaimType: string
ws.flea.api.CommishNote: object
- contents_markdown: string
- contents_text: string
- expiry: string (int64)
Example
{
"contents_markdown": "string",
"contents_text": "string",
"expiry": "string (int64)"
}
ws.flea.api.ContentRecommendation: object
- description_auth_safe: string
- last_updated_epoch_milli: string (int64)
- tease: string
- description: string
Example
{
"description_auth_safe": "string",
"last_updated_epoch_milli": "string (int64)",
"tease": "string",
"description": "string"
}
ws.flea.api.CreateLeagueResponse: object
- new_league: ws.flea.api.League
Example
{
"new_league": {
"id": "integer (int32)",
"name": "string",
"initials": "string",
"sport": "string",
"logo_url": "string",
"owned_team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string"
}
]
}
}
}
ws.flea.api.DepthChartRecommendation: object
- description: string
- stability: ws.flea.api.DepthChartStability
Example
{
"description": "string",
"stability": "string"
}
ws.flea.api.DepthChartStability: string
ws.flea.api.Division: object
- id: integer (int32)
- name: string
- teams: ws.flea.api.Team
-
ws.flea.api.Team
Example
{
"id": "integer (int32)",
"name": "string",
"teams": [
{
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {}
}
]
}
ws.flea.api.DraftBoardCell: object
- team: ws.flea.api.Team
- player: ws.flea.api.LeaguePlayer
- slot: ws.flea.api.DraftSlot
- descending: boolean (boolean)
- on_the_clock: boolean (boolean)
- trade_id: integer (int32)
- from_other_team: boolean (boolean)
- color: ws.flea.api.DraftBoardCellColor
- keeper: boolean (boolean)
Example
{
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {
"trades_pending": "integer (int32)",
"activity_unread": "integer (int32)",
"messages_unread": "integer (int32)"
}
}
}
ws.flea.api.DraftBoardCellColor: string
ws.flea.api.DraftBoardRow: object
- round: integer (int32)
- cells: ws.flea.api.DraftBoardCell
-
ws.flea.api.DraftBoardCell
Example
{
"round": "integer (int32)",
"cells": [
{
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
]
}
}
]
}
ws.flea.api.DraftPick: object
- owned_by: ws.flea.api.Team
- original_owner: ws.flea.api.Team
- slot: ws.flea.api.DraftSlot
- traded: boolean (boolean)
- player: ws.flea.api.ProPlayer
- season: integer (int32)
- deleted: boolean (boolean)
- lost: boolean (boolean)
- skipped: boolean (boolean)
Example
{
"owned_by": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {
"trades_pending": "integer (int32)",
"activity_unread": "integer (int32)",
"messages_unread": "integer (int32)"
}
}
}
ws.flea.api.DraftPickId: object
- original_owner_id: integer (int32)
- season: integer (int32)
- round: integer (int32)
Example
{
"original_owner_id": "integer (int32)",
"season": "integer (int32)",
"round": "integer (int32)"
}
ws.flea.api.DraftSlot: object
- round: integer (int32)
- slot: integer (int32)
- overall: integer (int32)
Example
{
"round": "integer (int32)",
"slot": "integer (int32)",
"overall": "integer (int32)"
}
ws.flea.api.DraftStatus: string
ws.flea.api.ExternalIdMapping: object
- type: ws.flea.api.ExternalIdType
- id: string
Example
{
"type": "string",
"id": "string"
}
ws.flea.api.FantasyGame: object
- id: string (int64)
- away: ws.flea.api.Team
- home: ws.flea.api.Team
- away_score: ws.flea.api.FantasyLineScore
- home_score: ws.flea.api.FantasyLineScore
- home_result: ws.flea.api.GameResult
- away_result: ws.flea.api.GameResult
- is_in_progress: boolean (boolean)
- is_final_score: boolean (boolean)
- is_consolation: boolean (boolean)
- is_playoffs: boolean (boolean)
- is_divisional: boolean (boolean)
- is_championship_game: boolean (boolean)
- is_third_place_game: boolean (boolean)
Example
{
"id": "string (int64)",
"away": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {
"trades_pending": "integer (int32)",
"activity_unread": "integer (int32)"
}
}
}
ws.flea.api.FantasyLineScore: object
- yet_to_play: integer (int32)
- yet_to_play_positions: string[]
-
string - in_play: integer (int32)
- in_play_positions: string[]
-
string - already_played: integer (int32)
- already_played_positions: string[]
-
string - score: ws.flea.api.FormattedDecimal
- projected: ws.flea.api.FormattedDecimal
Example
{
"yet_to_play": "integer (int32)",
"yet_to_play_positions": [
"string"
],
"in_play": "integer (int32)",
"in_play_positions": [
"string"
],
"already_played": "integer (int32)",
"already_played_positions": [
"string"
],
"score": {
"value": "number (float)",
"formatted": "string"
},
"projected": {
"value": "number (float)",
"formatted": "string"
}
}
ws.flea.api.FetchCreateLeagueOptionsResponse: object
- partitions_eligible: ws.flea.api.LeaguePartition
-
ws.flea.api.LeaguePartition - num_teams_default: integer (int32)
- num_divisions_default: integer (int32)
- types_eligible: ws.flea.api.LeagueTypeLabel
-
ws.flea.api.LeagueTypeLabel - type_default: ws.flea.api.LeagueType
- player_pools_eligible: ws.flea.api.PlayerPool
-
ws.flea.api.PlayerPool - player_pool_default: ws.flea.api.PlayerPool
Example
{
"partitions_eligible": [
{
"num_teams": "integer (int32)",
"num_divisions": [
"integer (int32)"
]
}
],
"num_teams_default": "integer (int32)",
"num_divisions_default": "integer (int32)",
"types_eligible": [
{
"value": "string",
"label": "string",
"description": "string"
}
],
"type_default": "string",
"player_pools_eligible": [
"string"
],
"player_pool_default": "string"
}
ws.flea.api.FetchLeagueActivityResponse: object
- items: ws.flea.api.LeagueActivityItem
-
ws.flea.api.LeagueActivityItem - result_offset_next: integer (int32)
- result_total: integer (int32)
- unread_item_count: integer (int32)
Example
{
"items": [
{
"time_epoch_milli": "string (int64)",
"is_new": "boolean (boolean)",
"trade": {
"trade_id": "integer (int32)",
"type": "string",
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)"
}
]
}
}
}
]
}
ws.flea.api.FetchLeagueBoxscoreResponse: object
- game: ws.flea.api.FantasyGame
- lineups: ws.flea.api.MatchupRosterGroup
-
ws.flea.api.MatchupRosterGroup - points_away: ws.flea.api.MatchupTeamScore
- points_home: ws.flea.api.MatchupTeamScore
- eligible_periods: ws.flea.api.ScoringPeriod
-
ws.flea.api.ScoringPeriod - scoring_period: ws.flea.api.ScoringPeriod
- is_in_progress: boolean (boolean)
Example
{
"game": {
"id": "string (int64)",
"away": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {}
}
}
}
ws.flea.api.FetchLeagueDraftBoardResponse: object
- draft_order: ws.flea.api.Team
-
ws.flea.api.Team - rows: ws.flea.api.DraftBoardRow
-
ws.flea.api.DraftBoardRow - keepers: ws.flea.api.TeamKeepers
-
ws.flea.api.TeamKeepers - is_in_progress: boolean (boolean)
Example
{
"draft_order": [
{
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {
"trades_pending": "integer (int32)",
"activity_unread": "integer (int32)"
}
}
]
}
ws.flea.api.FetchLeagueMessagesResponse: object
- messsages: ws.flea.api.LeagueMessage
-
ws.flea.api.LeagueMessage - result_offset_next: integer (int32)
- result_total: integer (int32)
- unread_item_count: integer (int32)
Example
{
"messsages": [
{
"id": "string (int64)",
"parent_id": "string (int64)",
"root_id": "string (int64)",
"title_text": "string",
"contents_html": {
"private_do_not_access_or_else_safe_html_wrapped_value": "string"
},
"contents_markdown": "string",
"contents_text": "string",
"author": {
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
},
"author_team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)"
}
}
]
}
}
}
]
}
ws.flea.api.FetchLeagueRostersResponse: object
Example
{
"rosters": [
{
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {}
}
}
]
}
ws.flea.api.FetchLeagueRulesResponse: object
- roster_positions: ws.flea.api.RosterPosition
-
ws.flea.api.RosterPosition - groups: ws.flea.api.ScoringRuleGroup
-
ws.flea.api.ScoringRuleGroup - num_starters: integer (int32)
- num_bench: integer (int32)
- max_active: integer (int32)
- max_roster_size: integer (int32)
Example
{
"roster_positions": [
{
"label": "string",
"group": "string",
"eligibility": [
"string"
],
"min": "integer (int32)",
"max": "integer (int32)",
"start": "integer (int32)",
"colors": [
"string"
]
}
],
"groups": [
{
"label": "string",
"scoring_rules": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"points": {
"value": "number (float)",
"formatted": "string"
},
"for_every": "integer (int32)",
"bound_lower": "integer (int32)",
"bound_upper": "integer (int32)",
"description": "string",
"points_per": {
"value": "number (float)",
"formatted": "string"
},
"apply_to": [
"string"
],
"apply_to_all": "boolean (boolean)"
}
]
}
],
"num_starters": "integer (int32)",
"num_bench": "integer (int32)",
"max_active": "integer (int32)",
"max_roster_size": "integer (int32)"
}
ws.flea.api.FetchLeagueScoreboardResponse: object
- schedule_period: ws.flea.api.ScoringPeriodRange
- eligible_schedule_periods: ws.flea.api.ScoringPeriodRange
-
ws.flea.api.ScoringPeriodRange - games: ws.flea.api.FantasyGame
-
ws.flea.api.FantasyGame - is_in_progress: boolean (boolean)
Example
{
"schedule_period": {
"ordinal": "integer (int32)",
"low": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"high": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"contains_now": "boolean (boolean)",
"value": "integer (int32)"
},
"eligible_schedule_periods": [
{
"ordinal": "integer (int32)",
"low": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"high": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"contains_now": "boolean (boolean)",
"value": "integer (int32)"
}
],
"games": [
{
"id": "string (int64)",
"away": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
}
}
}
]
}
ws.flea.api.FetchLeagueStandingsResponse: object
- divisions: ws.flea.api.Division
-
ws.flea.api.Division - season: integer (int32)
- commish_note: ws.flea.api.CommishNote
- league: ws.flea.api.League
Example
{
"divisions": [
{
"id": "integer (int32)",
"name": "string",
"teams": [
{
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string"
}
]
}
]
}
]
}
ws.flea.api.FetchLeagueTransactionsResponse: object
- items: ws.flea.api.LeagueActivityItem
-
ws.flea.api.LeagueActivityItem - result_offset_next: integer (int32)
- result_total: integer (int32)
Example
{
"items": [
{
"time_epoch_milli": "string (int64)",
"is_new": "boolean (boolean)",
"trade": {
"trade_id": "integer (int32)",
"type": "string",
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)"
}
]
}
}
}
]
}
ws.flea.api.FetchPlayerListingFilter: object
- position: ws.flea.api.RosterPosition
- position_eligibility: string[]
-
string - free_agent_only: boolean (boolean)
- experience: ws.flea.api.PlayerExperienceType
- mlb_upcoming_pitchers_only: boolean (boolean)
- player_id: integer[]
-
integer (int32) - query: string
Example
{
"position": {
"label": "string",
"group": "string",
"eligibility": [
"string"
],
"min": "integer (int32)",
"max": "integer (int32)",
"start": "integer (int32)",
"colors": [
"string"
]
},
"position_eligibility": [
"string"
],
"free_agent_only": "boolean (boolean)",
"experience": "string",
"mlb_upcoming_pitchers_only": "boolean (boolean)",
"player_id": [
"integer (int32)"
],
"query": "string"
}
ws.flea.api.FetchPlayerListingResponse: object
- players: ws.flea.api.LeaguePlayer
-
ws.flea.api.LeaguePlayer - eligible_sorts: ws.flea.api.PlayerListingSort
-
ws.flea.api.PlayerListingSort - eligible_filter_positions: ws.flea.api.RosterPosition
-
ws.flea.api.RosterPosition - has_rookies: boolean (boolean)
- last_x_duration_type: ws.flea.api.PeriodDuration
- last_x_short_duration: integer (int32)
- last_x_long_duration: integer (int32)
- result_offset_next: integer (int32)
- result_total: integer (int32)
- sort: ws.flea.api.PlayerListingSort
- filter: ws.flea.api.FetchPlayerListingFilter
- sort_seasons: ws.flea.api.SeasonSelectable
- sort_periods: ws.flea.api.ScoringPeriodSelectable
- sort_ranges: ws.flea.api.ScoringPeriodRangeSelectable
Example
{
"players": [
{
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)"
}
}
}
}
}
}
]
}
ws.flea.api.FetchPlayerProfileResponse: object
- player: ws.flea.api.LeaguePlayer
- detail: ws.flea.api.PlayerDetail
- games: ws.flea.api.LeaguePlayerGame
-
ws.flea.api.LeaguePlayerGame - season: integer (int32)
- eligible_seasons: integer[]
-
integer (int32) - show_points: boolean (boolean)
Example
{
"player": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)"
}
}
}
}
}
}
}
ws.flea.api.FetchRosterResponse: object
- groups: ws.flea.api.RosterGroup
-
ws.flea.api.RosterGroup - always_available_positions: ws.flea.api.RosterPosition
-
ws.flea.api.RosterPosition - eligible_lineup_periods: ws.flea.api.ScoringPeriodRange
-
ws.flea.api.ScoringPeriodRange - lineup_period: ws.flea.api.ScoringPeriodRange
- lineup_duration: ws.flea.api.PeriodDuration
- eligible_teams: ws.flea.api.Team
-
ws.flea.api.Team
Example
{
"groups": [
{
"group": "string",
"slots": [
{
"position": {
"label": "string",
"group": "string",
"eligibility": [
"string"
],
"min": "integer (int32)",
"max": "integer (int32)",
"start": "integer (int32)",
"colors": [
"string"
]
},
"league_player": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {}
}
}
}
}
}
]
}
]
}
ws.flea.api.FetchScoringBreakdownResponse: object
- total: ws.flea.api.FormattedDecimal
- applied_rules: ws.flea.api.ScoringRuleBreakdown
-
ws.flea.api.ScoringRuleBreakdown - player: ws.flea.api.ProPlayer
- game: ws.flea.api.ProGame
- range: ws.flea.api.ScoringPeriodRange
- projected: boolean (boolean)
Example
{
"total": {
"value": "number (float)",
"formatted": "string"
},
"applied_rules": [
{
"points": {
"value": "number (float)",
"formatted": "string"
},
"description": "string"
}
],
"player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string"
}
}
}
}
}
}
ws.flea.api.FetchTeamPicksResponse: object
- picks: ws.flea.api.DraftPick
-
ws.flea.api.DraftPick - eligible_teams: ws.flea.api.Team
-
ws.flea.api.Team
Example
{
"picks": [
{
"owned_by": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {}
}
}
]
}
ws.flea.api.FetchTradeBlockResponse: object
- assets: ws.flea.api.TradeBlockAsset
-
ws.flea.api.TradeBlockAsset - result_offset_next: integer (int32)
- result_total: integer (int32)
Example
{
"assets": [
{
"player": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string"
}
}
}
}
}
}
}
]
}
ws.flea.api.FetchTradeMessagesResponse: object
- messages: ws.flea.api.LeagueMessage
-
ws.flea.api.LeagueMessage - trade: ws.flea.api.Trade
- result_offset_next: integer (int32)
- result_total: integer (int32)
Example
{
"messages": [
{
"id": "string (int64)",
"parent_id": "string (int64)",
"root_id": "string (int64)",
"title_text": "string",
"contents_html": {
"private_do_not_access_or_else_safe_html_wrapped_value": "string"
},
"contents_markdown": "string",
"contents_text": "string",
"author": {
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
},
"author_team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)"
}
}
]
}
}
}
]
}
ws.flea.api.FetchTradesFilter: string
ws.flea.api.FetchTradesResponse: object
- trades: ws.flea.api.Trade
-
ws.flea.api.Trade - filter: ws.flea.api.FetchTradesFilter
- result_offset_next: integer (int32)
- result_total: integer (int32)
- deadline_passed: boolean (boolean)
- open_trade_count: integer (int32)
Example
{
"trades": [
{
"id": "integer (int32)",
"tentative_execution_time": "string (int64)",
"teams": [
{
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string"
}
]
}
}
]
}
]
}
ws.flea.api.FetchUserLeaguesResponse: object
- leagues: ws.flea.api.League
-
ws.flea.api.League - season: integer (int32)
- can_create_new: boolean (boolean)
- new_item_counts: ws.flea.api.NewItemCount
-
ws.flea.api.NewItemCount
Example
{
"leagues": [
{
"id": "integer (int32)",
"name": "string",
"initials": "string",
"sport": "string",
"logo_url": "string",
"owned_team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string"
}
]
}
}
]
}
ws.flea.api.FetchWaiverClaimsResponse: object
- team_id: integer (int32)
- claims: ws.flea.api.WaiverClaim
-
ws.flea.api.WaiverClaim
Example
{
"team_id": "integer (int32)",
"claims": [
{
"id": "integer (int32)",
"adding": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
}
}
}
}
}
}
}
}
]
}
ws.flea.api.FetchWatchListResponse: object
Example
{
"players": [
{
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)"
}
}
}
}
}
}
]
}
ws.flea.api.FootballGameState: object
- down: integer (int32)
- distance: integer (int32)
- is_goal_to_go: boolean (boolean)
- field_line: integer (int32)
- field_line_absolute: integer (int32)
- is_opposing_territory: boolean (boolean)
- is_red_zone: boolean (boolean)
- possession: ws.flea.api.Participant
- description: string
Example
{
"down": "integer (int32)",
"distance": "integer (int32)",
"is_goal_to_go": "boolean (boolean)",
"field_line": "integer (int32)",
"field_line_absolute": "integer (int32)",
"is_opposing_territory": "boolean (boolean)",
"is_red_zone": "boolean (boolean)",
"possession": "string",
"description": "string"
}
ws.flea.api.FormattedDecimal: object
- value: number (float)
- formatted: string
Example
{
"value": "number (float)",
"formatted": "string"
}
ws.flea.api.FutureDraftPick: object
- season: integer (int32)
- round: integer (int32)
Example
{
"season": "integer (int32)",
"round": "integer (int32)"
}
ws.flea.api.Injury: object
- type_abbreviaition: string
- description: string
- severity: ws.flea.api.InjurySeverity
- type_full: string
Example
{
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
}
ws.flea.api.LastXPoints: object
- value: ws.flea.api.FormattedDecimal
- duration: integer (int32)
- over_performing: boolean (boolean)
- under_performing: boolean (boolean)
Example
{
"value": {
"value": "number (float)",
"formatted": "string"
},
"duration": "integer (int32)",
"over_performing": "boolean (boolean)",
"under_performing": "boolean (boolean)"
}
ws.flea.api.League: object
- id: integer (int32)
- name: string
- initials: string
- sport: ws.flea.api.Sport
- logo_url: string
- owned_team: ws.flea.api.Team
- ad_free: boolean (boolean)
- active_for_current_season: boolean (boolean)
- draft_status: ws.flea.api.DraftStatus
- membership_type: ws.flea.api.MembershipType
- type: ws.flea.api.LeagueType
- single_division: boolean (boolean)
- has_playoffs: boolean (boolean)
- roster_requirements: ws.flea.api.RosterRequirements
- waiver_type: ws.flea.api.WaiverResolutionType
- draft_live_time_epoch_milli: string (int64)
- draft_live_url: string
- draft_board_url: string
- draft_pick_current: ws.flea.api.DraftPick
- draft_pick_previous: ws.flea.api.DraftPick
-
ws.flea.api.DraftPick - draft_pick_next: ws.flea.api.DraftPick
-
ws.flea.api.DraftPick - max_keepers: integer (int32)
- invite_url: string
- default_waiver_budget: integer (int32)
- size: integer (int32)
- capacity: integer (int32)
- description: string
- chat_channel: string
Example
{
"id": "integer (int32)",
"name": "string",
"initials": "string",
"sport": "string",
"logo_url": "string",
"owned_team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string"
}
]
}
}
ws.flea.api.LeagueActivityDraftTimeItem: object
- draft_time_epoch_milli: string (int64)
- commish: ws.flea.api.Team
Example
{
"draft_time_epoch_milli": "string (int64)",
"commish": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {
"trades_pending": "integer (int32)",
"activity_unread": "integer (int32)"
}
}
}
ws.flea.api.LeagueActivityItem: object
- time_epoch_milli: string (int64)
- is_new: boolean (boolean)
- trade: ws.flea.api.LeagueActivityTradeItem
- settings: ws.flea.api.LeagueActivitySettingsItem
- draft_time: ws.flea.api.LeagueActivityDraftTimeItem
- transaction: ws.flea.api.LeagueActivityTransactionItem
- trade_block: ws.flea.api.LeagueActivityTradeBlockItem
- reserve_change: ws.flea.api.LeagueActivityReserveChangeItem
- membership: ws.flea.api.LeagueActivityMembershipItem
- commish_powers: ws.flea.api.LeagueActivitySettingsItem
Example
{
"time_epoch_milli": "string (int64)",
"is_new": "boolean (boolean)",
"trade": {
"trade_id": "integer (int32)",
"type": "string",
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)"
}
]
}
}
}
ws.flea.api.LeagueActivityMembershipItem: object
- team: ws.flea.api.Team
- description: string
Example
{
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {
"trades_pending": "integer (int32)",
"activity_unread": "integer (int32)",
"messages_unread": "integer (int32)"
}
}
}
ws.flea.api.LeagueActivityReserveChangeItem: object
- player: ws.flea.api.LeaguePlayer
- team: ws.flea.api.Team
- removed: boolean (boolean)
- taxi: boolean (boolean)
Example
{
"player": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)"
}
}
}
}
}
}
}
ws.flea.api.LeagueActivitySettingsItem: object
- commish: ws.flea.api.Team
- description: string
- trade_id: integer (int32)
Example
{
"commish": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {
"trades_pending": "integer (int32)",
"activity_unread": "integer (int32)",
"messages_unread": "integer (int32)"
}
}
}
ws.flea.api.LeagueActivityTradeBlockItem: object
- player: ws.flea.api.LeaguePlayer
- team: ws.flea.api.Team
- removed: boolean (boolean)
Example
{
"player": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)"
}
}
}
}
}
}
}
ws.flea.api.LeagueActivityTradeItem: object
- trade_id: integer (int32)
- type: ws.flea.api.LeagueActivityTradeType
- team: ws.flea.api.Team
- description: string
Example
{
"trade_id": "integer (int32)",
"type": "string",
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {}
}
}
ws.flea.api.LeagueActivityTradeType: string
ws.flea.api.LeagueActivityTransactionItem: object
- type: ws.flea.api.TransactionType
- player: ws.flea.api.LeaguePlayer
- draft_pick: ws.flea.api.FutureDraftPick
- team: ws.flea.api.Team
- commish_powers: boolean (boolean)
- bid_amount: integer (int32)
- trade_id: integer (int32)
- drafted_at_slot: ws.flea.api.DraftSlot
- waiver_resolution_teams: ws.flea.api.WaiverResolutionTeam
-
ws.flea.api.WaiverResolutionTeam
Example
{
"type": "string",
"player": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)"
}
}
}
}
}
}
}
ws.flea.api.LeagueMessage: object
- id: string (int64)
- parent_id: string (int64)
- root_id: string (int64)
- title_text: string
- contents_html: webutil.html.types.SafeHtmlProto
- contents_markdown: string
- contents_text: string
- author: ws.flea.api.User
- author_team: ws.flea.api.Team
- created_epoch_milli: string (int64)
- created_on_iso: string
- children: ws.flea.api.LeagueMessage
-
ws.flea.api.LeagueMessage - response_count: integer (int32)
- unread: boolean (boolean)
- unread_descendants: boolean (boolean)
- replyable: boolean (boolean)
- deletable: boolean (boolean)
- editable: boolean (boolean)
- num_ancestors: integer (int32)
- num_descendants: integer (int32)
Example
{
"id": "string (int64)",
"parent_id": "string (int64)",
"root_id": "string (int64)",
"title_text": "string",
"contents_html": {
"private_do_not_access_or_else_safe_html_wrapped_value": "string"
},
"contents_markdown": "string",
"contents_text": "string",
"author": {
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
},
"author_team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)"
}
]
}
}
}
ws.flea.api.LeaguePartition: object
- num_teams: integer (int32)
- num_divisions: integer[]
-
integer (int32)
Example
{
"num_teams": "integer (int32)",
"num_divisions": [
"integer (int32)"
]
}
ws.flea.api.LeaguePlayer: object
- pro_player: ws.flea.api.ProPlayer
- eligible_for: ws.flea.api.RosterPosition
-
ws.flea.api.RosterPosition - requested_games: ws.flea.api.LeaguePlayerGame
-
ws.flea.api.LeaguePlayerGame - requested_games_period: ws.flea.api.ScoringPeriod
- viewing_actual_points: ws.flea.api.FormattedDecimal
- viewing_actual_points_average: ws.flea.api.FormattedDecimal
- viewing_projected_points: ws.flea.api.FormattedDecimal
- viewing_actual_stats: ws.flea.api.PlayerStatValue
-
ws.flea.api.PlayerStatValue - viewing_projected_stats: ws.flea.api.PlayerStatValue
-
ws.flea.api.PlayerStatValue - viewing_format: ws.flea.api.StatFormat
- viewing_range: ws.flea.api.ScoringPeriodRangeValue
- last_x: ws.flea.api.LastXPoints
-
ws.flea.api.LastXPoints - season_total: ws.flea.api.FormattedDecimal
- season_average: ws.flea.api.FormattedDecimal
- seasons_standart_deviation: ws.flea.api.FormattedDecimal
- season_consistency: ws.flea.api.RankRating
- transaction_status: ws.flea.api.TransactionStatus
- owner: ws.flea.api.Team
- display_group: string
- rank_fantasy: ws.flea.api.PlayerRank
- rank_draft: ws.flea.api.PlayerRank
- is_keeper: boolean (boolean)
- is_on_trading_block: boolean (boolean)
- is_watched: boolean (boolean)
- num_games_in_schedule_period: integer (int32)
Example
{
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string"
}
}
}
}
}
}
}
ws.flea.api.LeaguePlayerGame: object
- participant: ws.flea.api.Participant
- period: ws.flea.api.ScoringPeriod
- game: ws.flea.api.ProGame
- stats: ws.flea.api.PlayerStatValue
-
ws.flea.api.PlayerStatValue - stats_projected: ws.flea.api.PlayerStatValue
-
ws.flea.api.PlayerStatValue - points_actual: ws.flea.api.FormattedDecimal
- points_projected: ws.flea.api.FormattedDecimal
- is_bye: boolean (boolean)
- is_projected_starter: boolean (boolean)
- has_possession: boolean (boolean)
- in_scoring_position: boolean (boolean)
- ranks: ws.flea.api.OpponentRanks
Example
{
"participant": "string",
"period": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"game": {
"sport": "string",
"id": "integer (int32)",
"away": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"home": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"start_time_epoch_milli": "string (int64)",
"status": "string",
"segment": "integer (int32)",
"segment_seconds_remaining": "integer (int32)",
"segment_overtime": "integer (int32)",
"inning_outs_recorded": "integer (int32)",
"inning_half": "string",
"is_between_segments": "boolean (boolean)",
"is_halftime": "boolean (boolean)",
"is_end_of_segment": "boolean (boolean)",
"away_score": "integer (int32)",
"home_score": "integer (int32)",
"period": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"home_result": "string",
"away_result": "string",
"state_football": {
"down": "integer (int32)",
"distance": "integer (int32)",
"is_goal_to_go": "boolean (boolean)",
"field_line": "integer (int32)",
"field_line_absolute": "integer (int32)",
"is_opposing_territory": "boolean (boolean)",
"is_red_zone": "boolean (boolean)",
"possession": "string",
"description": "string"
}
},
"stats": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
}
}
],
"stats_projected": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
}
}
],
"points_actual": {}
}
ws.flea.api.LeagueRoster: object
- team: ws.flea.api.Team
- players: ws.flea.api.LeaguePlayer
-
ws.flea.api.LeaguePlayer
Example
{
"team": {
"id": "integer (int32)",
"name": "string",
"sport": "string",
"logo_url": "string",
"record_overall": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_division": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"record_postseason": {
"wins": "integer (int32)",
"losses": "integer (int32)",
"ties": "integer (int32)",
"win_percentage": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"formatted": "string"
},
"points_for": {
"value": "number (float)",
"formatted": "string"
},
"points_against": {
"value": "number (float)",
"formatted": "string"
},
"streak": {
"value": "number (float)",
"formatted": "string"
},
"waiver_position": "integer (int32)",
"waiver_acquisition_budget": {
"value": "number (float)",
"formatted": "string"
},
"draft_position": "integer (int32)",
"roto": {
"overall_rank": "integer (int32)",
"points": {
"value": "number (float)",
"formatted": "string"
},
"stat_values": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
},
"rank": "integer (int32)",
"roto_points": {
"value": "number (float)",
"formatted": "string"
}
}
]
},
"owners": [
{
"id": "integer (int32)",
"display_name": "string",
"avatar_url": "string",
"last_seen": "string (int64)",
"initials": "string",
"last_seen_iso": "string"
}
],
"new_item_counts": {
"trades_pending": "integer (int32)",
"activity_unread": "integer (int32)",
"messages_unread": "integer (int32)"
}
}
}
ws.flea.api.LeagueType: string
ws.flea.api.LeagueTypeLabel: object
- value: ws.flea.api.LeagueType
- label: string
- description: string
Example
{
"value": "string",
"label": "string",
"description": "string"
}
ws.flea.api.LineupRecommendation: object
- action: ws.flea.api.LineupRecommendationAction
- reason: string
- description: string
- type: ws.flea.api.LineupRecommendationType
Example
{
"action": "string",
"reason": "string",
"description": "string",
"type": "string"
}
ws.flea.api.LineupRecommendationAction: string
ws.flea.api.LineupRecommendationType: string
ws.flea.api.LockStatus: object
- reason: ws.flea.api.PlayerLockReason
- unlocks_at_epoch_milli: string (int64)
Example
{
"reason": "string",
"unlocks_at_epoch_milli": "string (int64)"
}
ws.flea.api.LoginFailedType: string
ws.flea.api.LoginResponse: object
- user: ws.flea.api.SignedInUser
- failure: ws.flea.api.LoginFailedType
Example
{
"user": {
"id": "integer (int32)",
"user_name": "string",
"token": "string",
"theme": "string",
"default_sport": "string",
"ad_free_sports": [
"string"
],
"ad_free_leagues_in_sports": [
"string"
],
"avatar_url": "string",
"email_address": "string",
"notification_topics": [
{
"name": "string",
"league_id": "integer (int32)",
"type": "string",
"sport": "string"
}
]
},
"failure": "string"
}
ws.flea.api.LogoContents: object
- bytes: string (byte)
- url: string
Example
{
"bytes": "string (byte)",
"url": "string"
}
ws.flea.api.LogoutResponse: object
- success: boolean (boolean)
Example
{
"success": "boolean (boolean)"
}
ws.flea.api.MatchupRosterGroup: object
Example
{
"group": "string",
"slots": [
{
"position": {
"label": "string",
"group": "string",
"eligibility": [
"string"
],
"min": "integer (int32)",
"max": "integer (int32)",
"start": "integer (int32)",
"colors": [
"string"
]
},
"away": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {}
}
}
}
}
}
}
]
}
ws.flea.api.MatchupRosterSlot: object
- position: ws.flea.api.RosterPosition
- away: ws.flea.api.LeaguePlayer
- home: ws.flea.api.LeaguePlayer
- away_schedule_period_sum: ws.flea.api.FormattedDecimal
- home_schedule_period_sum: ws.flea.api.FormattedDecimal
- position_color: ws.flea.api.DraftBoardCellColor
-
ws.flea.api.DraftBoardCellColor
Example
{
"position": {
"label": "string",
"group": "string",
"eligibility": [
"string"
],
"min": "integer (int32)",
"max": "integer (int32)",
"start": "integer (int32)",
"colors": [
"string"
]
},
"away": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string"
}
}
}
}
}
}
}
ws.flea.api.MatchupTeamScore: object
- total: ws.flea.api.MatchupTeamSum
- scoring_period: ws.flea.api.MatchupTeamSum
- win_probability: number (float)
- is_win_probability_set: boolean (boolean)
Example
{
"total": {
"value": {
"value": "number (float)",
"formatted": "string"
},
"optimum": {
"value": "number (float)",
"formatted": "string"
},
"projected": {
"value": "number (float)",
"formatted": "string"
},
"optimum_lineup": [
{
"position": {
"label": "string",
"group": "string",
"eligibility": [
"string"
],
"min": "integer (int32)",
"max": "integer (int32)",
"start": "integer (int32)",
"colors": [
"string"
]
},
"league_player": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
null
]
}
}
}
}
}
]
}
}
ws.flea.api.MatchupTeamSum: object
- value: ws.flea.api.FormattedDecimal
- optimum: ws.flea.api.FormattedDecimal
- projected: ws.flea.api.FormattedDecimal
- optimum_lineup: ws.flea.api.RosterSlot
-
ws.flea.api.RosterSlot
Example
{
"value": {
"value": "number (float)",
"formatted": "string"
},
"optimum": {
"value": "number (float)",
"formatted": "string"
},
"projected": {
"value": "number (float)",
"formatted": "string"
},
"optimum_lineup": [
{
"position": {
"label": "string",
"group": "string",
"eligibility": [
"string"
],
"min": "integer (int32)",
"max": "integer (int32)",
"start": "integer (int32)",
"colors": [
"string"
]
},
"league_player": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)"
}
]
}
}
}
}
}
]
}
ws.flea.api.MembershipType: string
ws.flea.api.NewItemCount: object
- sport: ws.flea.api.Sport
- count: integer (int32)
Example
{
"sport": "string",
"count": "integer (int32)"
}
ws.flea.api.NewItemCounts: object
- trades_pending: integer (int32)
- activity_unread: integer (int32)
- messages_unread: integer (int32)
- claims_pending: integer (int32)
Example
{
"trades_pending": "integer (int32)",
"activity_unread": "integer (int32)",
"messages_unread": "integer (int32)",
"claims_pending": "integer (int32)"
}
ws.flea.api.NotificationTopic: object
- name: string
- league_id: integer (int32)
- type: ws.flea.api.NotificationType
- sport: ws.flea.api.Sport
Example
{
"name": "string",
"league_id": "integer (int32)",
"type": "string",
"sport": "string"
}
ws.flea.api.NotificationType: string
ws.flea.api.OpponentRank: object
- rank: integer (int32)
- mean: ws.flea.api.FormattedDecimal
- rating: ws.flea.api.RankRating
- is_rank_tied: boolean (boolean)
Example
{
"rank": "integer (int32)",
"mean": {
"value": "number (float)",
"formatted": "string"
},
"rating": "string",
"is_rank_tied": "boolean (boolean)"
}
ws.flea.api.OpponentRanks: object
- position: string
- categories: ws.flea.api.OpponentStatRank
-
ws.flea.api.OpponentStatRank - default_points: ws.flea.api.OpponentRank
Example
{
"position": "string",
"categories": [
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"rank": {
"rank": "integer (int32)",
"mean": {
"value": "number (float)",
"formatted": "string"
},
"rating": "string",
"is_rank_tied": "boolean (boolean)"
}
}
],
"default_points": {
"rank": "integer (int32)",
"mean": {
"value": "number (float)",
"formatted": "string"
},
"rating": "string",
"is_rank_tied": "boolean (boolean)"
}
}
ws.flea.api.OpponentStatRank: object
- category: ws.flea.api.StatCategory
- rank: ws.flea.api.OpponentRank
Example
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"rank": {
"rank": "integer (int32)",
"mean": {
"value": "number (float)",
"formatted": "string"
},
"rating": "string",
"is_rank_tied": "boolean (boolean)"
}
}
ws.flea.api.OwnershipRecommendation: object
- type: ws.flea.api.OwnershipRecommendationType
- description: string
Example
{
"type": "string",
"description": "string"
}
ws.flea.api.OwnershipRecommendationType: string
ws.flea.api.PlayerDetail: object
- age: integer (int32)
- dob: string (int64)
- jersey_number: integer (int32)
- height_inches: ws.flea.api.FormattedDecimal
- weight_pounds: ws.flea.api.FormattedDecimal
- draft_year: integer (int32)
- draft_slot: ws.flea.api.DraftSlot
- draft_pro_team: string
Example
{
"age": "integer (int32)",
"dob": "string (int64)",
"jersey_number": "integer (int32)",
"height_inches": {
"value": "number (float)",
"formatted": "string"
},
"weight_pounds": {
"value": "number (float)",
"formatted": "string"
},
"draft_year": "integer (int32)",
"draft_slot": {
"round": "integer (int32)",
"slot": "integer (int32)",
"overall": "integer (int32)"
},
"draft_pro_team": "string"
}
ws.flea.api.PlayerExperienceType: string
ws.flea.api.PlayerListingSort: string
ws.flea.api.PlayerLockReason: string
ws.flea.api.PlayerNews: object
- time_epoch_milli: string (int64)
- contents: string
- analysis: string
- url: string
- title: string
Example
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
ws.flea.api.PlayerRank: object
- ordinal: integer (int32)
- positions: ws.flea.api.PositionRank
-
ws.flea.api.PositionRank - season: integer (int32)
Example
{
"ordinal": "integer (int32)",
"positions": [
{
"position": {
"label": "string",
"group": "string",
"eligibility": [
"string"
],
"min": "integer (int32)",
"max": "integer (int32)",
"start": "integer (int32)",
"colors": [
"string"
]
},
"ordinal": "integer (int32)",
"formatted": "string",
"rating": "string"
}
],
"season": "integer (int32)"
}
ws.flea.api.PlayerStatValue: object
- category: ws.flea.api.StatCategory
- value: ws.flea.api.FormattedDecimal
Example
{
"category": {
"id": "integer (int32)",
"abbreviation": "string",
"name_singular": "string",
"name_plural": "string",
"summary_label_if_differs_from_abbreviation": "string",
"lower_is_better": "boolean (boolean)"
},
"value": {
"value": "number (float)",
"formatted": "string"
}
}
ws.flea.api.PlayerTransactionConfirmResponse: object
- failure: ws.flea.api.PlayerTransactionFailure
- claimable: ws.flea.api.ClaimStatus
- actionable: ws.flea.api.TransactionAction
- player: ws.flea.api.LeaguePlayer
- must_drop: boolean (boolean)
- roster_for_drop: ws.flea.api.LeaguePlayer
-
ws.flea.api.LeaguePlayer
Example
{
"failure": {
"type": "string",
"message": "string"
},
"claimable": {
"type": "string",
"lock_epoch_milli": "string (int64)",
"clear_epoch_milli": "string (int64)"
},
"actionable": {
"add": "boolean (boolean)",
"drop": "boolean (boolean)",
"draft": "boolean (boolean)",
"trade": "boolean (boolean)",
"is_commish_powers": "boolean (boolean)"
},
"player": {
"pro_player": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string"
}
}
}
}
}
}
}
ws.flea.api.PlayerTransactionExecuteResponse: object
- failure: ws.flea.api.PlayerTransactionFailure
- for_lineup_period: ws.flea.api.ScoringPeriodRange
Example
{
"failure": {
"type": "string",
"message": "string"
},
"for_lineup_period": {
"ordinal": "integer (int32)",
"low": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"high": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"contains_now": "boolean (boolean)",
"value": "integer (int32)"
}
}
ws.flea.api.PlayerTransactionFailure: object
- type: string
- message: string
Example
{
"type": "string",
"message": "string"
}
ws.flea.api.PlayerTypeaheadResponse: object
Example
{
"players": [
{
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {}
}
}
}
}
}
]
}
ws.flea.api.PositionRank: object
- position: ws.flea.api.RosterPosition
- ordinal: integer (int32)
- formatted: string
- rating: ws.flea.api.RankRating
Example
{
"position": {
"label": "string",
"group": "string",
"eligibility": [
"string"
],
"min": "integer (int32)",
"max": "integer (int32)",
"start": "integer (int32)",
"colors": [
"string"
]
},
"ordinal": "integer (int32)",
"formatted": "string",
"rating": "string"
}
ws.flea.api.PostLeagueMessageResponse: object
- error: string
- new_message_id: string (int64)
Example
{
"error": "string",
"new_message_id": "string (int64)"
}
ws.flea.api.PostTradeMessageResponse: object
- error: string
- new_message_id: string (int64)
Example
{
"error": "string",
"new_message_id": "string (int64)"
}
ws.flea.api.PremiumContent: object
- handcuff_to: ws.flea.api.ProPlayer
- handcuff_for: ws.flea.api.ProPlayer
- lineup_recommendation: ws.flea.api.LineupRecommendation
- preseason_outlook: ws.flea.api.ContentRecommendation
- ownership_recommendation: ws.flea.api.OwnershipRecommendation
- waiver_recommendation: ws.flea.api.WaiverRecommendation
- depth_chart_recommendation: ws.flea.api.DepthChartRecommendation
- authorization: ws.flea.api.PremiumContentAuth
Example
{
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string",
"description": "string",
"severity": "string",
"type_full": "string"
},
"news": [
{
"time_epoch_milli": "string (int64)",
"contents": "string",
"analysis": "string",
"url": "string",
"title": "string"
}
],
"is_rookie": "boolean (boolean)",
"premium_content_auth_safe": {
"handcuff_to": {
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate": "boolean (boolean)",
"nfl_bye_week": "integer (int32)",
"injury": {
"type_abbreviaition": "string"
}
}
}
}
}
}
}
ws.flea.api.PremiumContentAuth: string
ws.flea.api.ProGame: object
- sport: ws.flea.api.Sport
- id: integer (int32)
- away: ws.flea.api.ProTeam
- home: ws.flea.api.ProTeam
- start_time_epoch_milli: string (int64)
- status: ws.flea.api.ProGameStatus
- segment: integer (int32)
- segment_seconds_remaining: integer (int32)
- segment_overtime: integer (int32)
- inning_outs_recorded: integer (int32)
- inning_half: ws.flea.api.InningHalf
- is_between_segments: boolean (boolean)
- is_halftime: boolean (boolean)
- is_end_of_segment: boolean (boolean)
- away_score: integer (int32)
- home_score: integer (int32)
- period: ws.flea.api.ScoringPeriod
- home_result: ws.flea.api.GameResult
- away_result: ws.flea.api.GameResult
- state_football: ws.flea.api.FootballGameState
Example
{
"sport": "string",
"id": "integer (int32)",
"away": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"home": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"start_time_epoch_milli": "string (int64)",
"status": "string",
"segment": "integer (int32)",
"segment_seconds_remaining": "integer (int32)",
"segment_overtime": "integer (int32)",
"inning_outs_recorded": "integer (int32)",
"inning_half": "string",
"is_between_segments": "boolean (boolean)",
"is_halftime": "boolean (boolean)",
"is_end_of_segment": "boolean (boolean)",
"away_score": "integer (int32)",
"home_score": "integer (int32)",
"period": {
"duration": "string",
"ordinal": "integer (int32)",
"season": "integer (int32)",
"start_epoch_milli": "string (int64)",
"is_now": "boolean (boolean)",
"label": "string"
},
"home_result": "string",
"away_result": "string",
"state_football": {
"down": "integer (int32)",
"distance": "integer (int32)",
"is_goal_to_go": "boolean (boolean)",
"field_line": "integer (int32)",
"field_line_absolute": "integer (int32)",
"is_opposing_territory": "boolean (boolean)",
"is_red_zone": "boolean (boolean)",
"possession": "string",
"description": "string"
}
}
ws.flea.api.ProGameStatus: string
ws.flea.api.ProPlayer: object
- sport: ws.flea.api.Sport
- id: integer (int32)
- name_full: string
- name_short: string
- name_first: string
- name_last: string
- pro_team_abbreviation: string
- pro_team: ws.flea.api.ProTeam
- position: string
- headshot_url: string
- is_team_aggregate: boolean (boolean)
- nfl_bye_week: integer (int32)
- injury: ws.flea.api.Injury
- news: ws.flea.api.PlayerNews
-
ws.flea.api.PlayerNews - is_rookie: boolean (boolean)
- premium_content_auth_safe: ws.flea.api.PremiumContent
- has_locked_premium_content: boolean (boolean)
- premium_content: ws.flea.api.PremiumContent
- external_ids: ws.flea.api.ExternalIdMapping
-
ws.flea.api.ExternalIdMapping
Example
{
"sport": "string",
"id": "integer (int32)",
"name_full": "string",
"name_short": "string",
"name_first": "string",
"name_last": "string",
"pro_team_abbreviation": "string",
"pro_team": {
"abbreviation": "string",
"location": "string",
"name": "string",
"is_free_agent": "boolean (boolean)"
},
"position": "string",
"headshot_url": "string",
"is_team_aggregate":