Created
February 3, 2019 02:28
-
-
Save abextm/dcbfe9d5898dcb6d2de6831ba026ffdc to your computer and use it in GitHub Desktop.
Powershell one-liner to extract the last 10,000 loots
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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