PHP code example of localdisk / nhk

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

    

localdisk / nhk example snippets




$api = NHK\Api();

// \Guzzle\Http\Message\Response を戻すので加工はご自由に
$list = $api->getList('130', 'g1', '2014-01-26');

bash
# Install Composer
curl -sS https://getcomposer.org/installer | php

# Add NHK API を