@@ -65,6 +65,7 @@ based on a given title.
6565from simplejustwatchapi import search
6666
6767results = search(" The Matrix" , " US" , " en" , 5 , True , 0 , [" nfx" , " apv" ])
68+
6869for entry in results:
6970 print (entry.title, entry.offers)
7071```
@@ -97,6 +98,7 @@ currently popular titles.
9798from simplejustwatchapi import popular
9899
99100results = popular(" US" , " en" , 5 , True , 0 , [" nfx" , " apv" ])
101+
100102for entry in results:
101103 print (entry.title, entry.offers)
102104```
@@ -126,6 +128,7 @@ for a single entry via its node ID.
126128from simplejustwatchapi import details
127129
128130result = details(" tm19698" , " US" , " en" , False )
131+
129132print (result.title, result.short_description)
130133```
131134
@@ -165,6 +168,7 @@ for all seasons of a TV show based on its node ID.
165168from simplejustwatchapi import seasons
166169
167170results = seasons(" tss20091" , " US" , " en" , True )
171+
168172for season in results:
169173 print (season.season_number, season.total_episode_count)
170174```
@@ -185,6 +189,7 @@ details for all episodes of a single TV show season based on its node ID.
185189from simplejustwatchapi import episodes
186190
187191results = episodes(" tse334769" , " US" , " en" , False )
192+
188193for episode in results:
189194 print (episode.episode_id, episode.episode_number, episode.offers)
190195```
@@ -211,6 +216,7 @@ Only offers are returned, not additional data.
211216from simplejustwatchapi import offers_for_countries
212217
213218results = offers_for_countries(" tm10" , {" US" , " UK" , " CA" }, " en" , True )
219+
214220for country, offers in results.items():
215221 print (f " Offers for { country} : " )
216222 for offer in offers:
@@ -233,6 +239,7 @@ given country.
233239from simplejustwatchapi import providers
234240
235241results = providers(" US" )
242+
236243netflix_apple_only = [
237244 provider
238245 for provider in all_providers
0 commit comments