Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/b3none/steam-group-members
A node module to get a steam groups members list using promises.
https://github.com/b3none/steam-group-members
es6 es6-javascript node npm steam steam-api steam-group
Last synced: about 1 month ago
JSON representation
A node module to get a steam groups members list using promises.
- Host: GitHub
- URL: https://github.com/b3none/steam-group-members
- Owner: B3none
- Created: 2019-03-09T13:56:31.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-11T19:55:19.000Z (almost 6 years ago)
- Last Synced: 2024-05-29T22:47:54.882Z (7 months ago)
- Topics: es6, es6-javascript, node, npm, steam, steam-api, steam-group
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 17
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Steam Group Members
A node module to get a steam groups members list using promises.# Installation
`npm install steam-group-members`# Example usage
To see example usage please find the [example.js](https://github.com/b3none/steam-group-members/blob/master/example.js)```javascript
const steamGroup = require('steam-group-members');let steamGroupUrl = 'https://steamcommunity.com/groups/voidrealitygaming';
// Get a list of all the steam group members.
steamGroup.getMembers(steamGroupUrl)
.then(members => console.log(members));// Grab a list of members on a specific page (default: 1)
steamGroup.getPageMembers(steamGroupUrl, 2)
.then(pageMembers => console.log(pageMembers));// Find a member in the steam group.
steamGroup.findMember(steamGroupUrl, '76561198028510846')
.then(isMember => console.log(isMember));
```# Roadmap
- Input parameter validation
- Look at implementing a caching system