Skip to content

Instantly share code, notes, and snippets.

View lostcoastwizard's full-sized avatar

lostcoastwizard lostcoastwizard

View GitHub Profile
@lostcoastwizard
lostcoastwizard / orders.ex
Last active June 12, 2025 09:32
Elixir program that fetches all Eve Online market data and writes to csv
Mix.install([
{:req, "~> 0.5.0"},
{:csv, "~> 3.2.2"}
])
regions = Req.get!("https://esi.evetech.net/v1/universe/regions").body
data = regions |> Task.async_stream(fn region ->
response = "https://esi.evetech.net/v1/markets/#{region}/orders/"
|> IO.inspect()