Podcast Crawler is a library that enables the search for podcasts to get details and mp3 files through API providers.
Table of Contents
- Simple API
- Fully documented
- Fully unit tested
- Search podcasts on multiple API providers
- Search for podcasts by Term
- Get details and mp3 files through from podcast's RSS
You need PHP >= 5.4.0 to use
podcastcrawler/podcastcrawler, but the latest stable version of PHP is recommended.
Podcast Crawler is verified and tested on PHP 5.4, 5.5, 5.6 and 7.0.
It's necessary have installed Tidy library.
podcastcrawler/podcastcrawler using Composer:
$ composer require podcastcrawler/podcastcrawler
<?php // Require the composer auto loader require 'vendor/autoload.php'; use PodcastCrawler\PodcastCrawler; use PodcastCrawler\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 included. $PodcastCrawler->find('https://jovemnerd.com.br/feed-nerdcast/'); // Returns an array with the podcast's detail and episodes with its mp3 files.
See the full API through this link.
We are so excited that you want contribute with the project! Follow these recommendations.
Podcast Crawler is open-sourced software licensed under the MIT License (MIT). Please see LICENSE for more information.