xDimGG / node-steamapi

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

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

Closed TechnoTew closed 3 years ago

TechnoTew commented 4 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