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

GET /FetchLeagueActivity
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

league_id: integer (int32)
in query

(no description)

result_offset: integer (int32)
in query

(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

GET /FetchLeagueBoxscore
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

league_id: integer (int32)
in query

(no description)

fantasy_game_id: string (int64)
in query

(no description)

scoring_period: integer (int32)
in query

(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

GET /FetchLeagueDraftBoard
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

league_id: integer (int32)
in query

(no description)

season: integer (int32)
in query

(no description)

draft_number: integer (int32)
in query

1-based index, most recent if 0 or omitted.

external_id_type: string[]
in query

(no description)

Array values passed as multiple parameters: ?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

GET /FetchLeagueRosters
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

league_id: integer (int32)
in query

(no description)

season: integer (int32)
in query

(no description)

scoring_period: integer (int32)
in query

(no description)

external_id_type: string[]
in query

(no description)

Array values passed as multiple parameters: ?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

GET /FetchLeagueRules
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

league_id: integer (int32)
in query

(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

GET /FetchLeagueScoreboard
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

league_id: integer (int32)
in query

(no description)

season: integer (int32)
in query

(no description)

scoring_period: integer (int32)
in query

(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

GET /FetchLeagueStandings
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

league_id: integer (int32)
in query

(no description)

season: integer (int32)
in query

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

GET /FetchLeagueTransactions
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

league_id: integer (int32)
in query

(no description)

team_id: integer (int32)
in query

(no description)

result_offset: integer (int32)
in query

(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

GET /FetchPlayerListing
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

league_id: integer (int32)
in query

(no description)

sort: string SORT_UNSPECIFIED, SORT_SEASON_TOTAL, SORT_SEASON_AVERAGE, SORT_DRAFT_RANKING, SORT_SCHEDULE_PERIOD, SORT_SCORING_PERIOD, SORT_PROJECTIONS, SORT_LAST_X_SHORT, SORT_LAST_X_LONG SORT_UNSPECIFIED
in query

(no description)

filter.position.label: string
in query

(no description)

filter.position.group: string BENCH, START, INJURED, TAXI BENCH
in query

(no description)

filter.position.eligibility: string[]
in query

(no description)

Array values passed as multiple parameters: ?filter.position.eligibility=aaa&filter.position.eligibility=bbb
filter.position.min: integer (int32)
in query

(no description)

filter.position.max: integer (int32)
in query

(no description)

filter.position.start: integer (int32)
in query

(no description)

filter.position.colors: string[]
in query
  • 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
Array values passed as multiple parameters: ?filter.position.colors=aaa&filter.position.colors=bbb
filter.position_eligibility: string[]
in query

(no description)

Array values passed as multiple parameters: ?filter.position_eligibility=aaa&filter.position_eligibility=bbb
filter.free_agent_only: boolean (boolean)
in query

(no description)

filter.experience: string EXPERIENCE_UNSPECIFIED, EXPERIENCE_ROOKIE, EXPERIENCE_ANY EXPERIENCE_UNSPECIFIED
in query

(no description)

filter.mlb_upcoming_pitchers_only: boolean (boolean)
in query

(no description)

filter.player_id: integer[]
in query

(no description)

Array values passed as multiple parameters: ?filter.player_id=aaa&filter.player_id=bbb
filter.query: string
in query

(no description)

result_offset: integer (int32)
in query

(no description)

sort_season: integer (int32)
in query

(no description)

sort_period: integer (int32)
in query

(no description)

external_id_type: string[]
in query

(no description)

Array values passed as multiple parameters: ?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

GET /FetchRoster
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

league_id: integer (int32)
in query

(no description)

team_id: integer (int32)
in query

(no description)

season: integer (int32)
in query

(no description)

scoring_period: integer (int32)
in query

(no description)

external_id_type: string[]
in query

(no description)

Array values passed as multiple parameters: ?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

GET /FetchTeamPicks
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

league_id: integer (int32)
in query

(no description)

team_id: integer (int32)
in query

(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

GET /FetchTrades
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

league_id: integer (int32)
in query

(no description)

filter: string TRADES_UNDER_REVIEW, TRADES_COMPLETED, TRADES_OWNER_OPEN, TRADES_OWNER_ANY TRADES_UNDER_REVIEW
in query

(no description)

result_offset: integer (int32)
in query

(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

GET /FetchUserLeagues
sport: string NFL, MLB, NBA, NHL NFL
in query

(no description)

user_id: integer (int32)
in query

(no description)

email: string
in query

(no description)

season: integer (int32)
in query

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

string GAME_START, RECENTLY_DROPPED, CONTINUOUS_PRESEASON, CONTINUOUS_IN_SEASON GAME_START

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.DeleteWaiverClaimResponse: object

error: string
Example
{
  "error": "string"
}

ws.flea.api.DepthChartRecommendation: object

description: string
stability: ws.flea.api.DepthChartStability
Example
{
  "description": "string",
  "stability": "string"
}

ws.flea.api.DepthChartStability: string

string STABILITY_MEDIUM, STABILITY_HIGH, STABILITY_LOW, STABILITY_VERY_HIGH, STABILITY_VERY_LOW STABILITY_MEDIUM

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

string DRAFT_BOARD_EMPTY, DRAFT_BOARD_GREEN, DRAFT_BOARD_BLUE, DRAFT_BOARD_YELLOW, DRAFT_BOARD_RED, DRAFT_BOARD_GRAY, DRAFT_BOARD_PURPLE DRAFT_BOARD_EMPTY

ws.flea.api.DraftBoardRow: object

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

string NOT_YET_DRAFTED, DRAFT_IN_PROGRESS, POST_DRAFT NOT_YET_DRAFTED

ws.flea.api.ExternalIdMapping: object

type: ws.flea.api.ExternalIdType
id: string
Example
{
  "type": "string",
  "id": "string"
}

ws.flea.api.ExternalIdType: string

string SPORTRADAR SPORTRADAR

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

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

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

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

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

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

string TRADES_UNDER_REVIEW, TRADES_COMPLETED, TRADES_OWNER_OPEN, TRADES_OWNER_ANY TRADES_UNDER_REVIEW

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.GameResult: string

string UNDECIDED, WIN, LOSE, TIE UNDECIDED

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.InjurySeverity: string

string HEALTHY, PROBABLE, QUESTIONABLE, OUT HEALTHY

ws.flea.api.InningHalf: string

string TOP, BOTTOM TOP

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

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

string TRADE_ACCEPTED, TRADE_ACCEPTED_FINAL, TRADE_CANCELLED, TRADE_EXECUTION_DELAYED, TRADE_INVALIDATED, TRADE_MESSAGE, TRADE_PROPOSED, TRADE_REJECTED, TRADE_REJECTED_MESSAGE, TRADE_TO_REVIEW, TRADE_VETOED TRADE_ACCEPTED

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

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

string FP_H2H, FP_TOTAL, ROTO_H2H_EACH, ROTO_H2H_MOST, ROTO_TOTAL FP_H2H

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

string RECOMMENDATION_START, RECOMMENDATION_SIT RECOMMENDATION_START

ws.flea.api.LineupRecommendationType: string

string LINEUP_TYPE_UNSPECIFIED, LINEUP_TYPE_NFL_IDP, LINEUP_TYPE_MLB_STEALS, LINEUP_TYPE_MLB_HOME_RUNS, LINEUP_TYPE_MLB_STARTING_PITCHERS LINEUP_TYPE_UNSPECIFIED

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

string LOGIN_UNKNOWN_LOGIN_ID, LOGIN_INVALID_PASSWORD, LOGIN_CAPTCHA_REQUIRED, LOGIN_LEGACY_AOL_DISABLED LOGIN_UNKNOWN_LOGIN_ID

ws.flea.api.LoginResponse: object

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

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

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

string NON_MEMBER, CREATING_COMMISH, CO_COMMISH, MEMBER NON_MEMBER

ws.flea.api.MessageFormatType: string

string FORMAT_MARKDOWN, FORMAT_HTML FORMAT_MARKDOWN

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

string NOTIFICATION_DRAFT_SELECTION, NOTIFICATION_DRAFT_STARTED, NOTIFICATION_TRADE_PROPOSED, NOTIFICATION_TRADE_ACCEPTED, NOTIFICATION_TRADE_MODIFIED, NOTIFICATION_TRADE_REVIEW, NOTIFICATION_MESSAGE_POSTED NOTIFICATION_DRAFT_SELECTION

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

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

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

string RECOMMENDATION_BUY, RECOMMENDATION_SELL, RECOMMENDATION_HOLD, RECOMMENDATION_CUT RECOMMENDATION_BUY

ws.flea.api.Participant: string

string AWAY, HOME AWAY

ws.flea.api.PeriodDuration: string

string WEEK, DAY WEEK

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

string EXPERIENCE_UNSPECIFIED, EXPERIENCE_ROOKIE, EXPERIENCE_ANY EXPERIENCE_UNSPECIFIED

ws.flea.api.PlayerListingSort: string

string SORT_UNSPECIFIED, SORT_SEASON_TOTAL, SORT_SEASON_AVERAGE, SORT_DRAFT_RANKING, SORT_SCHEDULE_PERIOD, SORT_SCORING_PERIOD, SORT_PROJECTIONS, SORT_LAST_X_SHORT, SORT_LAST_X_LONG SORT_UNSPECIFIED

ws.flea.api.PlayerLockReason: string

string NOT_TEAM_OWNER, AFTER_GAME_START_TIME, CLAIM_PROCESSING_DROPPED, CLAIM_PROCESSING_GAME_START, INELIGIBLE_POSITION, PREDRAFT, PRESEASON_LOCK_ACTIVE, RECENTLY_ADDED, DEADLINE_PASSED_TRANSACTION, DEADLINE_PASSED_TRADE, DRAFT_NOT_ON_CLOCK NOT_TEAM_OWNER

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.PlayerPool: string

string PLAYER_POOL_ALL, AL_ONLY, NL_ONLY PLAYER_POOL_ALL

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

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

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

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

string AUTH_NOT_SUBSCRIBED, AUTH_SUBSCRIBED AUTH_NOT_SUBSCRIBED

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

string NOT_YET_STARTED, IN_PROGRESS, FINAL_SCORE, DELAYED, POSTPONED, SUSPENDED NOT_YET_STARTED

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":