Skip to content

tambu22/steamcommunity-mobile-confirmations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steamcommunity Mobile Confirmations

npm version npm downloads license

This lightweight module allows you to automate Steamcommunity mobile confirmations in Node.js.

Usage is simple:

var SteamcommunityMobileConfirmations = require('steamcommunity-mobile-confirmations');
var steamcommunityMobileConfirmations = new SteamcommunityMobileConfirmations(
{
	steamid:         this.steam.steamID,
	identity_secret: this.identity_secret,
	device_id:       this.device_id,
	webCookie:       webCookie,
});
steamcommunityMobileConfirmations.FetchConfirmations((function (err, confirmations)
{
	if (err)
	{
		console.log(err);
		return;
	}
	console.log('steamcommunityMobileConfirmations.FetchConfirmations received ' + confirmations.length + ' confirmations');
	if ( ! confirmations.length)
	{
		return;
	}
	this.steamcommunityMobileConfirmations.AcceptConfirmation(confirmations[0], (function (err, result)
	{
		if (err)
		{
			console.log(err);
			return;
		}
		console.log('steamcommunityMobileConfirmations.AcceptConfirmation result: ' + result);
	}).bind(this));
}).bind(this));

About

Allows you to automate Steamcommunity mobile confirmations in Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%