Overview

Namespaces

  • JohnRivs
    • Wunderlist

Classes

  • Wunderlist

Traits

  • Authorization
  • Avatar
  • Comment
  • File
  • Folder
  • Lists
  • Note
  • Reminder
  • Subtask
  • Task
  • User
  • Webhook
  • Overview
  • Namespace
  • Class

Class Wunderlist

JohnRivs\Wunderlist\Wunderlist uses JohnRivs\Wunderlist\Authorization, JohnRivs\Wunderlist\Avatar, JohnRivs\Wunderlist\File, JohnRivs\Wunderlist\Folder, JohnRivs\Wunderlist\Lists, JohnRivs\Wunderlist\Note, JohnRivs\Wunderlist\Reminder, JohnRivs\Wunderlist\Subtask, JohnRivs\Wunderlist\Task, JohnRivs\Wunderlist\Comment, JohnRivs\Wunderlist\User, JohnRivs\Wunderlist\Webhook
Namespace: JohnRivs\Wunderlist
Located at Wunderlist.php
Methods summary
public
# __construct( $clientId, $clientSecret, $accessToken, $useExceptions = true )
public array
# call( string $httpMethod, string $endpoint, array $parameters = [] )

Master call. It makes the requests to the Wunderlist API endpoints.

Master call. It makes the requests to the Wunderlist API endpoints.

Parameters

$httpMethod
$endpoint
$parameters

Returns

array
public integer
# getStatusCode( )

Get the HTTP status code from the last response.

Get the HTTP status code from the last response.

Returns

integer
protected GuzzleHttp\Client
# getHttpClient( )

Get a fresh instance of the Guzzle HTTP client.

Get a fresh instance of the Guzzle HTTP client.

Returns

GuzzleHttp\Client
protected array
# getHeaders( )

The headers needed for (almost) every request to the Wunderlist API.

The headers needed for (almost) every request to the Wunderlist API.

Returns

array
protected Exception|boolean
# requires( array $requirements, array $attributes, boolean $exception,… )

Checks if the provided attributes contain certain fields.

Checks if the provided attributes contain certain fields.

Parameters

$requirements
A list of required attributes.
$attributes
The provided attributes
$exception,…
Call exception or return boolean.

Returns

Exception|boolean
Methods used from JohnRivs\Wunderlist\Authorization
authUrl(), getAuthToken()
Methods used from JohnRivs\Wunderlist\Avatar
getAvatar()
Methods used from JohnRivs\Wunderlist\File
createFile(), deleteFile(), getFile(), getFiles()
Methods used from JohnRivs\Wunderlist\Folder
createFolder(), deleteFolder(), getFolder(), getFolderRevisions(), getFolders(), updateFolder()
Methods used from JohnRivs\Wunderlist\Lists
createList(), deleteList(), getList(), getLists(), publishList(), updateList()
Methods used from JohnRivs\Wunderlist\Note
createNote(), deleteNote(), deleteNotes(), getNote(), getNotes(), updateNote()
Methods used from JohnRivs\Wunderlist\Reminder
getReminders()
Methods used from JohnRivs\Wunderlist\Subtask
createSubtask(), deleteSubtask(), getSubtask(), getSubtasks(), updateSubtask()
Methods used from JohnRivs\Wunderlist\Task
createTask(), deleteTask(), getTask(), getTasks(), updateTask()
Methods used from JohnRivs\Wunderlist\Comment
createComment(), getComment(), getComments()
Methods used from JohnRivs\Wunderlist\User
getCurrentUser(), getUsers()
Methods used from JohnRivs\Wunderlist\Webhook
createWebhook(), deleteWebhook(), deleteWebhooks(), getWebhooks()
Properties summary
protected string $baseUrl

Base URL for the Wunderlist API.

Base URL for the Wunderlist API.

# 'http://a.wunderlist.com/api/v1/'
protected integer $statusCode

HTTP status code returned by each request.

HTTP status code returned by each request.

#
protected Guzzlehttp\Client $http

HTTP Client.

HTTP Client.

#
public string $clientId

The Wunderlist app client id.

The Wunderlist app client id.

#
public string $clientSecret

The Wunderlist app client secret.

The Wunderlist app client secret.

#
protected string $accessToken

The Wunderlist app access token.

The Wunderlist app access token.

#
protected boolean $useExceptions

Whether or not the package should throw exceptions when parameters are missing.

Whether or not the package should throw exceptions when parameters are missing.

#
API documentation generated by ApiGen