You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doing it entirely yourself, authenticates identically to the official server API,
POST /api/auth/signinContent-Type: application/json
{ "email":"ags131", "password": "notMyPassword" }
That will return a token that you then send to the server in an x-token header. If doing this for file uploading, look into the gulp-screeps, grunt-screeps, or rollup-plugin-screeps packages. Otherwise, the python screepsapi project or node screeps-api project makes it easier by doing most of the background work for you.
I made walk through on Youtube on the steps I did to get setup. There's a bunch of gotchas I hit starting at 8mins in: https://youtu.be/UpPGEHSPJKo?t=8m18s. I'll submit a pull request and open issues for the stuff I ran into
I can't figure out what values to use to authenticate to the api
The text was updated successfully, but these errors were encountered: