ezsteam

1.1.1-alpha • Public • Published

EzSteam

1.0.0 release

A simply and lightweight package to interact with Steam API and convert IDs. JSON format.

Getting started

const { Ezsteam } = require('ezsteam');

const ezsteam = new Ezsteam('API KEY GOES HERE');


// Get Steam64 ID from Steam custom ID.
async function getS64() {
    const s = await ezsteam.getSteam64('caracolreal');
    console.log(s);
}

getS64()

// Get Steam64 ID from Steam custom ID.
async function getC() {
    const s = await ezsteam.getCustom('76561197960435530');
    console.log(s);
}

getC()

Made w/ by cctwaterson. Steam profile

Readme

Keywords

Package Sidebar

Install

npm i ezsteam

Weekly Downloads

1

Version

1.1.1-alpha

License

MIT

Unpacked Size

3.63 kB

Total Files

4

Last publish

Collaborators

  • cctwaterson