@jeppevinkel/steam-search
v1.0.0-beta.4
Published
API for searching on the Steam store.
Downloads
10
Maintainers
Readme
@jeppevinkel/steam-search
Api for searching games from the Steam store. This search API works by calling the regular steam store page and scraping the results from the page. It doesn't yet support scrolling the page, so it might be limited in the number of results per search query.
Installation
Use npm to install the package.
npm install @jeppevinkel/steam-search
Usage
import {SteamSearch, QueryBuilder, ResultType} from '@jeppevinkel/steam-search'
let query = QueryBuilder.create()
.search('counter-strike')
SteamSearch.search(query).then((results) => {
for (let result of results) {
const type = result.type == ResultType.App ? 'App' : 'Bundle'
console.log(`[${type}] (${result.appId}) ${result.title}`)
}
})
Docs
https://jeppevinkel.github.io/steam-store-search
Contributing
Pull requests are welcome. For design changes, please open an issue to discuss what you would like to change.