LoL DraftKings lineup optimizer
invoke_lol_optimizerBuilds DraftKings League of Legends lineups from the BankrollSZN projections. Classic: CPT (1.5x points and salary), TOP, JNG, MID, ADC, SUP and TEAM under $50,000, at most 4 players from one team and 2 or more games. Showdown: 2 CPT and 2 FLEX. gpp scores the ceiling, cash scores the projection. Supports a captain, locks, excludes, several unique lineups, a salary floor, a per-team cap and a team stack. Returns DK ids in slot order. Data refreshes every 30 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | No | Player names that must be in every lineup. | |
| mode | No | Default gpp. | |
| captain | No | The player to use at CPT. | |
| exclude | No | Player names to leave out. | |
| lineups | No | Number of lineups, 1 to 5. The free plan gets 1. | |
| slate_id | No | DraftKings slate_id. Default: the main slate. | |
| min_salary | No | Least salary to use. Default 0. | |
| min_unique | No | Players each lineup must differ from every lineup before it. Default 2. | |
| stack_size | No | Players from stack_team. Default 3. | |
| stack_team | No | Team tricode: require at least stack_size players from this team. | |
| max_per_team | No | Most players from one team. Default 4 (the DraftKings rule). |