Existing Users


PHP Client Package / Examples

Get a list of pages

   $bb = new Services_BitsyBox("$key","$secret");

 $pages = $bb->getPages();

 foreach ( $pages as $page ) {
 echo $page->name;

Get a field from a page

   $bb = new Services_BitsyBox("$key","$secret");

   $page = $bb->getPage(array('id'=>"<PageId>"));
   echo $bb->getField("<FieldName>")->value;

Get all fields in a module

   $bb = new Services_BitsyBox("$key","$secret");

   $module = $bb->getModule(array('id' => "<ModuleId>") );

   $fields = $module->getFirstItem()->getFields();

   foreach ( $fields as $field ) { 
  echo $field->name . " = " . $field->value . "<br>";

About BitsyBox

BitsyBox is a hosted content storage platform that offers two products that work in perfect harmony. The first is an easy-to-use web interface that lets site owners edit and update their content. The second is a robust API for developers to quickly access that content from their website or application code.


We've fully documented BitsyBox to make it easy -- so easy in fact, we guarantee you can integrate a new or existing website in just a few minutes. More Support


Check out our library of streaming videos, professionally produced to help guide you through your integration with BitsyBox.
View Screencasts

© Copyright 2009 BitsyBox LLC - Terms of Service - Privacy - Service Status