1

I'm working on an xbl stat grabber. I have a problem I dont understand how to get the "gamer card"

Heres an example : http://www.youtube.com/watch?v=6HA-uz_v6A0&feature=related

I already have the avatar but I don't get how you can grab the stats and recent games...

Xenon
  • 3,174
  • 18
  • 37
user377419
  • 4,681
  • 13
  • 42
  • 56

2 Answers2

1

You need access to the Xbox Live API, I think you have to apply to Microsoft to get on their 'Community Developer' programme, although it's a bit hazy on the site as to whether they are accepting applications or not.

One kind fellow (who I think is a Microsoft employee) saw that this was a terrible oversight from his employers decided to offer as web service that plugged into the Xbox Live network so you can pull statistics down, you can find info about it and a website here: -

http://duncanmackenzie.net/Blog/put-up-a-rest-api-for-xbox-gamertag-data

It's very comprehensive and should give you all the data you need (Gamerscore, current status, last game played etc)

EDIT: Extra stuff that might help

I'm not too familiar with C# but the process of using the service would be to do the following in your application: -

  1. Construct your URL with a/your gamertag as the argument
  2. Use some URL/Networking API (C#/.NET must have something like this somewhere) to load the URL and retrieve the contents. This should return you a big string containing a bunch of XML
  3. Parse the XML into your application using some sort of XML parsing API (again, I'd imagine C#/.NET has these things built into the framework)
djhworld
  • 6,726
  • 4
  • 30
  • 44
  • Ugh, is there a tutorial on that somewhere. I'm a noob and don't get how to implement his web service. – user377419 May 31 '10 at 18:23
  • I've added some extra material to my reply that might help – djhworld May 31 '10 at 19:14
  • You do need a private key to access the XCDP feeds; I don't believe new members are being accepted into XCDP right now (though, admittedly, I haven't developed any apps using the feeds in about a year, so I could be wrong) – James McNellis May 31 '10 at 19:16
0

From the looks of the program, the gamercard info looks as if it is just an embedding based upon the gamer tag. You can find info on embedding your Xbox Live gamercard here.

The video author said the Halo stat information is coming courtesy of a site called HaloCharts.com. I don't know if he is embedding the information, perhaps reading an RSS feed, or if he is extracting data from the HTML.

Anthony Pegram
  • 123,721
  • 27
  • 225
  • 246