Skip to content

whats-a-handle/starcitizen-login-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

starcitizen-login-example

Example script to login to RSI (https://robertsspaceindustries.com/) aka StarCitizen's website with nodejs

How to Use

  1. Import it like const login = require('./login')
  2. Send in your username and password const result = await login(username,password)
  3. Get your token and send the token in your headers as 'x-rsi-token' : result.token when making requests to rsi that require authentication
  4. Done

Notes

  • Won't work with 2Factor or Mutlistep Authentication, since that expects a verification code
  • This will break if they change the login endpoint or you get detected as a robot

Releases

No releases published

Packages

No packages published