Working with Pulses - allejo/PhpPulse GitHub Wiki
For a complete reference to the Pulse object, please visit the official documentation.
Creating a New Pulse
Creating a pulse can only be done by first creating an object to access a board. From that object, you may then create a pulse with the createPulse()
method; this method will return a Pulse object on completion.
$board = new PulseBoard(1234, true);
$pulse = $board->createPulse(
'My Pulse Title',
56789,
'group_id',
"Text that will be added as an update when this Pulse is created"
);
Adding Information to a Pulse
Setting a Column Value
$pulse = new Pulse(12345, true);
// Get the current value
$currentValue = $pulse->getStatusColumn('status_id')->getValue();
// Set a new column value
$pulse->getStatusColumn('status_id')->updateValue(PulseColumnStatusValue::Blue);