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 11, 2015 · 1 revision

https://developer.wunderlist.com/documentation/endpoints/avatar

Method Description Arguments
getAvatar Show the avatar URL of a given user array $attributes = []

Examples

$w->getAvatar(); // the current user's avatar

$w->getAvatar([
    'user_id' => 7
]);

$w->getAvatar([
    'user_id' => 7,
    'size' => 128
]);

$w->getAvatar([
    'user_id' => 7,
    'size' => null,
    'fallback' => true
]);
Clone this wiki locally