@@ -53,15 +53,16 @@ it doesn't seem to be comprehensive.
5353
5454### Country
5555
56- Required pattern is two uppercase letters:
56+ Required pattern is two uppercase letters (e.g., ` US ` , ` DE ` , ` GB ` ) :
5757``` regex
5858^[A-Z]{2}$
5959```
6060
6161It looks like ** ISO 3166-1 alpha-2** standard.
6262
63- API expects only uppercase letters, however this library will automatically convert
64- country codes to uppercase.
63+ !!! tip "Country code letter case"
64+ API expects only uppercase letters, however this library will automatically convert
65+ country codes to uppercase.
6566
6667If country code doesn't match the regex, or isn't a valid code the API will respond
6768with an internal error and [ ` JustWatchApiError ` ]
@@ -70,17 +71,18 @@ with an internal error and [`JustWatchApiError`]
7071
7172### Language
7273
73- Required pattern is 2 lowercase letters with optional alphanumeric suffix after ` - ` .
74+ Required pattern is 2 lowercase letters with optional
75+ alphanumeric suffix after ` - ` (e.g., ` en ` , ` en-US ` , ` fr ` , ` de ` , ` de-CH ` , ` de-CH1901 ` ).
7476The sufix must be uppercase:
7577```
7678^[a-z]{2}(-[0-9A-Z]+)?$
7779```
7880
79- It looks like a subset of ** IETF BCP 47** . The code isn't full BCP 47 as the suffix
80- allows only for numbers and uppercase letters.
81+ It looks similar to ** IETF BCP 47** standard.
8182
82- ** The provided language isn't modified at all by this library, so it must match the
83- regex exactly, including letter case.**
83+ !!! warning "Language code letter case"
84+ The provided language isn't modified at all by this library, so it must match the
85+ regex exactly, including letter case.
8486
8587If language code doesn't match the expected regex the API will respond with an internal
8688error and [ ` JustWatchApiError ` ] [ simplejustwatchapi.exceptions.JustWatchApiError ] will be
0 commit comments