1. Go to this page and download the library: Download johnrivs/wunderlist library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
johnrivs / wunderlist example snippets
use JohnRivs\Wunderlist\Wunderlist;
$clientId = 'THE_CLIENT_ID';
$clientSecret = 'THE_CLIENT_SECRET';
$accessToken = 'THE_ACCESS_TOKEN';
$w = new Wunderlist($clientId, $clientSecret, $accessToken);
$w->getCurrentUser();
$state = md5(time());
// Store the $state to retrieve it later
// Redirect the user to:
$w->authUrl($state, 'http://your-domain.com/auth/callback')
$accessToken = $w->getAuthToken($_GET['code']);
// Get all tasks for a given list
$wunderlist->getTasks(['list_id' => 9876]);
// Get all lists
$wunderlist->getLists();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.