Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bundlecamper-xbox-live-module

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bundlecamper-xbox-live-module

A utility for fetching xbox live gamer data

  • 0.0.11-alpha
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

xbox-live.js

An NPM for fetching xbox live player data

Usage

First include the module:

var XBoxLive = require('xbox-live');

then, instantiate the object:

var api = new XBoxLive();

now you can fetch a profile:

api.fetch('profile', 'Major+Nelson', function(err, data){
    //do stuff
});

or games:

api.fetch('games', 'Major+Nelson', function(err, data){
    //do stuff
});

or friends:

api.fetch('friends', 'Major+Nelson', function(err, data){
    //do stuff
});

or achievements (for a particular xbl game id):

api.fetch('achievements', 'Major+Nelson', 1096157139, function(err, data){
    //do stuff
});

In an attempt to be less prone to breakage there are two sources: the default, xboxleaders.com and xboxapi.com, which seems to enforce stricter limits. If more pop up, I will likely add them, too. xboxleaders has been updated to their new format, but be warned: their service has become extremely flakey and when it fails, it claims the user doesn't exist on XBL :P but it's up-to-date with less dependencies.

Testing

Run the tests at the project root with:

mocha

Enjoy,

-Abbey Hawk Sparrow

Keywords

FAQs

Package last updated on 24 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc