Piwik Bulk API Request

I am trying to use the bulk API request for php, but I can’t find any examples or get it to work. I can get it to work over the REST API, but I can’t get it to convert. Here are the two requests I am trying to make for demonstration.

    $request = new Piwik_API_Request('

$result = $request->process();
echo $result;

See the doc at: http://piwik.org/docs/tracking-api/reference/#toc-advanced-bulk-tracking-requests