69 if not isinstance(id, int):
70 raise TypeError("id must be an integer")
71
72 url = "https://quizlet.com/webapi/3.4/studiable-item-documents?filters[studiableContainerType]=1"73 url_fragments = list(urlparse.urlparse(url))
74
75 query = dict(urlparse.parse_qsl(url_fragments[4]))
36 "Page number is greater than 1 yet no paging token is provided. This may cause a 400 error."
37 )
38
39 url = "https://quizlet.com/webapi/3.4/studiable-item-documents?filters[studiableContainerType]=1"40 url_fragments = list(urlparse.urlparse(url))
41
42 query = dict(urlparse.parse_qsl(url_fragments[4]))
33
34 if page > 1 and paging_token is None:
35 warn(
36 "Page number is greater than 1 yet no paging token is provided. This may cause a 400 error."37 )
38
39 url = "https://quizlet.com/webapi/3.4/studiable-item-documents?filters[studiableContainerType]=1"
517 )
518 if not ("height" in media and isinstance(media["height"], int)):
519 raise TypeError(
520 f"cardSides[{i}].media[{j}] must contain height and it must be an integer"521 )
522
523 effective_media.append(
513 )
514 if not ("width" in media and isinstance(media["width"], int)):
515 raise TypeError(
516 f"cardSides[{i}].media[{j}] must contain width and it must be an integer"517 )
518 if not ("height" in media and isinstance(media["height"], int)):
519 raise TypeError(
Line length greater than configured max_line_length
detected, defaults to 79 character. This limit can be configured docs