Squad
get_squadFetch a fantasy football squad's players with prices, points, injuries, lineup status, and next match. Inspect your own or a rival's squad using manager_id.
Instructions
Get every player in a squad, with availability, scoring, prices and lineup state. Defaults to the signed-in manager's own squad.
Pass manager_id to inspect a rival's squad instead — the ids come from
get_standings. Rival squads are fully visible: prices, injuries and depth. What
is not visible is recommended_price, which Comunio only gives for your own
players.
Per player: position and club; status with status_info naming an injury;
points, last_points and average_points; quoted_price and
recommended_price; whether they are linedup or a substitute; whether they
are on_market; and next_match with its kick-off time.
summary counts what lineup rules are checked against, tactic is the formation
set, and is_mine says whose squad came back.
Read-only: fetches current state and changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| manager_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | No | Manager the squad belongs to | |
| tactic | Yes | Formation the lineup is set up for, e.g. '442' | |
| is_mine | No | Whether this is the signed-in manager's own squad | |
| players | Yes | ||
| summary | Yes | ||
| owner_id | No | That manager's identifier |