An example on how to do authorized requests with the warframe.market API.
I was unfamiliar with this and it took me ages to figure out. The documentation didn't really help and I couldn't find any good examples. If you're here you're probably in the same spot I was in. Have fun coding.
- Use your favorite browser (e.g. Firefox or Chrome)
- Log into warframe.market (if you aren't already)
- Pull up the developer console (ctrl + shift + i)
- Navigate to the tab "Storage"
- Click on the "Cookies" storage
- Go the cookies for the warframe.market domain
- Select the cookie called "JWT" (that stands for JSON Web Token)
- Copy the value of the JWT cookie
- Paste the value into token.json (needs to be a string)
Official API documentation (because it's not easy to find):
- Link to the full v1 documentation
- Link to a document - This is just a document with a link to the first document, no need to click this. Maybe this is where v2 docs will be in the future.
I'm not gonna help you with this, you're on your own. The warframe.market Discord has a support channel though.