+ Post New Thread
Results 1 to 8 of 8
Coding Thread, Programatically Retrieving Xbox Live/Gamertag Data in Coding and Web Development; Anybody know how you do it or have a link to any documentation? Tried Google but I'm getting a bit ...
  1. #1

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,494
    Thank Post
    1,452
    Thanked 1,197 Times in 812 Posts
    Rep Power
    711

    Programatically Retrieving Xbox Live/Gamertag Data

    Anybody know how you do it or have a link to any documentation?

    Tried Google but I'm getting a bit sick of trawling through page upon page of Xbox fan sites with sweet FA on them...

  2. #2
    jc1875's Avatar
    Join Date
    Feb 2009
    Posts
    128
    Thank Post
    9
    Thanked 23 Times in 19 Posts
    Rep Power
    15
    I know the following urls for displaying gamer card and avatar:
    Code:
    http://gamercard.xbox.com/<gamertag>.card
    http://avatar.xboxlive.com/avatar/<gamertag>/avatar-body.png
    http://avatar.xboxlive.com/avatar/<gamertag>/avatarpic-s.png
    http://avatar.xboxlive.com/avatar/<gamertag>/avatarpic-l.png
    ie
    Code:
    http://gamercard.xbox.com/jonty.card
    http://avatar.xboxlive.com/avatar/jonty/avatar-body.png
    http://avatar.xboxlive.com/avatar/jonty/avatarpic-s.png
    http://avatar.xboxlive.com/avatar/jonty/avatarpic-l.png
    gives:
    http://gamercard.xbox.com/jonty.card

    Last edited by jc1875; 17th June 2010 at 10:03 AM. Reason: Updated with additional links - thanks to rlweb for large link

  3. 2 Thanks to jc1875:

    LosOjos (16th June 2010), SYNACK (16th June 2010)

  4. #3

    john's Avatar
    Join Date
    Sep 2005
    Location
    London
    Posts
    10,619
    Thank Post
    1,499
    Thanked 1,053 Times in 922 Posts
    Rep Power
    304
    really is it that simple:



    hmmm seemingly not for some reason :S

    Yet the card works fine
    http://gamercard.xbox.com/johsmi.card
    Last edited by john; 15th June 2010 at 09:27 PM.

  5. #4

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,494
    Thank Post
    1,452
    Thanked 1,197 Times in 812 Posts
    Rep Power
    711
    Quote Originally Posted by jc1875 View Post
    I know the following urls for displaying gamer card and avatar:
    Code:
    http://gamercard.xbox.com/<gamertag>.card
    http://avatar.xboxlive.com/avatar/<gamertag>/avatar-body.png
    ie
    Code:
    http://gamercard.xbox.com/jonty.card
    http://avatar.xboxlive.com/avatar/jonty/avatar-body.png
    gives:
    http://gamercard.xbox.com/jonty.card
    Thanks, I have seen those sites, but what I'm really interested in is the code used to make those sites, how do they retrieve the data from the Live server?

  6. #5
    jc1875's Avatar
    Join Date
    Feb 2009
    Posts
    128
    Thank Post
    9
    Thanked 23 Times in 19 Posts
    Rep Power
    15
    from the scripts i've seen, they take the .card file and mine the data from it.
    Here's a php example used with vBulletin:
    gXboxLive - Xbox Live Leaderboard - vBulletin.org Forum

  7. Thanks to jc1875 from:

    LosOjos (17th June 2010)

  8. #6

    Join Date
    Sep 2009
    Posts
    47
    Thank Post
    6
    Thanked 11 Times in 10 Posts
    Rep Power
    12
    You can get data from http://xboxapi.duncanma ckenzie.net/gamertag.ashx?GamerTag=GAMERTAG (remove space)
    I've just made a website that tracks my friends Xbox usage, its surprising how much they use it.
    Last edited by rlweb; 16th June 2010 at 11:59 PM. Reason: to show the url

  9. Thanks to rlweb from:

    LosOjos (17th June 2010)

  10. #7
    jc1875's Avatar
    Join Date
    Feb 2009
    Posts
    128
    Thank Post
    9
    Thanked 23 Times in 19 Posts
    Rep Power
    15
    I thought I'd erad a post that the duncan mackenzie service had stopped working. obviously fixed now
    another avatar pic i'd missed - the small avatar
    Code:
    http://avatar.xboxlive.com/avatar/<gamertag>/avatarpic-s.png
    so
    Code:
    http://avatar.xboxlive.com/avatar/jonty/avatarpic-s.png
    gives

  11. Thanks to jc1875 from:

    LosOjos (17th June 2010)

  12. #8

    Join Date
    Sep 2009
    Posts
    47
    Thank Post
    6
    Thanked 11 Times in 10 Posts
    Rep Power
    12
    Large is available too
    Quote Originally Posted by jc1875 View Post
    I
    Code:
    http://avatar.xboxlive.com/avatar/<gamertag>/avatarpic-l.png

  13. 2 Thanks to rlweb:

    jc1875 (17th June 2010), LosOjos (17th June 2010)

SHARE:
+ Post New Thread

Similar Threads

  1. Xbox 360 Gamertags
    By ZeroHour in forum Gaming
    Replies: 151
    Last Post: 3rd June 2014, 06:50 PM
  2. XBox Live Wireless problems
    By elsiegee40 in forum Gaming
    Replies: 17
    Last Post: 5th July 2011, 09:47 AM
  3. Xbox Live - 1vs100
    By kearton in forum Gaming
    Replies: 1
    Last Post: 28th January 2010, 01:56 PM
  4. fifa 09 - xbox live
    By Abcos in forum Gaming
    Replies: 8
    Last Post: 8th September 2009, 09:08 AM
  5. [For Sale] Xbox 360 + 17 Games + 2 Controllers + 1 Month Xbox Live
    By mossj in forum Classified Adverts
    Replies: 4
    Last Post: 19th July 2009, 10:00 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •