3.0.1 • Published 2 years ago

@qgisk/steamresolver v3.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Steam ID Resolver for NodeJS

Test package

A NodeJS SteamResolver with only two dependencies isomorphic-unfetch and xml2js.

• NOTICE

Steam is now blocking most of these requests ( Half the time -ish), I suggest using their api from now on, see docs

• Description

This package converts custom steam urls into ids and the other way around, Also converts it into full profiles.

• Installation

npm i @qgisk/steamresolver

• Quick Start Example

// Import the wrapper library
import SteamResolver from '@qgisk/steamresolver';
// Or for CommonJS
const {SteamResolver} = require('@qgisk/steamresolver');

// Initiate the client
const Resolve = new SteamResolver();

// Create a function that gets the custom url
const get = async () => {
    const fromID = await Resolve.toCustomURL('76561198250920834');
    const fromLink = await Resolve.toCustomURL('htts://steamcommunity.com/profiles/76561198250920834');

    console.log(fromID, fromLink);
};

// Execute the function
get();

• CDN

Common JS

https://cdn.jsdelivr.net/npm/@qgisk/steamresolver@2.1.2/dist/index.js

Module

https://cdn.jsdelivr.net/npm/@qgisk/steamresolver@2.1.2/dist/index.mjs

• Full documentation

Full documentation can be found here

• Inspiration

miscavage/CoinGecko-API

HerrEuroBeat/node-steamid-resolver

• License

MIT

3.0.1

2 years ago

3.0.0

2 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.0.2

3 years ago

2.1.3

2 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago