Skip to content

Commit f835921

Browse files
Initial implementation of seasons/episodes
Add details regarding seasons and their episodes. Since all contain their offers, the resulting objects can get *large*.
1 parent 2823f41 commit f835921

9 files changed

Lines changed: 15084 additions & 1318 deletions

File tree

examples/details_output.py

Lines changed: 446 additions & 529 deletions
Large diffs are not rendered by default.

examples/details_output_show.py

Lines changed: 12843 additions & 0 deletions
Large diffs are not rendered by default.

examples/offers_for_countries_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Output from command:
22
# offers_for_countries("tm10", {"US", "GB", "FR"}, "en", True)
33

4-
from simplejustwatchapi.query import Offer, OfferPackage
4+
from simplejustwatchapi import Offer, OfferPackage
55

66
result = {
77
"GB": [

examples/search_output.py

Lines changed: 588 additions & 712 deletions
Large diffs are not rendered by default.

examples/search_output_show.py

Lines changed: 744 additions & 0 deletions
Large diffs are not rendered by default.

src/simplejustwatchapi/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
from simplejustwatchapi.justwatch import details as details
44
from simplejustwatchapi.justwatch import offers_for_countries as offers_for_countries
55
from simplejustwatchapi.justwatch import search as search
6+
from simplejustwatchapi.query import Episode as Episode
7+
from simplejustwatchapi.query import Interactions as Interactions
68
from simplejustwatchapi.query import MediaEntry as MediaEntry
79
from simplejustwatchapi.query import Offer as Offer
810
from simplejustwatchapi.query import OfferPackage as OfferPackage
11+
from simplejustwatchapi.query import Scoring as Scoring
12+
from simplejustwatchapi.query import Season as Season
13+
from simplejustwatchapi.query import StreamingCharts as StreamingCharts

0 commit comments

Comments
 (0)