xDimGG / node-steamapi

An object-oriented Steam API wrapper for Node.js developers.
https://www.npmjs.com/package/steamapi
181 stars 42 forks source link

steamClient.resolve profile ids that shouldn't exist into profiles #26

Closed TechnoTew closed 2 years ago

TechnoTew commented 3 years ago
        const SteamAPI = require('steamapi');
        const steamClient = new SteamAPI("steamapikey");

        const steam64IDFromSteamURL = await steamClient.resolve("steamcommunity.com/profiles/fluted");
        console.log(steam64IDFromSteamURL);

Result: 76561197981967565 --> random guy "( ¤ Konzer ¤ )"

steamcommunity.com/profiles links should always follow with numbers afaik