@@ -150,6 +150,10 @@ The ENTERPRISE plan allows to see up to 10,000 search results (or `offset` <
150150Example:
151151```php
152152
153+ <?php
154+
155+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
156+
153157define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
154158
155159$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -983,6 +987,10 @@ Suggest search terms, podcast genres, and podcasts.
983987Example:
984988```php
985989
990+ <?php
991+
992+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
993+
986994define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
987995
988996$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -1188,6 +1196,10 @@ You can use the **next_episode_pub_date** parameter to do pagination and fetch m
11881196Example:
11891197```php
11901198
1199+ <?php
1200+
1201+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
1202+
11911203define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
11921204
11931205$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -1737,6 +1749,10 @@ Fetch detailed meta data for a specific episode.
17371749Example:
17381750```php
17391751
1752+ <?php
1753+
1754+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
1755+
17401756define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
17411757
17421758$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -2139,6 +2155,10 @@ Get a list of languages that are supported in Listen Notes database. You can use
21392155Example:
21402156```php
21412157
2158+ <?php
2159+
2160+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
2161+
21422162define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
21432163
21442164$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -2306,6 +2326,10 @@ You may want to cache the list of genres on the client side.
23062326Example:
23072327```php
23082328
2329+ <?php
2330+
2331+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
2332+
23092333define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
23102334
23112335$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -2493,6 +2517,10 @@ This endpoint returns same data as https://www.listennotes.com/best-podcasts/
24932517Example:
24942518```php
24952519
2520+ <?php
2521+
2522+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
2523+
24962524define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
24972525
24982526$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -3809,6 +3837,10 @@ It returns a dictionary of country codes (e.g., us, gb...) & country names (
38093837Example:
38103838```php
38113839
3840+ <?php
3841+
3842+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
3843+
38123844define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
38133845
38143846$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -4020,6 +4052,10 @@ Fetch up to 8 podcast recommendations based on the given podcast id.
40204052Example:
40214053```php
40224054
4055+ <?php
4056+
4057+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
4058+
40234059define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
40244060
40254061$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -4692,6 +4728,10 @@ Fetch up to 8 episode recommendations based on the given episode id.
46924728Example:
46934729```php
46944730
4731+ <?php
4732+
4733+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
4734+
46954735define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
46964736
46974737$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -5072,6 +5112,10 @@ Batch fetch basic meta data for up to 10 episodes. This endpoint could be used t
50725112Example:
50735113```php
50745114
5115+ <?php
5116+
5117+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
5118+
50755119define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
50765120
50775121$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -5299,6 +5343,10 @@ For detailed meta data (including episodes) of an individual podcast, you need t
52995343Example:
53005344```php
53015345
5346+ <?php
5347+
5348+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
5349+
53025350define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
53035351
53045352$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -6477,6 +6525,10 @@ Recently published episodes are more likely to be fetched. Good luck!
64776525Example:
64786526```php
64796527
6528+ <?php
6529+
6530+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
6531+
64806532define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
64816533
64826534$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -6660,6 +6712,10 @@ This endpoint returns same data as https://www.listennotes.com/curated-podcasts/
66606712Example:
66616713```php
66626714
6715+ <?php
6716+
6717+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
6718+
66636719define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
66646720
66656721$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -7757,6 +7813,10 @@ A bunch of curated lists from online media. For each list, you'll get basic
77577813Example:
77587814```php
77597815
7816+ <?php
7817+
7818+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
7819+
77607820define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
77617821
77627822$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -9183,6 +9243,10 @@ Podcast hosting services can use this endpoint to help your users directly submi
91839243Example:
91849244```php
91859245
9246+ <?php
9247+
9248+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
9249+
91869250define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
91879251
91889252$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -9300,6 +9364,10 @@ Podcast hosting services can use this endpoint to streamline the process of podc
93009364Example:
93019365```php
93029366
9367+ <?php
9368+
9369+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
9370+
93039371define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
93049372
93059373$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -9368,6 +9436,10 @@ You can fetch all playlists created by you, and **public** / **unlisted** playli
93689436Example:
93699437```php
93709438
9439+ <?php
9440+
9441+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
9442+
93719443define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
93729444
93739445$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -10559,6 +10631,10 @@ You can use the **page** parameter to do pagination and fetch more playlists.
1055910631Example:
1056010632```php
1056110633
10634+ <?php
10635+
10636+ require_once dirname( __FILE__ ) . '/vendor/autoload.php';
10637+
1056210638define( 'API_KEY', ( getenv( 'API_KEY' ) ? getenv( 'API_KEY' ) : null ) );
1056310639
1056410640$objClient = new ListenNotes\PodcastApiClient\PodcastApiClient( API_KEY );
@@ -10722,6 +10798,3 @@ See all available parameters on the [API Docs page](https://www.listennotes.com/
1072210798}
1072310799```
1072410800</details>
10725-
10726-
10727-
0 commit comments