npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

stumble-guys-node

v1.3.1

Published

Um módulo para Node para interagir com o servidor do Stumble Guys.

Downloads

2

Readme

Stumble Guys NODE

Utilize esse módulo para interagir com o servidor do jogo Stumble Guys.

🚀 Como Instalar

npm i stumble-guys-node

💎 Como utilizar

  • 🇧🇷 - Verificando todos os torneios do jogo (agendado/já no jogo)
  • 🇺🇸 - Checking all in-game tournaments (scheduled/already in-game)
const StumbleGuys = require('stumble-guys-node');
const sg = new StumbleGuys();

let server = "sa";
// Servidor que você deseja ver os torneios (VAZIO = TODOS)

await sg.getTournamentsList(server) // Retorna um array com todos o torneios
    .then(response => {
        console.log(`Torneios:\n${response.map(x => `${x.tournamentName} [${x.tournamentIcon}]`)}`);
    });
  • 🇧🇷 - Conseguindo as informações da conta (nickname/id e etc) pelo accessToken.
  • 🇺🇸 - Getting account information (nickname/id and etc) by accessToken.
const StumbleGuys = require('stumble-guys-node');
const sg = new StumbleGuys();

await sg.accountInfo("accessToken")
    .then(response => {
        // Resposta de exemplo:
        // Example answer:
        {
            "createdAt": "2023-03-238T18:50:51.145Z",
            "firstname": null,
            "lastname": null,
            "nick": "Nick da Conta",
            "nickhashnumber": 611,
            "id": "1234567890",
            "rank": 0,
            "ntfupdatedat": null,
            "urpupdatedat": null,
            "ban": false,
            "worldrank": 0,
            "remainingReports": 4,
            "reportsResetAt": "2023-03-23T23:03:33.070Z",
        }
    });
  • 🇧🇷 - Trocando o nick da conta pelo accessToken, vale lembrar que isso não altera dentro do jogo, apenas no servidor do jogo (quando vão te dar ban por exemplo, tem que ser o nick que você trocar aqui.)
  • 🇺🇸 - Changing the account's nickname for the accessToken, it is worth remembering that this does not change within the game, only on the game server (when they ban you, for example, it has to be the nickname you change here.)
const StumbleGuys = require('stumble-guys-node');
const sg = new StumbleGuys();

await sg.changeNickname("accessToken")
    .then(response => {
        if (response == 200) {
            // Success ✅
        };
    });
  • 🇧🇷 - Buscando por todas as skins do jogo. [Pode ser de uma versão especifica ou de todas.]
  • 🇺🇸 - Searching for all skins in the game. [Can be a specific version or all.]
const StumbleGuys = require('stumble-guys-node');
const sg = new StumbleGuys();

await sg.skinsList("0.46")
    .then(response => {
        // Resposta de exemplo:
        // Example answer:

        [
            {
                "FriendlyName": "Dynamitron",
                "SkinID": "SKIN214",
                "Version": "0.31",
                "tier": 6
            }
        ]
    });

Em breve mais atualizações. :)