PHP code example of podcastindex / podcastindex-php
1. Go to this page and download the library: Download podcastindex/podcastindex-php 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/ */
podcastindex / podcastindex-php example snippets
$client = new PodcastIndex\Client([
'app' => 'AppName',
'key' => $key,
'secret' => $secret
]);
$searchResult = $client->search->byTerm('batman university')->json();
$podcasts = $client->podcasts->byFeedUrl('https://feeds.theincomparable.com/batmanuniversity')->json();
json
""podcastindex/podcastindex-php": "~1.0"
}