Topic: Nabaztag PHP class

Hi all,

last year I have created a PHP class for communicating with a Nabaztag rabbit. In the past weeks I have received a few emails about it, so I have put a new version online which may be interesting to you if you want to control the rabbit via your PHP scripts.

At the moment, the class exposes almost all functions of the Nabaztag API, except for streaming mp3s, as I do not have a Nabaztag/tag and cannot test on it. However I've sent some emails around so hopefully I can add this functionality shortly.

You can find the latest version of the class and the necessary instructions at: http://tmp.lfms.nl/nabaztag/

If you have PEAR installed on your server, installing the Nabaztag PEAR package is easy. (It is also possible to use the class without having PEAR, but you have to upload the PHP files in the package manually, and you also need to download the PEAR HTTP_Request package and upload those PHP files as well. I could make a small how-to if people want it.)

In directory http://tmp.lfms.nl/nabaztag/current/_examples/ you can find some simple usage examples for the PHP class, including a script that checks new mails.

A full description of all the available functions can be seen in the generated at documentation http://tmp.lfms.nl/nabaztag/current/_do … od-summary

I have proposed the class for inclusion in PEAR when it's finished, although I don't know if there is sufficient interest within the PEAR community to add it. Anyway, you can already use it right now.

Any comments and test reports will be appreciated.

Cheers,
lifeforms