podcastindex / podcastindex-php
A PHP wrapper for the PodcastIndex API.
Installs: 5 003
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- guzzlehttp/guzzle: ^6.3
This package is auto-updated.
Last update: 2024-10-11 17:10:48 UTC
README
A PHP wrapper for the PodcastIndex API.
Installation
Install the library using Composer. Please read the Composer Documentation if you are unfamiliar with Composer or dependency managers in general.
"require": { "podcastindex/podcastindex-php": "~1.0" }
Example usage
See the PodcastIndex Documention for all available methods.
$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();
If an endpoint is not (yet) available in this library, you can always manually call $client->get('/full/endpoint/url/', $query)
for a manual interface.