This sample tool is designed to read the career rank data from the Halo Infinite game CMS API and store it locally.
pip install -r requirements.txtpython -m career YOUR_SPARTAN_TOKENAs I mentioned in my blog post, I intentionally didn't bake in the authentication logic here because I wanted a quick and dirty solution to my problem, but if you want to do it the right way, you can read my other blog post on how to authenticate against the Halo Infinite API. For the time being, however, you can grab a token from Halo Waypoint after you log in (look for the X-343-Authorization-Spartan header).
If you have feedback or comments, open an issue.