Download Horizon :: Staff Members :: TheTechGame.com :: XboxMB YouTube


Old 12-11-2011   #11 (permalink)
Regular Member
sgt frankieboy's Avatar
Join Date: Nov 2010
Location: Netherlands
Posts: 2,391
Thanks: 1,738
Default Re: Parse XboxMB's API.

Since the API is updated. I have changed my XboxMB API class here are they:



You can use it like:
PHP Code:
require_once "XboxMB.php"

$user = new XboxMB("[USERNAME]"); 

echo(
$user->Username " his post count is " $user->Posts "<br />"); 

$user->Load("[USERNAME]"); 

echo(
$user->Username " his post count is " $user->Posts); 
You can see a demo of this Class in action @ http://visualbounds.com/XboxMB/

Updates:
  • Joined Added
  • TimeZone Added
  • Minecraft Added
  • Usernames with spaces work now.
  • Can retrieve data using Minecraft name now.
  • Added a Demo
__________________


Minecraft World Editor - [BETA] YTMP
Programming Resources

Quote:
Originally Posted by Rich Cook
Programming today is a race between software engineers striving to build bigger and better
idiot-proof programs, and the Universe trying to produce bigger and better idiots.
So far, the Universe is winning.

Last edited by sgt frankieboy; 12-11-2011 at 03:00 PM.
sgt frankieboy is online now Send a message via ICQ to sgt frankieboy Send a message via AIM to sgt frankieboy Send a message via MSN to sgt frankieboy Send a message via Yahoo to sgt frankieboy Send a message via Skype™ to sgt frankieboy
Reply With Quote
The following users thanked this post: Jeremy Q, lbjdaking, RZRClanLeader, Supporter

Reply

Tags
api, php, xboxmb api

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:16 AM.


 

Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
COPYRIGHT (c) 2010 - 2012 - XboxMB - DESIGN BY:
EDENWEBS.COM