PHP code example of brewdotcom / podcastcrawler
1. Go to this page and download the library: Download brewdotcom/podcastcrawler 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/ */
brewdotcom / podcastcrawler example snippets
// Require the composer auto loader
odcastCrawler\Provider\Itunes;
$PodcastCrawler = new PodcastCrawler(new Itunes);
$PodcastCrawler->get('nerdcast');
// Returns an array with search result (result count and a list with podcasts).
$PodcastCrawler->limit(2)->get('dev');
// Returns an array with 2 (two) items. Result count is also