Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.
John Rivs edited this page Aug 8, 2015 · 4 revisions

List

Method Description Arguments
getLists Show all the lists a user has access to
getList Show a list int $listId
createList Create a new list array $attributes = []
updateList Update a list int $listId array $attributes = []
publishList Make a list public int $listId array $attributes = []
deleteList Delete a list int $listId array $attributes = []

Examples

$w->getLists();

$w->getList('1234');

$w->createList([
    'title' => 'Groceries'
]);

$w->updateList(1234, [
    'title' => 'Gym routines'
]);

$w->publishList(1234, [
    'public' => true
]);
$w->publishList(1234, [
    'public' => false
]);

$w->deleteList(1234);
Clone this wiki locally