Up until now, the only API available for Campfire was Tinder, an unofficial API built in Ruby On Rails.
But now there's Ice Cube, which makes it possible to print data from a php script to a room in Campfire. Features include: join room, send message (incl. paste), and leave room.
Sample usage:
$icecube = new icecube('http://[account].campfirenow.com', 'email', 'password'); $icecube->login(); $icecube->joinRoom(1); // Change 1 to the id of your room $icecube->speak("Hello World", 1); // Say Hello World in room_id 1 $icecube->leaveRoom(1); $icecube->logout();
Ice Cube is a mimmin production. If you use it in an interesting way, let us know.