Code Monkey home page Code Monkey logo

node.js-steam-idling's Introduction

Node.js - node-steam Node.jssteam-ico

node-steam est une alternative au SteamKit2. Il vous permet d'intéragir avec le réseau Steam sans avoir de client steam. Souvent utilisé pour des tâches automatisés ou des bot.

Requièrement

Vous devez installer :

Installation

Pour pouvoir utiliser Node.js-Steam-Idling vous devez installer Node.js. Ouvez "Node.js command prompt" et saisissez

npm install steam

Note: Le chemin d'accès sera le suivant:

node-modules/steam/

Installez "Idling.js" dans:

node-modules/steam/Idling.js

Créez un fichier batch

cd C:\User\User\node-modules\steam\
node Idling.js

Synthax requise en début de fichier

Premièrement, require module.

var Steam = require('steam');

steam est maintenant un espace de nom (implémenté comme objet) il contient la class SteamClient, la propriété servers, et une grande collection d'instances sont implémentés comme objet.

Si l'on veut créer une instance de SteamClient, on appel la méthode logON

var bot = new Steam.SteamClient();
bot.logOn({
  accountName: 'username',
  password: 'password'
});
bot.on('loggedOn', function() { /* ... */});

node.js-steam-idling's People

Contributors

nathanagez avatar

Watchers

 avatar  avatar

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.