# `ExFPL.Live`
[🔗](https://github.com/sgerrand/ex_fpl/blob/main/lib/ex_fpl/live.ex#L1)

Fetch live gameweek data from `/event/{event_id}/live/`.

# `fetch`

```elixir
@spec fetch(
  integer(),
  keyword()
) :: {:ok, ExFPL.LiveSnapshot.t() | map()} | {:error, term()}
```

Fetch the live snapshot for the given gameweek.

Pass `raw: true` to receive the raw JSON-decoded map.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
