1.1.1-alpha • Published 1 year ago

ezsteam v1.1.1-alpha

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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