Skip to content

Instantly share code, notes, and snippets.

@abextm
Created February 3, 2019 02:28
Show Gist options
  • Save abextm/dcbfe9d5898dcb6d2de6831ba026ffdc to your computer and use it in GitHub Desktop.
Save abextm/dcbfe9d5898dcb6d2de6831ba026ffdc to your computer and use it in GitHub Desktop.
Powershell one-liner to extract the last 10,000 loots
Invoke-WebRequest "https://api.runelite.net/runelite-$(Invoke-WebRequest "https://static.runelite.net/bootstrap.json"|ConvertFrom-Json|Select -ExpandProperty client|Select -ExpandProperty version)/loottracker?count=10000" -Headers @{"Runelite-Auth"=$(Get-Content "~/.runelite/session"|ConvertFrom-Json|Select -ExpandProperty uuid)} -OutFile runelite_loottracker.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment