Skip to content

Commit 9e77ef2

Browse files
committed
Update README.md
1 parent 88d9655 commit 9e77ef2

File tree

1 file changed

+76
-3
lines changed

1 file changed

+76
-3
lines changed

README.md

Lines changed: 76 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ The ENTERPRISE plan allows to see up to 10,000 search results (or `offset` <
150150
Example:
151151
```php
152152

153+
<?php
154+
155+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
156+
153157
define( '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.
983987
Example:
984988
```php
985989

990+
<?php
991+
992+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
993+
986994
define( '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
11881196
Example:
11891197
```php
11901198

1199+
<?php
1200+
1201+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
1202+
11911203
define( '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.
17371749
Example:
17381750
```php
17391751

1752+
<?php
1753+
1754+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
1755+
17401756
define( '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
21392155
Example:
21402156
```php
21412157

2158+
<?php
2159+
2160+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
2161+
21422162
define( '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.
23062326
Example:
23072327
```php
23082328

2329+
<?php
2330+
2331+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
2332+
23092333
define( '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/
24932517
Example:
24942518
```php
24952519

2520+
<?php
2521+
2522+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
2523+
24962524
define( '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...) &amp; country names (
38093837
Example:
38103838
```php
38113839

3840+
<?php
3841+
3842+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
3843+
38123844
define( '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.
40204052
Example:
40214053
```php
40224054

4055+
<?php
4056+
4057+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
4058+
40234059
define( '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.
46924728
Example:
46934729
```php
46944730

4731+
<?php
4732+
4733+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
4734+
46954735
define( '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
50725112
Example:
50735113
```php
50745114

5115+
<?php
5116+
5117+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
5118+
50755119
define( '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
52995343
Example:
53005344
```php
53015345

5346+
<?php
5347+
5348+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
5349+
53025350
define( '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!
64776525
Example:
64786526
```php
64796527

6528+
<?php
6529+
6530+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
6531+
64806532
define( '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/
66606712
Example:
66616713
```php
66626714

6715+
<?php
6716+
6717+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
6718+
66636719
define( '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&#x27;ll get basic
77577813
Example:
77587814
```php
77597815

7816+
<?php
7817+
7818+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
7819+
77607820
define( '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
91839243
Example:
91849244
```php
91859245

9246+
<?php
9247+
9248+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
9249+
91869250
define( '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
93009364
Example:
93019365
```php
93029366

9367+
<?php
9368+
9369+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
9370+
93039371
define( '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
93689436
Example:
93699437
```php
93709438

9439+
<?php
9440+
9441+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
9442+
93719443
define( '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.
1055910631
Example:
1056010632
```php
1056110633

10634+
<?php
10635+
10636+
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
10637+
1056210638
define( '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

Comments
 (0)