File: docs/reminder.rst

Recommend this page to a friend!
  Classes of Italo Lelis de Vietro  >  PHP Wunderlist API  >  docs/reminder.rst  >  Download  
File: docs/reminder.rst
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Wunderlist API
Manage user lists using the Wunderlist API
Author: By
Last change:
Date: 5 years ago
Size: 820 bytes
 

Contents

Class file image Download
=========
Reminders
=========

Provides methods for easy access to reminders data.

Create an instance of the Reminder service

.. code-block:: php

    $remindersService = $wunderlist->getReminders();

Get all lists for a user

.. code-block:: php

    $user = $userService->current();
    $lists = $listsService->forUser($user);

Get a specific list

.. code-block:: php

    $list = $listsService->getID(777);

Create a list

.. code-block:: php

    $list = new Wunderlist\Entity\List();
    $list->setTitle('Bad Movies');
    $listsService->create($list);

Update a list

.. code-block:: php

    $list = $listsService->getID(777);
    $list->setTitle('Good Bad Movies');
    $listsService->update($list);

Delete a list

.. code-block:: php

    $list = $listsService->getID(777);
    $listsService->delete($list);

For more information send a message to info at phpclasses dot org.