steamscrapper

1.0.3 • Public • Published

steamScrapper

Provides an easy way to retrieve info about Apps on steam market. https://www.npmjs.com/package/steamscrapper

If you don't know the appid corresponding to the app, find it by calling .getAppIdsByTitle it takes a name string and a param object with a single property: (exactMatch) -- if set to true, will return only apps in which the title === the name string otherwise, will return all apps that have that string in it's name.

const steamScrapper = require('steamscrapper')

async function getInfoAboutGame (gameName) {
  const gameIds = await steamScrapper.getAppIdsByTitle(gameName, { exactMatch: true })
  console.log(gameIds)
  const gameInfo = await steamScraper.getInfoByID(gameIds[0].appid)
  console.log(gameInfo)
}

getInfoAboutGame()

/steamscrapper/

    Package Sidebar

    Install

    npm i steamscrapper

    Weekly Downloads

    5

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    214 kB

    Total Files

    5

    Last publish

    Collaborators

    • leochappuis