Get Profileinfo for RockstarGames profiles with your selfhosted API
I also have an Discordbot for use with this API https://github.com/malte843/discordbot-for-scapi
git clone https://github.com/malte843/rsg-socialclub-api.git
cd rsg-socialclub-api
npm install
Start the script with npm run start
or node .
and wait for the message that says portal started.
Visit the provided link, login and restart the app.
To test the api go to http://localhost:4000/api/getProfile?name=<profileName>
if you use the standard port.
Optionally you could add &maxFriends=<maxfriends>
to the request to limit the max amount of friends to be sent.