PHP code example of drizzle / wallpaper-api

1. Go to this page and download the library: Download drizzle/wallpaper-api 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/ */

    

drizzle / wallpaper-api example snippets


use Drizzle\Wallpaper\Bing;

$bing = new Bing();

$response = $bing->todayWallpaper();

$response = $bing->recentWallpapers($start,$count);

$response = $bing->todayWallpaper('xml');
 
use Drizzle\Wallpaper\Zero;

$zero = new Zero();
 
$response = $zero->getCategories();
 
$response = $zero->getAppsByCategory($cid,$page,$count)
 
$response = $zero->getAppsNews($page,$count)