WiiID Logo

Your WiiID is:

WiiID is a web-based service which allows for the unique identification of a Nintendo Wii through the built-in Opera web browser. This allows for web based applications to save data from one session to the next without the use of usernames and passwords that can be tedious to enter on each use.

How does it work?

Through a simple Javascript include, a variable is set that can be accessed from the calling page that contains a unique 8 character identifier. Each Wii has its own ID and it maintains this ID unless purposely erased from the Wii's memory.

The ID is alpha-numeric. It contains no O's, 0's, 1's, or I's to avoid confusion when writing. An ID for a Wii may look like 7U3F-AB93.

When a non-Wii device tries to access the ID, it will always get the ID of 0000-0000.

Installation and Use

Using WiiID in your application is extremely simple. Simply throw this HTML on your page, preferably between <head> and </head>:

<script type="text/javascript" src="http://wiiid.musatcha.com/app/getinfo.php"></script>

From there, a Javascript variable, WiiID, can be accessed in any way you'd like. For example...

<script type="text/javascript">
   document.write(WiiID);
</script>

Use in Flash / ActionScript

You can get the WiiID variable by calling loadVaribles(), something like this:

loadVariables("http://wiiid.musatcha.com/app/getinfo.php?mode=flashvars", "");

This will set the variable WiiID to whatever the WiiID is. When testing, be sure to remember that loadVariables() is asynchronous and your code will continue to run even if the call to loadVariables() is not finished. For any application where this is important, it is recommend you use the LoadVars object instead.

Getting Help

Please feel free to send me an e-mail at brad@musatcha.com when you start to use this on your application. I'd be happy to assist, and would like to hear about your project.