Giter VIP home page Giter VIP logo

steamy's Introduction

Steamy

Steam/Dsicord Image

Overview

Steamy is a Discord bot that uses the Steam API to post various game statistics and user data. A full list of features of the bot can be found in the Bot Commands section below. The bot is self-hosted and so requires setup before you can connect it to your Discord server and run it.

Bot Commands

Detailed list of bot commands with examples here. Otherwise a list and breif description for all Steamy commands below :

  • $achievement GAME_NAME - Posts the rarest achievement for the given game name.
  • $game GAME_NAME - Posts the player count and rank in top played games for the given game name.
  • $help - DMs a list of all commands Steamy can preform.
  • $top NUMBER - Posts the top played games by player count up to the given number.
  • $user USER_NAME - Posts the total played hours on Steam for the given Steam user name.
  • $users_game "USERS_NAME" "GAME_NAME" - Posts a given user's hours and unlocked achievements for a given game.
  • $user_id USER_NAME - Posts the ID for a given Steam user name.

Get Started

Ready to set up Steamy on your Discord server? You can follow the bot setup documentation here :

Contributing

Interested in making a code change or suggesting improvements? Contributions to the Steamy project are more than welcomed! All changes follow a pull request and approval based flow. To contribute to the project you can either :

Errors

Running into issues setting up Steamy? Seeing unexpected error from commands?

Feel free to create a Github issue detailing the problem!

steamy's People

Contributors

jdgiardino avatar halo123u avatar

Stargazers

Tudypie avatar  avatar Omar Mendoza avatar

Watchers

James Cloos avatar  avatar  avatar

steamy's Issues

Steam API call for Top Games by current player count

Currently, in order to get the top X games by player count, or to determine what ranking # a game is by player count within the Steamy bot, a 3rd party API is used here https://github.com/JDGiardino/Steamy/blob/main/src/steam_api.py#L126. Than for each given game in the response of that call, the Steam API for player count of a given game is called here https://github.com/JDGiardino/Steamy/blob/main/src/steam_api.py#L130. This causes 100 api calls to Steam per need for top X games/ ranking number of a game.

This solution is not ideal and is a compromise because directly getting the top games by player count is not available from the Steam API (even though oddly enough that exact data is available from Steam here https://store.steampowered.com/stats/). Therefore this Issue will be a placeholder identifying this implementation in hopes Steam eventually makes this data available through their API.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.