Random Xbox Stuff

djekl’s Gamertag API v2 [JSON ONLY]

OK so I have recently recoded the API with a few extra features. And because many of you are already using this I didn’t want to mess to much with the v1.
Well all I am going to say is here is the link, have fun.
https://www.djekldev.co.uk/card/v2

This version is now using a cache system that will update if the cache is older than an hour. This means for you faster results.

djekl’s XBOX Gamertag API

OK so a long time ago Duncan Mackenzie created his RESTFUL API for Xbox Gamertag Data.
Unfortunately, as time has come to pass, Microsoft have updated their site and servers, thus meaning that this service no longer works.

A while ago I was looking into creating my own by reading the RAW HTML from the OFFICIAL XBOX Gamercard. For this method I was using the php function “str_replace()”, this worked but was not efficient or sufficient to get all the information from it cleanly.

So the other day (when I had all but given up on this personal project) I happened to find this PHP Simple HTML DOM Parser over at SourceForge.
Once I found this everything fell into place. With this you can read sections of the data to just extract what you want.

Eventually after a few days of work I have created this djekl’ XBOX Gamertag API. This simply reads all the information from the OFFICIAL XBOX Gamercard and outputs it in a useful XML format for usage.

I may release the full source here on my blog but not sure yet. Still trying to get into the Xbox Developer program since they opened it up to the UK.

So what do you think?

Update:

As a few of you have asked how to use XML in PHP here is an example I created a while ago for a different project. You will need to use cUrl to read the XML from my site.

BFBC2 Stats

bfbc2 logo header




OK so yesterday I woke up to a Message on Facebook from my friend SAS Chimera saying to look at my stats on Battlefield Bad Company 2.



Well that score was as follows:
djekl (me) = 199
SAS Chimera = 200 (MAX)
xx SwiTcHed xx = 200 (MAX)
Gangster James = 189





So this has lead me to find a stats engine so I don’t need to keep looking on the xbox to see my stats.
Here are the links xD
djekl (me)
SAS Chimera
xx SwiTcHed xx
Gangster James


bfbc2 logo footer